{"nodes": [{"id": "src_shared_utils_path_validator_ts", "label": "path-validator.ts", "file_type": "code", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L1"}, {"id": "path_validator_getalloweddirs", "label": "getAllowedDirs()", "file_type": "code", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L22"}, {"id": "path_validator_isabsolutepath", "label": "isAbsolutePath()", "file_type": "code", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L45"}, {"id": "path_validator_containspathtraversal", "label": "containsPathTraversal()", "file_type": "code", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L55"}, {"id": "path_validator_iswithinalloweddirs", "label": "isWithinAllowedDirs()", "file_type": "code", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L78"}, {"id": "path_validator_validatefilepath", "label": "validateFilePath()", "file_type": "code", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L117"}, {"id": "path_validator_sanitizefilename", "label": "sanitizeFileName()", "file_type": "code", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L159"}], "edges": [{"source": "src_shared_utils_path_validator_ts", "target": "path", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L9", "weight": 1.0}, {"source": "src_shared_utils_path_validator_ts", "target": "path_validator_getalloweddirs", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L22", "weight": 1.0}, {"source": "src_shared_utils_path_validator_ts", "target": "path_validator_isabsolutepath", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L45", "weight": 1.0}, {"source": "src_shared_utils_path_validator_ts", "target": "path_validator_containspathtraversal", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L55", "weight": 1.0}, {"source": "src_shared_utils_path_validator_ts", "target": "path_validator_iswithinalloweddirs", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L78", "weight": 1.0}, {"source": "src_shared_utils_path_validator_ts", "target": "path_validator_validatefilepath", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L117", "weight": 1.0}, {"source": "src_shared_utils_path_validator_ts", "target": "path_validator_sanitizefilename", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L159", "weight": 1.0}, {"source": "path_validator_validatefilepath", "target": "path_validator_containspathtraversal", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L123", "weight": 1.0}, {"source": "path_validator_validatefilepath", "target": "path_validator_iswithinalloweddirs", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L130", "weight": 1.0}, {"source": "path_validator_validatefilepath", "target": "path_validator_getalloweddirs", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L137", "weight": 1.0}, {"source": "path_validator_validatefilepath", "target": "path_validator_isabsolutepath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/shared/utils/path-validator.ts", "source_location": "L140", "weight": 1.0}]}