sapling/eden/scm/lib
Jun Wu f613512245 dag: move StoreId to in_process_store module
Summary:
The `StoreId` is an implementation detail of `InProcessStore`. It does
not apply to other kind of stores. Move it to a better place.

Reviewed By: yancouto

Differential Revision: D33821388

fbshipit-source-id: d7d20d9a61ebeea58e22f3f779fc9651097857df
2022-02-07 17:20:11 -08:00
..
async-runtime Re-sync with internal repository 2022-02-07 12:59:09 +00:00
atomicfile Re-sync with internal repository 2022-02-07 12:59:09 +00:00
auth Re-sync with internal repository 2022-02-07 12:59:09 +00:00
backingstore Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
blackbox Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
cats Re-sync with internal repository 2022-02-07 12:59:09 +00:00
checkout Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
clidispatch Re-sync with internal repository 2022-02-07 12:59:09 +00:00
clientinfo Re-sync with internal repository 2022-02-07 12:59:09 +00:00
cliparser Re-sync with internal repository 2022-02-07 12:59:09 +00:00
commitcloudsubscriber Re-sync with internal repository 2022-02-07 12:59:09 +00:00
configmodel Re-sync with internal repository 2022-02-07 12:59:09 +00:00
configparser Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
cpython-async Re-sync with internal repository 2022-02-07 12:59:09 +00:00
cpython-ext Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
dag dag: move StoreId to in_process_store module 2022-02-07 17:20:11 -08:00
debugtop Re-sync with internal repository 2022-02-07 12:59:09 +00:00
dev-logger Re-sync with internal repository 2022-02-07 12:59:09 +00:00
drawdag Re-sync with internal repository 2022-02-07 12:59:09 +00:00
eagerepo Re-sync with internal repository 2022-02-07 12:59:09 +00:00
edenapi Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
edenfs-client Re-sync with internal repository 2022-02-07 12:59:09 +00:00
encoding Re-sync with internal repository 2022-02-07 12:59:09 +00:00
fsinfo Re-sync with internal repository 2022-02-07 12:59:09 +00:00
fsyncglob Re-sync with internal repository 2022-02-07 12:59:09 +00:00
gitstore Re-sync with internal repository 2022-02-07 12:59:09 +00:00
hg-http Re-sync with internal repository 2022-02-07 12:59:09 +00:00
hg-metrics Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
hgcommands Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
hgcommits Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
hgtime Re-sync with internal repository 2022-02-07 12:59:09 +00:00
http-client Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
indexedlog Re-sync with internal repository 2022-02-07 12:59:09 +00:00
insta_ext Re-sync with internal repository 2022-02-07 12:59:09 +00:00
io Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
linelog Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
lz4-pyframe Re-sync with internal repository 2022-02-07 12:59:09 +00:00
manifest Re-sync with internal repository 2022-02-07 12:59:09 +00:00
manifest-tree Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
metalog Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
metrics Re-sync with internal repository 2022-02-07 12:59:09 +00:00
mincode Re-sync with internal repository 2022-02-07 12:59:09 +00:00
minibench Re-sync with internal repository 2022-02-07 12:59:09 +00:00
minibytes Re-sync with internal repository 2022-02-07 12:59:09 +00:00
mpatch Re-sync with internal repository 2022-02-07 12:59:09 +00:00
mpatch-sys Re-sync with internal repository 2022-02-07 12:59:09 +00:00
mutationstore Re-sync with internal repository 2022-02-07 12:59:09 +00:00
nodemap Re-sync with internal repository 2022-02-07 12:59:09 +00:00
nonblocking Re-sync with internal repository 2022-02-07 12:59:09 +00:00
pathhistory Re-sync with internal repository 2022-02-07 12:59:09 +00:00
pathmatcher Re-sync with internal repository 2022-02-07 12:59:09 +00:00
pprint Re-sync with internal repository 2022-02-07 12:59:09 +00:00
procinfo Re-sync with internal repository 2022-02-07 12:59:09 +00:00
progress Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
radixbuf Re-sync with internal repository 2022-02-07 12:59:09 +00:00
refencode Re-sync with internal repository 2022-02-07 12:59:09 +00:00
renderdag Re-sync with internal repository 2022-02-07 12:59:09 +00:00
repo init: integrate Rust repo initialization into the init command 2022-02-07 14:18:40 -08:00
revisionstore Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
revlogindex Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
runlog Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
spawn-ext Re-sync with internal repository 2022-02-07 12:59:09 +00:00
status Re-sync with internal repository 2022-02-07 12:59:09 +00:00
storemodel Re-sync with internal repository 2022-02-07 12:59:09 +00:00
streams Re-sync with internal repository 2022-02-07 12:59:09 +00:00
taggederror Re-sync with internal repository 2022-02-07 12:59:09 +00:00
taggederror-util Re-sync with internal repository 2022-02-07 12:59:09 +00:00
third-party remove fbthrift_socket-02 references 2021-11-05 06:30:31 -07:00
thrift-types autocargo: bring fb303 repo location in sync with getdeps 2022-02-04 14:15:48 -08:00
tracing-analyzer Re-sync with internal repository 2022-02-07 12:59:09 +00:00
tracing-collector Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
tracing-runtime-callsite Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
tracing-sampler Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
treestate Re-sync with internal repository 2022-02-07 12:59:09 +00:00
types Re-sync with internal repository 2022-02-07 12:59:09 +00:00
util Re-sync with internal repository 2022-02-07 12:59:09 +00:00
version Re-sync with internal repository 2022-02-07 12:59:09 +00:00
vfs Re-sync with internal repository 2022-02-07 12:59:09 +00:00
vlqencoding Re-sync with internal repository 2022-02-07 12:59:09 +00:00
workingcopy Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
xdiff Re-sync with internal repository 2022-02-07 12:59:09 +00:00
xdiff-sys Re-sync with internal repository 2022-02-07 12:59:09 +00:00
zstdelta Re-sync with internal repository 2022-02-07 12:59:09 +00:00
zstore Bump parking-lot to version 0.12.0 2022-02-07 05:21:28 -08:00
Cargo.toml Re-sync with internal repository 2022-02-07 12:59:09 +00:00
CMakeLists.txt codemod: update license headers 2022-01-05 14:43:32 -08:00
README.md Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
run_cargo_tests.py codemod: update license headers 2022-01-05 14:43:32 -08:00

lib

Any native code (C/C++/Rust) that Mercurial (either core or extensions) depends on should go here. Python code, or native code that depends on Python code (e.g. #include <Python.h> or use cpython) is disallowed.

As we start to convert more of Mercurial into Rust, and write new paths entrirely in native code, we'll want to limit our dependency on Python, which is why this barrier exists.

See also hgext/extlib/README.md, mercurial/cext/README.mb.

How do I choose between lib and extlib (and cext)?

If your code is native and doesn't depend on Python (awesome!), it goes here.

Otherwise, put it in hgext/extlib (if it's only used by extensions) or mercurial/cext (if it's used by extensions or core).