diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-08 20:28:09 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-08 20:55:09 +0200 |
commit | baa820c60675f84ed0652f0b11feefe9230a97a1 (patch) | |
tree | 12bf24c202dd8952e032ed2ee7dd8897ae9281fc /src/source | |
parent | 5c36c119f9448baf6bfe5245c6ebac1aa09d5b43 (diff) |
Remove helper Source::exists()
It is easier for the caller (because more visible what happens) to call
`Source::path().exists()`.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/source')
-rw-r--r-- | src/source/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/source/mod.rs b/src/source/mod.rs index ec0e2e2..7ce00e5 100644 --- a/src/source/mod.rs +++ b/src/source/mod.rs @@ -75,10 +75,6 @@ impl SourceEntry { .collect() } - pub fn exists(&self) -> bool { - self.source_file_path().exists() - } - pub fn path(&self) -> PathBuf { self.source_file_path() } |