git-lfs/fs
brian m. carlson d97c785f79
fs: specify a file as existing if it's empty
If the object has a size of zero, then we already have its object: it's
the empty file, and we shouldn't need to download it from anywhere.  If
we inquire if it exists, then say it does, and say its location is the
system's equivalent of /dev/null.

The only tricky case is if we're de-duplicating, linking, or writing to
a file, in which case we should not try to use a link or replace on the
file, since we neither want to link nor replace the system's /dev/null.
2021-09-28 12:33:22 +00:00
..
cleanup.go Set package version to v3 2021-09-02 20:41:08 +00:00
fs_test.go fs: expose repository permissions 2018-12-13 17:51:02 +00:00
fs.go fs: specify a file as existing if it's empty 2021-09-28 12:33:22 +00:00