Skip to main content

mirror_written_file

Function mirror_written_file 

Source
fn mirror_written_file(
    id_store: &Store,
    agent_id: &str,
    dest: &Path,
    filename: &str,
    content: &str,
    who: &str,
)
Expand description

Mirrors a file just written to dest into db_agent_native_memory, from its real on-disk size and mtime. Non-fatal on failure.