sapling/eden/mononoke/filestore
Yan Soares Couto a3bbb71ac9 Add filestore copy method
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
2022-02-17 11:05:38 -08:00
..
src Add filestore copy method 2022-02-17 11:05:38 -08:00
Cargo.toml restore getdeps build (#109) 2022-02-11 01:42:04 -08:00