Vixen
feb85697
csharp
public record class SourceControlRevision

One commit that touched a file, as a history row shows it.

Read the guide page for this →

Remarks

⚠ Both ids, rather than one and an abbreviation rule. How many characters are enough to be unambiguous is a property of the repository — git decides it per repository and grows it as the repository does — so a panel that truncated the full one itself would print an id that resolves to two commits in exactly the repositories where that matters.

Fields and properties (5)

  • public string Id

    The full revision, which is what a later command is given.

  • public string ShortId

    The abbreviation a person reads and quotes.

  • public string Author

    Who wrote it.

  • public DateTimeOffset When

    When they did, in their own offset as the provider recorded it.

  • public string Summary

    The first line of the message, which is the row's label.

Methods (1)

  • public SourceControlRevision(string Id, string ShortId, string Author, DateTimeOffset When, string Summary)

    One commit that touched a file, as a history row shows it.

Used by (11)

  • AssetRevisionsVixen.Editor.App
  • CancellingVixen.Editor.App.Tests
  • FakeVixen.Editor.App.Tests
  • FixedVixen.Editor.App.Tests
  • GitSourceControlVixen.Editor.App
  • GitSourceControlTestsVixen.Editor.App.Tests
  • ISourceControlVixen.Editor.Assets
  • ISourceControlProviderVixen.Editor.App
  • ProjectSourceControlVixen.Editor.App
  • RecordingVixen.Editor.App.Tests
  • RevisionsViewVixen.Editor.App