Function obtain [src]

Be sure to call Manifest.deinit after successful initialization.

Prototype

pub fn obtain(cache: *Cache) Manifest

Parameters

cache: *Cache

Source

pub fn obtain(cache: *Cache) Manifest { return .{ .cache = cache, .hash = cache.hash, .manifest_file = null, .manifest_dirty = false, .hex_digest = undefined, }; }