IsSchemaVersionSupported checks if a schema version is supported
(version LockSchemaVersion)
| 67 | |
| 68 | // IsSchemaVersionSupported checks if a schema version is supported |
| 69 | func IsSchemaVersionSupported(version LockSchemaVersion) bool { |
| 70 | return slices.Contains(SupportedSchemaVersions, version) |
| 71 | } |
| 72 | |
| 73 | // ExtractMetadataFromLockFile extracts structured metadata from a lock file's comment header |
| 74 | // Returns metadata and whether legacy format (no metadata) was detected |
no outgoing calls