mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 22:37:37 +03:00
a3bbb71ac9
Summary: **Context**: See T110025458 This diff adds a method to filestore to copy a file somewhere else, using the BlobCopier interface. On the next diff we will use this to optimise snapshots. - The order of operations is the same as in finalize, for the same reasons. - We're using BlobCopier interface and not a blobstore, because e.g. in snapshots, we actually want to mess around with prefixes before doing the actual copying, this doesn't make sense in a single blobstore. Reviewed By: farnz Differential Revision: D33193941 fbshipit-source-id: ede51b0149173a8f0c1e4f0d516255cdfc88b8eb |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |