comparison rust/hg-core/src/operations/mod.rs @ 45536:639f33f22faf

hg-core: add a `ListRevTrackedFiles` operation List files tracked at a given revision. Differential Revision: https://phab.mercurial-scm.org/D9014
author Antoine Cezar <antoine.cezar@octobus.net>
date Fri, 18 Sep 2020 16:52:16 +0200
parents 72b7d58d6e35
children 522ec3dc44b9
comparison
equal deleted inserted replaced
45535:72b7d58d6e35 45536:639f33f22faf
12 pub use find_root::{FindRoot, FindRootError, FindRootErrorKind}; 12 pub use find_root::{FindRoot, FindRootError, FindRootErrorKind};
13 pub use list_tracked_files::{ 13 pub use list_tracked_files::{
14 ListDirstateTrackedFiles, ListDirstateTrackedFilesError, 14 ListDirstateTrackedFiles, ListDirstateTrackedFilesError,
15 ListDirstateTrackedFilesErrorKind, 15 ListDirstateTrackedFilesErrorKind,
16 }; 16 };
17 pub use list_tracked_files::{
18 ListRevTrackedFiles, ListRevTrackedFilesError,
19 ListRevTrackedFilesErrorKind,
20 };
17 21
18 // TODO add an `Operation` trait when GAT have landed (rust #44265): 22 // TODO add an `Operation` trait when GAT have landed (rust #44265):
19 // there is no way to currently define a trait which can both return 23 // there is no way to currently define a trait which can both return
20 // references to `self` and to passed data, which is what we would need. 24 // references to `self` and to passed data, which is what we would need.
21 // Generic Associated Types may fix this and allow us to have a unified 25 // Generic Associated Types may fix this and allow us to have a unified