Function classify_file
Source pub fn classify_file(host_path: &[u8]) -> Result<FileKind, i32>
Expand description
Classifies the file at host_path by reading it.
§Arguments
host_path - Host path of the candidate executable.
§Errors
Errno from open/read; EACCES for a directory, ENOENT for a missing file.