Skip to main content

is_remote_path

Function is_remote_path 

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

Whether path is somewhere reading it could block: an object-store or HTTP URL, or a directory on a network filesystem.

This is the predicate the home screen uses to decide what it may touch on the interface thread. It answers from the string and the mount table alone, never by reaching for the thing itself.