Vixen
dd8b0a81
csharp
public record class ScanReport

What a scan did.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Reused is what makes a scan's cost legible: it is the difference between "this project was already in order" and "this project was read from scratch", which are the same number of assets and two very different amounts of work. Rescanned is the half that was paid for.

Fields and properties (5)

  • public int Assets

    How many assets are in the index.

  • public TimeSpan Elapsed

    How long it took.

  • public IReadOnlyList<AssetIssue> Issues

    Everything worth telling somebody about.

  • public int Reused

    How many of those assets kept the entry the index already held, because their sidecar is the size and age it was when it was indexed, so the file was never opened.

  • public int Rescanned

    How many assets had their sidecar actually read.

Methods (1)

  • public ScanReport(int Assets, TimeSpan Elapsed, IReadOnlyList<AssetIssue> Issues, int Reused = 0)

    What a scan did.

Used by (12)

  • AssetDatabaseVixen.Editor.Core
  • AssetDatabaseTestsVixen.Editor.Core.Tests
  • ContentPipelineVixen.Editor.Assets
  • DoctorRunnerVixen.Cli
  • EditorApplicationVixen.Editor.App
  • EditorProjectVixen.Editor.Core
  • EditorProjectTestsVixen.Editor.Core.Tests
  • LayerStackEditingTestsVixen.Editor.Texturing.Tests
  • LayerStackPanelTestsVixen.Editor.Texturing.Tests
  • PaintAlphaSourceTestsVixen.Editor.Texturing.Tests
  • ProjectBrowserVixen.Editor.App
  • TexturingFixtureVixen.Editor.Texturing.Tests