luckyshot 0.5.1

A CLI tool for one-shot code generations using RAG and file watching
1
2
3
4
5
6
pub fn prepend_metadata(path_str: &str, modified: u64, size: u64, content: &str) -> String {
    format!(
        "File: {}\nLast Modified: {}\nSize: {}\nContent:\n{}",
        path_str, modified, size, content
    )
}