Skip to main content

rename_folder

Function rename_folder 

Source
pub fn rename_folder(
    vault: &Vault,
    path: &str,
    name: &str,
) -> Result<(String, Vec<(String, String)>), String>
Expand description

A folder renamed in place, its notes with it; the notes that name them by their path follow ([[folder/note]], Markdown links, sioul:note/ addresses). Returns its new path and each note moved, from and to.