@@ -37,7 +37,6 @@ pub enum Notification<'a> {
3737 StrayHash ( & ' a Path ) ,
3838 SignatureInvalid ( & ' a str ) ,
3939 RetryingDownload ( & ' a str ) ,
40- CreatingDirectory ( & ' a str , & ' a Path ) ,
4140 LinkingDirectory ( & ' a Path , & ' a Path ) ,
4241 CopyingDirectory ( & ' a Path , & ' a Path ) ,
4342 RemovingDirectory ( & ' a str , & ' a Path ) ,
@@ -124,8 +123,7 @@ impl Notification<'_> {
124123 NonFatalError ( _) => NotificationLevel :: Error ,
125124 SignatureInvalid ( _) => NotificationLevel :: Warn ,
126125 SetDefaultBufferSize ( _) => NotificationLevel :: Trace ,
127- CreatingDirectory ( _, _)
128- | RemovingDirectory ( _, _)
126+ RemovingDirectory ( _, _)
129127 | LinkingDirectory ( _, _)
130128 | CopyingDirectory ( _, _)
131129 | DownloadingFile ( _, _)
@@ -261,9 +259,6 @@ impl Display for Notification<'_> {
261259 }
262260 SignatureInvalid ( url) => write ! ( f, "Signature verification failed for '{url}'" ) ,
263261 RetryingDownload ( url) => write ! ( f, "retrying download for '{url}'" ) ,
264- CreatingDirectory ( name, path) => {
265- write ! ( f, "creating {} directory: '{}'" , name, path. display( ) )
266- }
267262 Error ( e) => write ! ( f, "error: '{e}'" ) ,
268263 LinkingDirectory ( _, dest) => write ! ( f, "linking directory from: '{}'" , dest. display( ) ) ,
269264 CopyingDirectory ( src, _) => write ! ( f, "copying directory from: '{}'" , src. display( ) ) ,
0 commit comments