vcom/internal/vfs
vrubelroman 1c57f92c42 feat(paths,atomicfile): XDG/sudo path rules and atomic local file writes (2C.1)
paths: config lookup -config → $VCOM_CONFIG → XDG → ~/.config (never the
working directory; StrayCwdConfig only reports one), state/cache/data dirs
of the effective user under sudo (inherited XDG_* ignored for writes),
run-<pid> dir with a sweep of dead processes' dirs (U-P1-15).
atomicfile: temp + fsync + rename + dir fsync; keeps the old file on any
error, writes through symlinks and keeps mode/owner of an existing file.
The trash now takes its home from paths.DataHome.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:31:14 +03:00
..
localfs feat(paths,atomicfile): XDG/sudo path rules and atomic local file writes (2C.1) 2026-10-31 23:31:14 +03:00
vfstest test(vfs/vfstest): conformance suite and FaultFS; run it on localfs (2A.3) 2026-10-31 23:26:28 +03:00
errors.go feat(vfs): define the vfs.FS contract, sentinels, PathOps and ReadOnly wrapper (2.0) 2026-10-31 23:21:41 +03:00
fileinfo.go feat(vfs): define the vfs.FS contract, sentinels, PathOps and ReadOnly wrapper (2.0) 2026-10-31 23:21:41 +03:00
fs.go feat(vfs): define the vfs.FS contract, sentinels, PathOps and ReadOnly wrapper (2.0) 2026-10-31 23:21:41 +03:00
helpers_test.go feat(vfs): Walk, RemoveTree, DirSize, SameFile and Within helpers (2A.2) 2026-10-31 23:24:12 +03:00
location.go feat(vfs): define the vfs.FS contract, sentinels, PathOps and ReadOnly wrapper (2.0) 2026-10-31 23:21:41 +03:00
paths.go feat(vfs): define the vfs.FS contract, sentinels, PathOps and ReadOnly wrapper (2.0) 2026-10-31 23:21:41 +03:00
readonly.go feat(vfs): define the vfs.FS contract, sentinels, PathOps and ReadOnly wrapper (2.0) 2026-10-31 23:21:41 +03:00
remove.go feat(vfs): Walk, RemoveTree, DirSize, SameFile and Within helpers (2A.2) 2026-10-31 23:24:12 +03:00
same.go feat(vfs): Walk, RemoveTree, DirSize, SameFile and Within helpers (2A.2) 2026-10-31 23:24:12 +03:00
size.go feat(vfs): Walk, RemoveTree, DirSize, SameFile and Within helpers (2A.2) 2026-10-31 23:24:12 +03:00
vfs_test.go feat(vfs): define the vfs.FS contract, sentinels, PathOps and ReadOnly wrapper (2.0) 2026-10-31 23:21:41 +03:00
walk.go feat(vfs): Walk, RemoveTree, DirSize, SameFile and Within helpers (2A.2) 2026-10-31 23:24:12 +03:00