Enum git_workarea::WorkAreaError
source · [−]#[non_exhaustive]
pub enum WorkAreaError {
CreateTempDirectory {
source: Error,
},
CreateWorkTree {
source: Error,
},
SubmoduleSetup {
intent: SubmoduleIntent,
submodule: String,
source: Error,
},
Git {
source: GitError,
},
}
Expand description
Errors which may occur when using a workarea.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CreateTempDirectory
Fields
source: Error
The cause of the failure.
Failed to create a temporary directory for the workarea.
CreateWorkTree
Fields
source: Error
The cause of the failure.
Failed to create a directory to hold the work tree.
SubmoduleSetup
Failure to set up submodules in the workarea.
Git
Fields
source: GitError
The cause of the failure.
A git operation failed.