This commit is contained in:
2025-11-09 10:10:40 +00:00
parent ec1c1c89cd
commit 5c8dc86640
5 changed files with 152591 additions and 61 deletions

View File

@@ -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)]