Vixen
02b45cc4
csharp
public record class ScanOptions

How a scan should behave when it finds something wrong.

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

Remarks

All three default to repairing, because that is what opening a project should do. They exist because inspection is a real use — a build server asking "is this project clean?" wants the answer, not a working tree with edits in it.

Fields and properties (5)

  • public bool CreateMissingMeta

    Whether a file with no sidecar gets one.

  • public bool QuarantineOrphanMeta

    Whether a sidecar with no asset is moved aside.

  • public bool ResolveDuplicateGuids

    Whether one of two assets claiming a GUID is re-GUIDed.

  • public static ScanOptions Default

    Repair everything. What opening a project does.

  • public static ScanOptions ReadOnly

    Change nothing on disk. What a check does.

Methods (1)

  • public ScanOptions(bool CreateMissingMeta = true, bool QuarantineOrphanMeta = true, bool ResolveDuplicateGuids = true)

    How a scan should behave when it finds something wrong.

Used by (4)

  • AssetDatabaseVixen.Editor.Core
  • AssetDatabaseTestsVixen.Editor.Core.Tests
  • DoctorRunnerVixen.Cli
  • EditorProjectVixen.Editor.Core