Skip to main content

get_file_mtime

Function get_file_mtime 

Source
pub async fn get_file_mtime(file_path: &str) -> u64
Expand description

Get a file’s modification time (mtimeMs), falling back to Date.now() if the file doesn’t exist.