MCPcopy Create free account
hub / github.com/datmo/datmo / parse_paths

Function parse_paths

datmo/core/util/misc_functions.py:335–385  ·  view source on GitHub ↗

Parse user given paths. Checks only source paths and destination are valid Parameters ---------- default_src_prefix : str default directory prefix to append if source path is not an absolute path paths : list list of absolute or relative filepaths and/or dirpaths to

(default_src_prefix, paths, dest_prefix)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

create_collectionMethod · 0.90
calculate_hash_pathsMethod · 0.90
test_parse_pathsMethod · 0.90
task_run_helperMethod · 0.90

Calls 2

PathDoesNotExistClass · 0.90
parse_pathFunction · 0.85

Tested by 1

test_parse_pathsMethod · 0.72