fn writeManifest(self: *Manifest) !void
If want_shared_lock is true, this function automatically downgrades the lock from exclusive to shared.
want_shared_lock
self: *Manifest,