mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
file_exists as pub
This commit is contained in:
@@ -418,7 +418,7 @@ impl Localhost {
|
|||||||
/// ### file_exists
|
/// ### file_exists
|
||||||
///
|
///
|
||||||
/// Returns whether provided file path exists
|
/// Returns whether provided file path exists
|
||||||
fn file_exists(&self, path: &Path) -> bool {
|
pub fn file_exists(&self, path: &Path) -> bool {
|
||||||
path.exists()
|
path.exists()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user