csharp
public record class ScanOptionsHow 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 CreateMissingMetaWhether a file with no sidecar gets one.
public bool QuarantineOrphanMetaWhether a sidecar with no asset is moved aside.
public bool ResolveDuplicateGuidsWhether one of two assets claiming a GUID is re-GUIDed.
public static ScanOptions DefaultRepair everything. What opening a project does.
public static ScanOptions ReadOnlyChange 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