You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Delete redesign, step 1: profile lock, identity and trash building blocks #826
app/nullius/paths.py, app/nullius/ondisk.py, a new trash module under app/nullius/
Today
There is no profile-wide lock, no identity value for a workspace or a run generation, and no trash format.
Wanted
Building blocks only; nothing calls them yet and nothing is deleted:
paths.profile_lock() in the user data directory; recording and checking which profile owns a workspaces folder; an optional time limit for ondisk.locked shared across several locks.
A workspace identity value (UID, folder device and inode; created for workspaces without a UID) and a run generation comparison.
The trash path <root>/.trash/<kind>/<name>.<token>/, a check that keeps the configured roots' trash out of discovery, validation of an entry's intent.json, and one collector per kind at a time.
Acceptance
The lock, identity, trash path, intent validation and collector lock exist with tests (two processes included)
Activity