Skip to main content

mentions_schedr

Function mentions_schedr 

Source
pub fn mentions_schedr(path: &Path) -> bool
Expand description

Whether path contains DAG_FILE_MARK, in its bytes, whatever its encoding. A file that can’t be read counts as mentioning it: the parser then reports why, under its timeout, instead of its DAGs quietly counting as removed. So does what isn’t a regular file (opening a FIFO would wait for a writer, with no timeout here).