Function sortery::tools::sort::get_datetime[][src]

fn get_datetime(path: &File, date_type: &str) -> DateTime<Local>
Expand description

Return a DateTime instance representing the creation, modification, or access time of path according to date_type.

date_type must be one of "c" (created), "a" (accessed), or "m" (modified). Note that creation time is not available on all filesystems.