pub fn parse_lock(text: &str, file: FileId) -> Result<Lock, Diagnostic>
Parse text, the contents of a nova.lock that a FileDb holds as file. Anything a lock written by nova would not hold is M0016.
text
nova.lock
FileDb
file