{"nodes": [{"id": "users_chahinebrini_mono_rebreak_monorepo_apps_rebreak_magic_mac_sources_services_processrunner_swift", "label": "ProcessRunner.swift", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L1"}, {"id": "services_processrunner_linebuffer", "label": "LineBuffer", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L6"}, {"id": "sendable", "label": "Sendable", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "services_processrunner_linebuffer_append", "label": ".append()", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L9"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L9"}, {"id": "services_processrunner_processrunnererror", "label": "ProcessRunnerError", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L19"}, {"id": "error", "label": "Error", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "localizederror", "label": "LocalizedError", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "services_processrunner_processrunnererror_binarynotfound", "label": "binaryNotFound", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L20"}, {"id": "services_processrunner_processrunnererror_nonzeroexit", "label": "nonZeroExit", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L21"}, {"id": "services_processrunner_processrunner", "label": "ProcessRunner", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L33"}, {"id": "services_processrunner_result", "label": "Result", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L34"}, {"id": "int32", "label": "Int32", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L35"}, {"id": "services_processrunner_processrunner_run", "label": ".run()", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L40"}, {"id": "services_processrunner_processrunner_stream", "label": ".stream()", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76"}, {"id": "void", "label": "Void", "file_type": "code", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76"}], "edges": [{"source": "users_chahinebrini_mono_rebreak_monorepo_apps_rebreak_magic_mac_sources_services_processrunner_swift", "target": "foundation", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L1", "weight": 1.0}, {"source": "users_chahinebrini_mono_rebreak_monorepo_apps_rebreak_magic_mac_sources_services_processrunner_swift", "target": "services_processrunner_linebuffer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L6", "weight": 1.0}, {"source": "services_processrunner_linebuffer", "target": "sendable", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L6", "weight": 1.0}, {"source": "services_processrunner_linebuffer", "target": "services_processrunner_linebuffer_append", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L9", "weight": 1.0}, {"source": "services_processrunner_linebuffer_append", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L9", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_linebuffer", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L13", "weight": 1.0, "context": "field"}, {"source": "users_chahinebrini_mono_rebreak_monorepo_apps_rebreak_magic_mac_sources_services_processrunner_swift", "target": "services_processrunner_processrunnererror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L19", "weight": 1.0}, {"source": "services_processrunner_processrunnererror", "target": "error", "relation": "implements", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L19", "weight": 1.0}, {"source": "services_processrunner_processrunnererror", "target": "localizederror", "relation": "implements", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L19", "weight": 1.0}, {"source": "services_processrunner_processrunnererror", "target": "services_processrunner_processrunnererror_binarynotfound", "relation": "case_of", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L20", "weight": 1.0}, {"source": "services_processrunner_processrunnererror", "target": "services_processrunner_processrunnererror_nonzeroexit", "relation": "case_of", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L21", "weight": 1.0}, {"source": "services_processrunner_processrunnererror", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L23", "weight": 1.0, "context": "field"}, {"source": "users_chahinebrini_mono_rebreak_monorepo_apps_rebreak_magic_mac_sources_services_processrunner_swift", "target": "services_processrunner_processrunner", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L33", "weight": 1.0}, {"source": "users_chahinebrini_mono_rebreak_monorepo_apps_rebreak_magic_mac_sources_services_processrunner_swift", "target": "services_processrunner_result", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L34", "weight": 1.0}, {"source": "services_processrunner_result", "target": "int32", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L35", "weight": 1.0, "context": "field"}, {"source": "services_processrunner_result", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L36", "weight": 1.0, "context": "field"}, {"source": "services_processrunner_result", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L37", "weight": 1.0, "context": "field"}, {"source": "services_processrunner_processrunner", "target": "services_processrunner_processrunner_run", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L40", "weight": 1.0}, {"source": "services_processrunner_processrunner_run", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L40", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_run", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L40", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_run", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L40", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_run", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L40", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_run", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L40", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_run", "target": "services_processrunner_result", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L40", "weight": 1.0, "context": "return_type"}, {"source": "services_processrunner_processrunner", "target": "services_processrunner_processrunner_stream", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76", "weight": 1.0}, {"source": "services_processrunner_processrunner_stream", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_stream", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_stream", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_stream", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_stream", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_stream", "target": "void", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76", "weight": 1.0, "context": "parameter_type"}, {"source": "services_processrunner_processrunner_stream", "target": "services_processrunner_result", "relation": "references", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L76", "weight": 1.0, "context": "return_type"}, {"source": "services_processrunner_processrunner_run", "target": "services_processrunner_processrunnererror_binarynotfound", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L47", "weight": 1.0}, {"source": "services_processrunner_processrunner_run", "target": "services_processrunner_result", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L71", "weight": 1.0}, {"source": "services_processrunner_processrunner_stream", "target": "services_processrunner_processrunnererror_binarynotfound", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L84", "weight": 1.0}, {"source": "services_processrunner_processrunner_stream", "target": "services_processrunner_linebuffer", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L99", "weight": 1.0}, {"source": "services_processrunner_processrunner_stream", "target": "services_processrunner_linebuffer_append", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L108", "weight": 1.0}, {"source": "services_processrunner_processrunner_stream", "target": "services_processrunner_processrunner_run", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L129", "weight": 1.0}, {"source": "services_processrunner_processrunner_stream", "target": "services_processrunner_result", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L140", "weight": 1.0}], "raw_calls": [{"caller_nid": "services_processrunner_linebuffer_append", "callee": "lock", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L10"}, {"caller_nid": "services_processrunner_linebuffer_append", "callee": "defer", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L10"}, {"caller_nid": "services_processrunner_linebuffer_append", "callee": "unlock", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L10"}, {"caller_nid": "services_processrunner_processrunner_run", "callee": "isExecutableFile", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L46"}, {"caller_nid": "services_processrunner_processrunner_run", "callee": "Process", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L50"}, {"caller_nid": "services_processrunner_processrunner_run", "callee": "Pipe", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L60"}, {"caller_nid": "services_processrunner_processrunner_run", "callee": "Pipe", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L61"}, {"caller_nid": "services_processrunner_processrunner_run", "callee": "waitUntilExit", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L66"}, {"caller_nid": "services_processrunner_processrunner_run", "callee": "readDataToEndOfFile", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L68"}, {"caller_nid": "services_processrunner_processrunner_run", "callee": "readDataToEndOfFile", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L69"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "isExecutableFile", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L83"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "Process", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L87"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "Pipe", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L94"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "Pipe", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L95"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "split", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L109"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "Task", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L112"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "onLine", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L112"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "split", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L121"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "Task", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L124"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "onLine", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L124"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "withCheckedContinuation", "is_member_call": false, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L131"}, {"caller_nid": "services_processrunner_processrunner_stream", "callee": "resume", "is_member_call": true, "source_file": "/Users/chahinebrini/mono/rebreak-monorepo/apps/rebreak-magic-mac/Sources/Services/ProcessRunner.swift", "source_location": "L133"}]}