This file is indexed.

/usr/lib/ocaml/sexplib/src_pos.mli is in libsexplib-camlp4-dev 113.00.00-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
(** source positions, both relative and absolute *)

module Relative : sig
  type t = { row : int; col : int }
  val sexp_of_t : t -> Type.t

  val zero : t
  val add : t -> t -> t
  val sub : t -> t -> t
end

module Absolute : sig
  type t = { row : int; col : int }
  val sexp_of_t : t -> Type.t

  val origin : t (* first row, first column *)

  val of_lexing : Lexing.position -> t

  val diff : t -> t -> Relative.t

  val add : t -> Relative.t -> t
  val sub : t -> Relative.t -> t

  (*val compare : t -> t -> int*)
  val geq     : t -> t -> bool
end