MCPcopy Create free account
hub / github.com/GrayJack/coreutils / path_buf_to_file_name

Method path_buf_to_file_name

ls/src/file.rs:182–191  ·  view source on GitHub ↗

Gets the file name from a `PathBuf` Will return `Error` if the path terminates at '..'.

(path: &Path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
file_nameMethod · 0.80

Tested by

no test coverage detected