We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d0250e commit df379f0Copy full SHA for df379f0
1 file changed
src/commands/webdav/webdavfs.rs
@@ -232,20 +232,9 @@ impl DavDirEntry for DavFsDirEntry {
232
.boxed()
233
}
234
235
- #[cfg(not(windows))]
236
fn name(&self) -> Vec<u8> {
237
self.0.name().to_vec()
238
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
- }
249
250
251
/// A [`DavFile`] implementation for [`Node`]s.
0 commit comments