Source file fpath_base.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module Fpath = struct
  module T = Fpath_sexp0.Fpath
  include T
  include Comparable.Make (T)

  let hash_fold_t state t = String.hash_fold_t state (T.to_string t)
end

module Absolute_path = struct
  module T = Fpath_sexp0.Absolute_path
  include T
  include Comparable.Make (T)

  let hash_fold_t state t = String.hash_fold_t state (T.to_string t)
end

module Relative_path = struct
  module T = Fpath_sexp0.Relative_path
  include T
  include Comparable.Make (T)

  let hash_fold_t state t = String.hash_fold_t state (T.to_string t)
end

module Fsegment = struct
  module T = Fpath_sexp0.Fsegment
  include T
  include Comparable.Make (T)

  let hash_fold_t state t = String.hash_fold_t state (T.to_string t)
end

module Fpart = Fsegment