codetwin 0.1.10

A code to diagram/documentation generator.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use anyhow::Result;
/// File System abstraction - Safe writing, hashing for loop protection
use std::path::Path;

pub fn safe_read(_path: &Path) -> Result<String> {
    Err(anyhow::anyhow!("safe_read: Not implemented yet"))
}

pub fn safe_write(_path: &Path, _content: &str) -> Result<()> {
    Err(anyhow::anyhow!("safe_write: Not implemented yet"))
}

pub fn hash_file(_path: &Path) -> Result<String> {
    Err(anyhow::anyhow!("hash_file: Not implemented yet"))
}