···185185186186 {b Warning.} The {{!is_prefix}prefix property} between paths does
187187 not entail directory containement in general, as it is, by
188188- definition, a structural test. For example [is_prefix (v "..") (v
188188+ definition, a syntactic test. For example [is_prefix (v "..") (v
189189 "../..")] is [true], but the second path is not contained in the
190190 first one or [is_prefix (v "..") (v ".")] is [false]. However, on
191191 {{!normalize}normalized}, {{!is_abs}absolute} paths, the prefix relation
···265265 root directory separator and a single, empty, segment.
266266 {{!ex_is_root}Examples}.
267267268268- {b Warning.} By definition this is a structural test. For example it will
268268+ {b Warning.} By definition this is a syntactic test. For example it will
269269 return [false] on ["/a/.."] or ["/.."]. {{!normalize}Normalizing}
270270 the path before testing avoids this problem. *)
271271···273273(** [is_current_dir p] is true iff [p] is the current relative directory,
274274 i.e. either ["."] or ["./"]. {{!ex_is_current_dir}Examples}.
275275276276- {b Warning.} By definition this is a structural test. For example it will
276276+ {b Warning.} By definition this is a syntactic test. For example it will
277277 return [false] on ["./a/.."] or ["./."]. {{!normalize}Normalizing} the
278278 path before testing avoids this problem. *)
279279···281281(** [is_dotfile p] is [true] iff [p]'s last non-empty segment is not
282282 ["."] or [".."] and starts with a ['.']. {{!ex_is_dotfile}Examples}.
283283284284- {b Warning.} By definition this is a structural test. For example it will
284284+ {b Warning.} By definition this is a syntactic test. For example it will
285285 return [false] on [".ssh/."]. {{!normalize}Normalizing} the
286286 path before testing avoids this problem. *)
287287···289289(** [equal p p'] is [true] if [p] and [p'] have the same volume
290290 are both relative or absolute and have the same segments.
291291292292- {b Warning.} By definition this is a structural test. For example
292292+ {b Warning.} By definition this is a syntactic test. For example
293293 [equal (v "./") (v "a/..")] is [false]. {{!normalize}Normalizing}
294294 the paths before testing avoids this problem. *)
295295