mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
windows cfg
This commit is contained in:
@@ -434,7 +434,9 @@ impl Localhost {
|
|||||||
mod tests {
|
mod tests {
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
#[cfg(any(unix, macos, linux))]
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
|
#[cfg(any(unix, macos, linux))]
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
|
|
||||||
#[cfg(any(unix, macos, linux))]
|
#[cfg(any(unix, macos, linux))]
|
||||||
@@ -690,6 +692,7 @@ mod tests {
|
|||||||
tmpfile
|
tmpfile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(unix, macos, linux))]
|
||||||
fn get_filename(entry: &FsEntry) -> String {
|
fn get_filename(entry: &FsEntry) -> String {
|
||||||
match entry {
|
match entry {
|
||||||
FsEntry::Directory(d) => d.name.clone(),
|
FsEntry::Directory(d) => d.name.clone(),
|
||||||
|
|||||||
Reference in New Issue
Block a user