MCPcopy Create free account
hub / github.com/Pometry/Raphtory / validate_path_for_insert

Method validate_path_for_insert

raphtory-graphql/src/data.rs:172–182  ·  view source on GitHub ↗
(
        self,
        path: &str,
        overwrite: bool,
    )

Source from the content-addressed store, hash-verified

170 }
171
172 pub fn validate_path_for_insert(
173 self,
174 path: &str,
175 overwrite: bool,
176 ) -> Result<ValidWriteableGraphFolder, PathValidationError> {
177 if overwrite {
178 ValidWriteableGraphFolder::try_existing_or_new(self, path)
179 } else {
180 ValidWriteableGraphFolder::try_new(self, path)
181 }
182 }
183}
184
185impl PartialEq for WorkDirWriteGuard {

Callers 8

setup_with_graphsFunction · 0.80
setup_with_policyFunction · 0.80
save_graphs_to_work_dirFunction · 0.80
new_graphMethod · 0.80
copy_graphMethod · 0.80
upload_graphMethod · 0.80
create_subgraphMethod · 0.80
create_mutable_graphFunction · 0.80

Calls

no outgoing calls

Tested by 2

setup_with_graphsFunction · 0.64
setup_with_policyFunction · 0.64