Skip to main content

kind_of_file

Function kind_of_file 

Source
pub fn kind_of_file(name: &str) -> Option<NoteKind>
Expand description

The kind of a file by its extension; None for files the vault leaves out. Text notes are Markdown, whether named .md (Obsidian’s way) or .txt (Nextcloud Notes’ default, Markdown all the same).