Skip to main content

record_components

Function record_components 

Source
pub fn record_components(key: &RecordKey) -> (String, String, String)
Expand description

The three sanitized path components for a record: (namespace_dir, collection_dir, "<id>.json"). Backends join these with their own separator (PathBuf for fs/git, / for object keys).