From 0e7527fb3f2724e546c9ae16df43d9d05d1b37a9 Mon Sep 17 00:00:00 2001 From: ChristianVisintin Date: Tue, 15 Dec 2020 11:36:07 +0100 Subject: [PATCH] file_exists as pub --- src/host/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/mod.rs b/src/host/mod.rs index 2a8cbd2..3916a13 100644 --- a/src/host/mod.rs +++ b/src/host/mod.rs @@ -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() }