let dir_sep_RE = Pcre.regexp "/"
let heading_slash_RE = Pcre.regexp "^/"
+let is_local_url s = Pcre.pmatch ~rex:file_scheme_RE s
+
let bufsiz = 16384 (* for file system I/O *)
let tcp_bufsiz = 4096 (* for TCP I/O *)
failure reason *)
exception Mkdir_failure of string * string
+ (** true for URI belonging to the "file://" scheme *)
+val is_local_url: string -> bool
+
(** "fold_left" like function on file lines, trailing newline is not passed to
the given function *)
val fold_file : (string -> 'a -> 'a) -> 'a -> string -> 'a