aboutsummaryrefslogtreecommitdiffstats
path: root/src/project/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/project/path.rs')
-rw-r--r--src/project/path.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/project/path.rs b/src/project/path.rs
index 09eb557..fad746c 100644
--- a/src/project/path.rs
+++ b/src/project/path.rs
@@ -48,22 +48,3 @@ impl AsRef<Duration> for PathProject {
&self.1
}
}
-
-#[cfg(feature = "preview")]
-impl super::Preview for PathProject {
- type Error = std::io::Error;
-
- fn preview(&self) -> Result<(), Self::Error> {
- use std::io::Write;
- use std::process::{Command, Stdio};
-
- let output = Command::new("ls")
- .arg("-l")
- .arg("-a")
- .arg(&self.0)
- .stdout(Stdio::piped())
- .output()?;
-
- std::io::stdout().write_all(&output.stdout)
- }
-}