mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Changes in filetime
This commit is contained in:
parent
0edb0e1d9d
commit
a2092c1274
2 changed files with 1 additions and 3 deletions
|
@ -107,7 +107,6 @@ unicase.workspace = true
|
|||
unicode-normalization.workspace = true
|
||||
zip.workspace = true
|
||||
zstd.workspace = true
|
||||
filetime = "0.2"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows.workspace = true
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
use std::borrow::Cow;
|
||||
use std::fs;
|
||||
use filetime::{FileTime, set_file_times};
|
||||
use std::fs::FileTimes;
|
||||
use std::io;
|
||||
use std::io::Read;
|
||||
use std::path::Path;
|
||||
|
@ -28,7 +28,6 @@ use unicode_normalization::UnicodeNormalization;
|
|||
|
||||
use crate::prelude::*;
|
||||
use crate::sync::media::MAX_MEDIA_FILENAME_LENGTH;
|
||||
use crate::media::files::safe_rename;
|
||||
|
||||
static WINDOWS_DEVICE_NAME: LazyLock<Regex> = LazyLock::new(|| {
|
||||
Regex::new(
|
||||
|
|
Loading…
Reference in a new issue