API Reference
Interface
IGitHubRepositoryForkSnapshotStore
Contract for persisted GitHub fork observations.
Methods
public abstract IReadOnlyList<GitHubRepositoryForkSnapshotRecord> GetAll() #Returns:
IReadOnlyList<GitHubRepositoryForkSnapshotRecord>Returns all known fork snapshots ordered by parent, capture time, and fork name.
Returns
All persisted fork snapshots.
public abstract IReadOnlyList<GitHubRepositoryForkSnapshotRecord> GetByForkRepository(String forkRepositoryNameWithOwner) #Returns:
IReadOnlyList<GitHubRepositoryForkSnapshotRecord>Returns fork snapshots for one fork repository ordered by capture time.
Parameters
- forkRepositoryNameWithOwner System.String
- Fork repository in owner/name form.
Returns
Ordered fork snapshots for the fork repository.
public abstract IReadOnlyList<GitHubRepositoryForkSnapshotRecord> GetByParentRepository(String parentRepositoryNameWithOwner) #Returns:
IReadOnlyList<GitHubRepositoryForkSnapshotRecord>Returns fork snapshots for one parent repository ordered by capture time and fork name.
Parameters
- parentRepositoryNameWithOwner System.String
- Parent repository in owner/name form.
Returns
Ordered fork snapshots for the parent repository.
public abstract Void Upsert(GitHubRepositoryForkSnapshotRecord snapshot) #Returns:
VoidInserts or replaces a fork snapshot.
Parameters
- snapshot IntelligenceX.Telemetry.GitHub.GitHubRepositoryForkSnapshotRecord
- Fork snapshot to persist.