File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,6 @@ impl<'a> FileInfo<'a> {
155155 #[ cfg( target_os = "windows" ) ]
156156 pub fn new ( path : & ' a str , arguments : Option < Vec < & ' a str > > , bytes : & ' a [ u8 ] ) -> Result < Self > {
157157 let metadata = fs:: metadata ( path) ?;
158- let mode = metadata. permissions ( ) . mode ( ) ;
159158
160159 let users = Users :: new_with_refreshed_list ( ) ;
161160 let groups = Groups :: new_with_refreshed_list ( ) ;
@@ -188,7 +187,7 @@ impl<'a> FileInfo<'a> {
188187 FileDateInfo {
189188 access : format_system_time ( metadata. accessed ( ) ?) ,
190189 modify : format_system_time ( metadata. modified ( ) ?) ,
191- change : format_system_time ( metadata . creation_time ( ) . into ( ) ) ,
190+ change : String :: from ( "unsupported" ) ,
192191 birth : metadata
193192 . created ( )
194193 . map ( format_system_time)
You can’t perform that action at this time.
0 commit comments