Skip to content

Commit df379f0

Browse files
committed
fix windows compile error
1 parent 6d0250e commit df379f0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/commands/webdav/webdavfs.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -232,20 +232,9 @@ impl DavDirEntry for DavFsDirEntry {
232232
.boxed()
233233
}
234234

235-
#[cfg(not(windows))]
236235
fn name(&self) -> Vec<u8> {
237236
self.0.name().to_vec()
238237
}
239-
240-
#[cfg(windows)]
241-
fn name(&self) -> Vec<u8> {
242-
self.0
243-
.name()
244-
.as_os_str()
245-
.to_string_lossy()
246-
.to_string()
247-
.into_bytes()
248-
}
249238
}
250239

251240
/// A [`DavFile`] implementation for [`Node`]s.

0 commit comments

Comments
 (0)