sapling/eden/scm/lib/xdiff
Stanislau Hlebik ba871d3bdc xdiff: allow rendering diff for large files
Summary:
The goal of the stack is to support "rendering" diffs for large files in scs
server. Note that rendering is in quotes - we are fine with just showing a
placeholder like "Binary file ... differs". This is still better than the
current behaviour which just return an error.

In order to do that I suggest to tweak xdiff library to accept FileContentType
which can be either Normal(...) meaning that we have file content available, or
Omitted, which usually means the file is large and we don't even want to fetch it, and we
just want xdiff to generate a placeholder.

Reviewed By: markbt, krallin

Differential Revision: D20389226

fbshipit-source-id: 0b776d4f143e2ac657d664aa9911f6de8ccfea37
2020-03-12 04:27:23 -07:00
..
src xdiff: allow rendering diff for large files 2020-03-12 04:27:23 -07:00
tests move cram from xplat/third-party to third-party 2019-12-20 16:14:17 -08:00
Cargo.toml eden/scm: cover xdiff with autocargo 2020-02-19 05:15:17 -08:00