Function kismet_cache::raw_cache::touch [−][src]
pub fn touch(path: impl AsRef<Path>) -> Result<bool>Expand description
Sets the access bit to true for the file at path: the next time
that file is up for eviction, it will get a second chance. Returns
true if the file was found, false otherwise.
In most cases, there is no need to explicitly call this function:
the operating system will automatically perform the required
update while opening the file at path.