sapling/eden/scm/lib/indexedlog
Jun Wu de5772cb30 indexedlog: replace Log's dir with a new GenericPath type
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
2020-01-17 03:57:59 -08:00
..
benches indexedlog: fix benchmarks 2020-01-08 18:11:37 -08:00
src indexedlog: replace Log's dir with a new GenericPath type 2020-01-17 03:57:59 -08:00
tests Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
Cargo.toml indexedlog: fix benchmarks 2020-01-08 18:11:37 -08:00