summaryrefslogtreecommitdiffstats
path: root/src/unix.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-08-06 14:02:51 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-08-06 14:02:51 -0400
commite0bbe7f3890ee66acfc83357720c9bfabf782c39 (patch)
tree5cbffcecf97b9db516448cce5614d5aebcdb6a03 /src/unix.rs
parentc176412f865c14f90a2392e93421f0523ae3b11b (diff)
make usercache persistent
Diffstat (limited to 'src/unix.rs')
-rw-r--r--src/unix.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unix.rs b/src/unix.rs
index 03c20b1..1c25cd2 100644
--- a/src/unix.rs
+++ b/src/unix.rs
@@ -1,5 +1,4 @@
-use std::path::{Path, PathBuf};
-use std::process;
+use std::path::Path;
pub fn is_executable(mode: u32) -> bool {
const LIBC_PERMISSION_VALS: [libc::mode_t; 3] = [libc::S_IXUSR, libc::S_IXGRP, libc::S_IXOTH];