Skip to main content

Crate zccache_cli

Crate zccache_cli 

Source

Structs§

DownloadParams
FetchRequest
FetchResult
FetchState
FingerprintCheckResponse
InoConvertOptions
InoConvertResult
SessionStartResponse

Enums§

ArchiveFormat
DownloadSource
FetchStateKind
FetchStatus
WaitMode

Functions§

build_download_request
client_download
client_download_exists
client_session_end
End a session — daemon-unreachable is treated as a successful no-op.
client_session_start
client_session_stats
client_start
client_status
client_stop
fingerprint_check
fingerprint_invalidate
fingerprint_mark_failure
fingerprint_mark_success
gc_runtime_binaries
Best-effort delete every entry in runtime_binaries_dir. On Windows the kernel refuses to delete a file with an open handle, so files belonging to a currently running daemon are silently skipped — no PID tracking, no sidecar files. Cheap enough to call before every spawn.
gc_runtime_binaries_in
Test seam for gc_runtime_binaries.
infer_download_archive_path
is_daemon_unreachable_err
Is this connect-time error a “daemon process is gone entirely” error?
prepare_daemon_exe
Copy canonical (the daemon binary at its install location) to a unique path inside runtime_binaries_dir and return the new path. The caller then spawns from the returned path so the install location is never file-locked by a running daemon.
prepare_daemon_exe_in
Test seam for prepare_daemon_exe: copies canonical into dir (which is created if missing) and returns the destination path.
run_ino_convert_cached
runtime_binaries_dir
Returns <global_cache_dir>/runtime-binaries.
session_end_idempotent
End a session, treating a vanished daemon as success.