IntelligenceX

API Reference

Interface

IGitHubRepositoryForkSnapshotStore

Namespace IntelligenceX.Telemetry.GitHub
Assembly IntelligenceX
Modifiers abstract

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 requiredposition: 0
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 requiredposition: 0
Parent repository in owner/name form.

Returns

Ordered fork snapshots for the parent repository.

public abstract Void Upsert(GitHubRepositoryForkSnapshotRecord snapshot) #
Returns: Void

Inserts or replaces a fork snapshot.

Parameters

snapshot IntelligenceX.Telemetry.GitHub.GitHubRepositoryForkSnapshotRecord requiredposition: 0
Fork snapshot to persist.