Skip to content

GitHubRepo

Namespace Nfty.Core.Publish.Community in assembly Nfty.Core.

public sealed record GitHubRepo

A GitHub repository.

Constructors

GitHubRepo(string, bool, string, long)

public GitHubRepo(string FullName, bool Private, string DefaultBranch, long SizeKb);

Parameters

  • FullName (string) - owner/name.
  • Private (bool) - Whether it is private.
  • DefaultBranch (string) - Its default branch.
  • SizeKb (long) - Its size in KB as GitHub reports it.

Properties

DefaultBranch

public string DefaultBranch { get; init; }

Its default branch.

FullName

public string FullName { get; init; }

owner/name.

Private

public bool Private { get; init; }

Whether it is private.

SizeKb

public long SizeKb { get; init; }

Its size in KB as GitHub reports it.