mirror of
https://github.com/facebook/sapling.git
synced 2024-12-27 06:52:23 +03:00
de5772cb30
Summary: This allows us to incrementally abstract away parts related to filesystem from Log. For example, instead of using std::fs to access filesystem directly, use methods on the GenericPath instead. Right now the main motivation is to add support for "multi-logs" sharing a single meta file. To do that, methods reading and writing metas are moved to the GenericPath type. This also unifies the open functions. Now OpenOptions::create_in_memory can be private. Empty in-memory Logs can be opened via `open(())`. Reviewed By: DurhamG Differential Revision: D19431784 fbshipit-source-id: dbdf94f60261e09f131c6fdd9fe3b99242a28af5 |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |