Runtime helpers (storage_runtime, etc.)
Dependencies
pub(all) enum StorageCommand {
Init(StorageInitArgs)
Add(StorageAddArgs)
Commit(StorageCommitArgs)
Status(StorageStatusArgs)
Log(StorageLogArgs)
HashObject(StorageHashObjectArgs)
WriteTree(StorageWriteTreeArgs)
UpdateRef(StorageUpdateRefArgs)
}pub(all) struct StorageCommitArgs {
message : String
all_modified : Bool
allow_empty : Bool
quiet : Bool
encoding : String
}pub(all) struct StorageHashObjectArgs {
write_object : Bool
stdin_mode : Bool
stdin_paths : Bool
no_filters : Bool
literally : Bool
obj_type : ObjectType
paths : Array[String]
object_format : String
path_hint : String
}pub(all) struct StorageInitArgs {
quiet : Bool
default_branch : String
ref_format : String
object_format : String
}pub(all) struct StorageStatusArgs {
porcelain : Bool
short : Bool
show_branch : Bool
}pub(all) struct StorageUpdateRefArgs {
delete_mode : Bool
refname : String
new_value : String?
old_value : String?
}pub(all) struct StorageWriteTreeArgs {
prefix : String?
missing_ok : Bool
}fn run_storage_command(fs : &FileSystem, rfs : &RepoFileSystem, root : String, command : StorageCommand) -> Unit raiseRuntime helpers (storage_runtime, etc.)
Dependencies