RepoSnapshot¶
Namespace Nfty.Core.Publish.Community in assembly Nfty.Core.
Everything the scan reads about a user's nfty-public repository.
Constructors¶
RepoSnapshot(GitHubRepo, IReadOnlyList<GitHubTreeItem>, IReadOnlyList<string>, IReadOnlyList<GitHubRelease>, IReadOnlyList<string>, PublicRepoManifest?, IReadOnlyCollection<string>)¶
public RepoSnapshot(GitHubRepo Repo, IReadOnlyList<GitHubTreeItem> Tree, IReadOnlyList<string> Branches, IReadOnlyList<GitHubRelease> Releases, IReadOnlyList<string> Tags, PublicRepoManifest? Manifest, IReadOnlyCollection<string> ProtectedTags);
Parameters
Repo(GitHubRepo) - The repository.Tree(IReadOnlyList<GitHubTreeItem>) - The default branch's tree, recursive.Branches(IReadOnlyList<string>) - Every branch name.Releases(IReadOnlyList<GitHubRelease>) - Every release with its files.Tags(IReadOnlyList<string>) - Every tag name.Manifest(PublicRepoManifest?) - The repository'snfty-public.json, or null when it is missing or not one nfty wrote.ProtectedTags(IReadOnlyCollection<string>) - Release tags the gallery or an open pull request still depends on, which are never extras even whennfty-public.jsondoes not list them (the live version while an update is open, the new one while it is).
Properties¶
Branches¶
Every branch name.
Manifest¶
The repository's nfty-public.json, or null when it is missing or not one nfty wrote.
ProtectedTags¶
Release tags the gallery or an open pull request still depends on, which are never extras even when nfty-public.json does not list them (the live version while an update is open, the new one while it is).
Releases¶
Every release with its files.
Repo¶
The repository.
Tags¶
Every tag name.
Tree¶
The default branch's tree, recursive.