Skip to main content

scan

Function scan 

Source
pub fn scan(root: &Path) -> Result<Vec<Session>>
Expand description

Every session under root, open or left behind.

A directory carrying no readable record is skipped rather than reported: it is a session being created by another process right now, or the remains of one that died between the two operations, and neither is something to fail a recovery scan over.

ยงErrors

Where root exists and cannot be read. A root that is not there yet is an empty list, because a machine that has never opened a container has no sessions rather than a problem.