Documentation
¶
Overview ¶
Package sandboxcache centralizes host paths shared by sandbox startup and sandboxed tool command preparation.
Index ¶
Constants ¶
View Source
const GoCacheHomeSubdir = "sandbox-go-cache"
Variables ¶
This section is empty.
Functions ¶
func GoHostCacheDir ¶
func GoHostCacheDirForWorkspace ¶
GoHostCacheDirForWorkspace returns the canonical sandbox cache mount. It is intentionally independent of both HOME and the particular checkout path: Podman is created for the repository root while commands may later run from a managed worktree, and both sides must still name the identical mount.
func HostGoScratchDir ¶
func HostShellScratchDir ¶
func PathWithinWorkspace ¶
PathWithinWorkspace reports whether path resolves to root or one of its descendants. It is shared by host command environment policy and cache placement so both make the same decision for an inherited workspace HOME.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.