Manages the local disk cache for downloaded GitHub repositories.
Tarballs are extracted to {cache_dir}/{owner}/{repo}/{ref}/.
The top-level directory in the tarball (GitHub adds a owner-repo-sha/ prefix)
is stripped so the contents are placed directly in the cache path.
Summary
Functions
@spec exists?(SkillKit.Kit.GitHub.Ref.t(), Path.t()) :: boolean()
@spec extract(binary(), SkillKit.Kit.GitHub.Ref.t(), Path.t()) :: {:ok, Path.t()} | {:error, term()}
@spec kit_dir(SkillKit.Kit.GitHub.Ref.t(), Path.t()) :: Path.t()
@spec remove(SkillKit.Kit.GitHub.Ref.t(), Path.t()) :: :ok