Module stack

Source
Expand description

Interface to the stack file for the timelog application.

§Examples

use timelog::stack::Stack;
let stack = Stack::new("./stack.txt" )?;

stack.push("+Project @Task More detail");
let task = stack.pop().expect("Can't pop task");
println!("{:?}", task);
stack.clear();

Structs§

Stack
Represent the stack file on disk.