Mercurial > hg-stable
comparison rust/hg-core/src/operations/mod.rs @ 45000:5965efb609b6
hg-core: add FindRoot operation to find repository root path
Differential Revision: https://phab.mercurial-scm.org/D8609
author | Antoine Cezar <antoine.cezar@octobus.net> |
---|---|
date | Fri, 05 Jun 2020 08:48:09 +0200 |
parents | a46e36b82461 |
children | 98817e5daca7 |
comparison
equal
deleted
inserted
replaced
44999:a46e36b82461 | 45000:5965efb609b6 |
---|---|
1 mod find_root; | |
2 pub use find_root::{FindRoot, FindRootError, FindRootErrorKind}; | |
3 | |
1 /// An interface for high-level hg operations. | 4 /// An interface for high-level hg operations. |
2 /// | 5 /// |
3 /// A distinction is made between operation and commands. | 6 /// A distinction is made between operation and commands. |
4 /// An operation is what can be done whereas a command is what is exposed by | 7 /// An operation is what can be done whereas a command is what is exposed by |
5 /// the cli. A single command can use several operations to achieve its goal. | 8 /// the cli. A single command can use several operations to achieve its goal. |