Show More
@@ -112,8 +112,10 b' fn check_exec_impl(path: impl AsRef<Path' | |||
|
112 | 112 | Ok(false) |
|
113 | 113 | } |
|
114 | 114 | |
|
115 |
/// This function is a |
|
|
116 | /// Returns true if the filesystem supports execute permissions. | |
|
115 | /// This function is a Rust rewrite of the `checkexec` function from | |
|
116 | /// `posix.py`. | |
|
117 | /// | |
|
118 | /// Returns `true` if the filesystem supports execute permissions. | |
|
117 | 119 | pub fn check_exec(path: impl AsRef<Path>) -> bool { |
|
118 | 120 | check_exec_impl(path).unwrap_or(false) |
|
119 | 121 | } |
General Comments 0
You need to be logged in to leave comments.
Login now