progress
This commit is contained in:
@@ -29,6 +29,7 @@ pub enum ActionType {
|
||||
QueryPathInfo = 109,
|
||||
PostBuildHook = 110,
|
||||
BuildWaiting = 111,
|
||||
FetchTree = 112,
|
||||
}
|
||||
|
||||
impl Default for ActionType {
|
||||
@@ -100,14 +101,24 @@ pub enum StartFields<'a> {
|
||||
source: Cow<'a, str>,
|
||||
target: Cow<'a, str>,
|
||||
},
|
||||
QueryPathInfo,
|
||||
QueryPathInfo {
|
||||
path: Cow<'a, str>,
|
||||
source: Cow<'a, str>,
|
||||
},
|
||||
PostBuildHook,
|
||||
BuildWaiting,
|
||||
FetchTree,
|
||||
}
|
||||
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
pub enum ResultFields<'a> {
|
||||
FileLinked {
|
||||
val1: u64,
|
||||
val2: u64,
|
||||
},
|
||||
BuildLogLine(Cow<'a, str>),
|
||||
UntrustedPath(Cow<'a, str>),
|
||||
CorruptedPath(Cow<'a, str>),
|
||||
SetPhase(&'a str),
|
||||
Progress {
|
||||
done: u64,
|
||||
@@ -119,6 +130,8 @@ pub enum ResultFields<'a> {
|
||||
action: ActionType,
|
||||
expected: u64,
|
||||
},
|
||||
PostBuildLogLine(Cow<'a, str>),
|
||||
FetchStatus(Cow<'a, str>),
|
||||
}
|
||||
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
|
||||
Reference in New Issue
Block a user