Registry / utility / is-executable

is-executable

JSON →
library1.0.5rscratesunverified

Checks whether a given path points to an executable file.

# Cargo.toml [dependencies] is_executable = "1.0.5"
INSTALL
IMPORT
SIG · IS-EXECUTABLE
I
is-executable
utilityrustv1.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IsExecutable
use is_executable::IsExecutable;

Check if a file is executable using the IsExecutable trait.

use is_executable::IsExecutable; use std::path::Path; let path = Path::new("/bin/sh"); println!("Is executable: {}", path.is_executable());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
is-executable — cargo add is-executable · libregistry