Skip to main content

socket_path

Function socket_path 

Source
pub fn socket_path(memory_dir: &Path) -> Result<PathBuf, RecallError>
Expand description

Socket path for a memory directory.

$XDG_RUNTIME_DIR/recall-echo/<hash>.sock, falling back to /tmp/recall-echo-<uid>/<hash>.sock, unless [serve] socket_path overrides it. The hash is taken over the canonical memory directory, so every graph gets its own daemon and symlinked paths share one.