Skip to main content

EPHEMERAL_ANCESTORS

Constant EPHEMERAL_ANCESTORS 

Source
pub const EPHEMERAL_ANCESTORS: &[&str];
Expand description

Directory names that mean “the contents of this are disposable”.

Matched against a repository’s ancestors, never against the repository directory itself: a project may legitimately be called cache, but a checkout sitting inside one is something a tool put there. Editor and agent plugin managers clone into directories like ~/.claude/plugins/cache/temp_git_<id>, which is nowhere near the OS temp directory and is deleted just as fast; twenty-eight of those reached one registry before this list existed.