@@ -17,23 +17,6 @@ pub(crate) enum Error {
17
17
command : String ,
18
18
exit_status : ExitStatus ,
19
19
} ,
20
- #[ snafu( display(
21
- "Failed to deserialize commit metadata: {}\n {}\n {}" ,
22
- source,
23
- hash,
24
- message
25
- ) ) ]
26
- CommitMetadataDeserialize {
27
- hash : Oid ,
28
- message : String ,
29
- source : serde_yaml:: Error ,
30
- } ,
31
- #[ snafu( display( "Commit missing metadata:\n {}\n {}" , hash, message) ) ]
32
- CommitMetadataMissing { hash : Oid , message : String } ,
33
- #[ snafu( display( "Commit has `{}` parents: {}" , hash, parents) ) ]
34
- CommitParents { hash : Oid , parents : usize } ,
35
- #[ snafu( display( "Commit has no summery: {}" , hash) ) ]
36
- CommitSummery { hash : Oid } ,
37
20
#[ snafu( display( "Failed to deserialize config from `{}`: {}" , path. display( ) , source) ) ]
38
21
ConfigDeserialize {
39
22
path : PathBuf ,
@@ -53,12 +36,6 @@ pub(crate) enum Error {
53
36
#[ snafu( display( "I/O error at `{}`: {}" , path. display( ) , source) ) ]
54
37
Filesystem { path : PathBuf , source : io:: Error } ,
55
38
#[ snafu( display( "I/O error copying `{}` to `{}`: {}" , src. display( ) , dst. display( ) , source) ) ]
56
- FilesystemCopy {
57
- src : PathBuf ,
58
- dst : PathBuf ,
59
- source : io:: Error ,
60
- } ,
61
- #[ snafu( display( "I/O error copying `{}` to `{}`: {}" , src. display( ) , dst. display( ) , source) ) ]
62
39
FilesystemRecursiveCopy {
63
40
src : PathBuf ,
64
41
dst : PathBuf ,
@@ -77,10 +54,6 @@ pub(crate) enum Error {
77
54
Tempdir { source : io:: Error } ,
78
55
#[ snafu( display( "Failed to render template: {}" , source) ) ]
79
56
TemplateRender { source : askama:: Error } ,
80
- #[ snafu( display( "Failed to get workdir for repo at `{}`" , repo. display( ) ) ) ]
81
- Workdir { repo : PathBuf } ,
82
- #[ snafu( display( "Failed to strip path prefix: {}" , source) ) ]
83
- StripPrefix { source : StripPrefixError } ,
84
57
}
85
58
86
59
impl From < regex:: Error > for Error {
0 commit comments