module

Via::Static::Path

Instance methods

canonical_root(path : String) : String
Source
inside_root?(root : String, path : String) : Bool
Source
normalize_relative(path : String, *, allow_empty : Bool = false) : String | Nil
Source
resolve(root : String, relative_path : String) : Tuple(String, File::Info) | Nil
Source