Function touch_file

Source
pub fn touch_file(path: &Path, datetime: Option<DateTime<Utc>>)
Expand description

Performs a coreutils touch on a file, creating it if necessary, and setting its modified time if provided.