API Reference
Class
GitHubRepositorySnapshotAnalytics
Analytics helpers for repository snapshots.
Inheritance
- Object
- GitHubRepositorySnapshotAnalytics
Methods
public static IReadOnlyList<GitHubRepositorySnapshotDelta> BuildDailyDeltas(IEnumerable<GitHubRepositorySnapshotRecord> snapshots) #Returns:
IReadOnlyList<GitHubRepositorySnapshotDelta>Builds day-over-day deltas for the supplied snapshots, using the latest capture per UTC day.
Parameters
- snapshots System.Collections.Generic.IEnumerable{IntelligenceX.Telemetry.GitHub.GitHubRepositorySnapshotRecord}
- Snapshots to analyze.
Returns
Daily deltas grouped by repository.
public static GitHubRepositorySnapshotDelta CreateDelta(GitHubRepositorySnapshotRecord previous, GitHubRepositorySnapshotRecord current) #Returns:
GitHubRepositorySnapshotDeltaCreates a delta from two snapshots of the same repository.
Parameters
- previous IntelligenceX.Telemetry.GitHub.GitHubRepositorySnapshotRecord
- Previous snapshot when available.
- current IntelligenceX.Telemetry.GitHub.GitHubRepositorySnapshotRecord
- Current snapshot.
Returns
Snapshot delta.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object