Crate recently_used_xbel
source ·Expand description
Parse the ~/.local/share/recently-used.xbel
file
fn main() -> Result<(), Box<dyn std::error::Error>> {
let recently_used = recently_used_xbel::parse_file()?;
for bookmark in recently_used.bookmarks {
println!("{:?}", bookmark);
}
Ok(())
}
Structs§
- An application that accessed the bookmark.
- A list of applications that accessed the bookmark.
- A file that was recently opened by the desktop user.
- Metadata containing MIME type and application info.
- The MIME type of the file.
- Stores recently-opened files accessed by the desktop user.
Enums§
- An error that can occur when accessing recently-used files.
Functions§
- The path where the recently-used.xbel file is expected to be found.
- Convenience function for parsing the recently-used.xbel file in its default location.
- Updates the list of recently used files.