Function kvarn::read::file_cached_with_mtime
source · pub async fn file_cached_with_mtime<P: AsRef<str>>(
path: P,
cache: Option<&FileCache>
) -> Option<(Bytes, OffsetDateTime)>
Expand description
Like file_cached
, but also gives you the timestamp of the last modification to the file.