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

Function open_directory

document/container/src/backends/opfs.rs:273–284  ·  view source on GitHub ↗

Resolve `directory_path` (a `/`-separated relative path) under the OPFS root, creating each segment. OPFS rejects directory names containing `/`, so a multi-segment path like `documents/ ` must be descended one segment at a time rather than passed whole.

(directory_path: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

openMethod · 0.85

Calls 2

storageMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected