Expand description
Local profile lifecycle: list / info / lock-status / downloads / delete / prune.
Operates on disk only; never reaches over the network. Used by both
the SDK consumer and the afhttp profile CLI subcommand.
Modules§
- cookie_
jar - Persistent cookie jar for the HTTP fast path.
- info
- SDK-side view of
GET /profile. Re-exports [ProfileSnapshot] fromsharedso callers outside this module use the canonical type. - lock
- Advisory profile-directory locking via
fs2::FileExt::try_lock_exclusive. The lockfile lives at<profile>/afhttp-profile.lockand is held for the lifetime of theGuard; release happens onDrop. The owner’s PID lives in a sibling fileafhttp-profile.pidso we can rewrite it atomically (rename-over) without invalidating the fs2 lock identity. - meta
afhttp-profile.jsonmetadata file schema (architecture.md §7).- paths
- Profile-root resolution + name validation.
Structs§
- Download
Entry - Profile
Entry - Top-level profile inventory entry from
afhttp profile list.