pub fn swap_entry(config: &Config) -> Result<()>Expand description
Swap the current task with the top item on the stack.
ยงErrors
- Return
PathError::FilenameMissingif thefilehas no filename. - Return
PathError::InvalidPathif the path part offileis not a valid path.