mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
e9d67b364c
Summary: I decoupled the getSize() function from the getMetadata() function, using a naive implementation for now. This was necessary because I want to add support for fetching only the size of a blob during a request like `ls -l`. Right now, the size and hash of a blob are coupled in a Metadata object, so if the size is requested, the whole file must be downloaded to calculate the hash, which is expensive for large files. Reviewed By: chadaustin, strager Differential Revision: D15678216 fbshipit-source-id: 8f68692768faaae0e65373ffe608d09ae49bbc42 |
||
---|---|---|
.. | ||
benchharness | ||
config | ||
fuse | ||
inodes | ||
journal | ||
model | ||
rocksdb | ||
service | ||
sqlite | ||
store | ||
takeover | ||
testharness | ||
tracing | ||
utils | ||
win | ||
CMakeLists.txt |