cleanup
This commit is contained in:
parent
34f35842df
commit
f6ca0cb460
1 changed files with 2 additions and 2 deletions
|
|
@ -419,10 +419,10 @@ impl Op {
|
||||||
use std::os::unix::prelude::MetadataExt;
|
use std::os::unix::prelude::MetadataExt;
|
||||||
log::info!("{}", metadata.mtime());
|
log::info!("{}", metadata.mtime());
|
||||||
}
|
}
|
||||||
if let Ok(time) = dbg!(metadata.modified()) {
|
if let Ok(time) = metadata.modified() {
|
||||||
times = times.set_modified(time);
|
times = times.set_modified(time);
|
||||||
}
|
}
|
||||||
if let Ok(time) = dbg!(metadata.accessed()) {
|
if let Ok(time) = metadata.accessed() {
|
||||||
times = times.set_accessed(time);
|
times = times.set_accessed(time);
|
||||||
}
|
}
|
||||||
//TODO: upstream set_times implementation to compio?
|
//TODO: upstream set_times implementation to compio?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue