1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use std::path::Path; pub type Key = String; pub type Favorite = (Key, String); pub enum JumpTo { Key(Key), ProjectRoot, FuzzyFinder } pub enum WhereToAdd<'a> { Path(&'a Path), CurrentDirectory, }