file_exists as pub

This commit is contained in:
ChristianVisintin
2020-12-15 11:36:07 +01:00
parent 50fcba63c4
commit 0e7527fb3f

View File

@@ -418,7 +418,7 @@ impl Localhost {
/// ### file_exists
///
/// Returns whether provided file path exists
fn file_exists(&self, path: &Path) -> bool {
pub fn file_exists(&self, path: &Path) -> bool {
path.exists()
}