pub fn list_stack(config: &Config) -> Result<()>
Expand description
List the items on the stack, most recent first.
ยงErrors
- Return
PathError::FilenameMissing
if the log or stack file is missing. - Return
PathError::InvalidPath
if the path part of the log or stack file is not a valid path. - Return
PathError::FileAccess
if the file cannot be opened.