Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1jehuang/jcode
/ parse_socket_path
Function
parse_socket_path
scripts/jcode_memory_snapshot.py:88–90 ·
view source on GitHub ↗
(cmd: str)
Source
from the content-addressed store, hash-verified
86
87
88
def
parse_socket_path(cmd: str) -> str | None:
89
m = re.search(r
"(?:^| )--socket\s+(\S+)"
, cmd)
90
return
m.group(1)
if
m
else
None
91
92
93
def
parse_session_id(cmd: str) -> str | None:
Callers
2
classify_process
Function · 0.85
iter_jcode_processes
Function · 0.85
Calls
1
search
Method · 0.45
Tested by
no test coverage detected