fn put(
state: &AppState,
owner_id: &str,
dir: &Path,
file: &str,
content: &str,
source: &str,
detail: &str,
) -> Result<(), String>Expand description
Write content as file’s next version and into the folder; returns the version’s id.