MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / validate_prefix

Function validate_prefix

document/container/src/lib.rs:199–204  ·  view source on GitHub ↗

Validate a listing prefix. Same rules as [`validate_path`], except the container root is also a valid prefix, named by either the empty string or `.`. Backends pass this to `list`/`list_dirs`.

(prefix: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

list_filteredMethod · 0.85
listMethod · 0.85
list_dirsMethod · 0.85
listMethod · 0.85
list_dirsMethod · 0.85

Calls 2

validate_pathFunction · 0.85
is_emptyMethod · 0.45

Tested by

no test coverage detected