Module helper

Source

Functions§

find_one_object
lockfile
Lock a file for exclusive access.
no_object_exists
Returns Ok(()) if no objects specified by id or label exist.
object_exists
Returns true if one or more objects specified by id or label exist.
parse_range
Parse a range from a string (e.g. “10..20”). The integers in the range may be expressed in either decimal or hexadecimal.
random_id
Generates an 8-byte random id.
search_spec
search_spec_ex
Constructs a search template given an id or label.