package crs

  1. Overview
  2. Docs
A tool for managing code review comments embedded in source code

Install

Dune Dependency

Authors

Maintainers

Sources

crs-0.0.20250620.tbz
sha256=c9639ddde0d9126acf847a7b27a84db161b2bfbb7d3c69bba88a4fcfe1d3db21
sha512=34cfa8d001b5f8a87bdf3b78c15150f338c99cb575e8c85e6c398381f953727e0a0267c564d757330e28a57a5eedc27cb72681f82833197b17fa8d1c28a2df05

doc/crs.cr-comment/Cr_comment/Filter/index.html

Module Cr_comment.FilterSource

A type to select only a subset of CRs.

Sourcetype t =
  1. | All
  2. | Invalid
  3. | CRs
  4. | XCRs
  5. | Now
  6. | Soon
  7. | Someday
include Ppx_compare_lib.Comparable.S with type t := t
Sourceval compare : t -> t -> int
include Ppx_compare_lib.Equal.S with type t := t
Sourceval equal : t -> t -> bool
include Ppx_enumerate_lib.Enumerable.S with type t := t
Sourceval all : t list
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t

Representation

Sourceval to_string : t -> Base.string

A lowercase version of t for use e.g. as command line flags.

Sourceval shorthand : t -> Base.char

This defines opinionated shorthands to designate each case, to be used in UIs. May be shared by cli, editor integration, etc.

Matching

Sourceval matches : t -> cr:Cr_comment__.Cr_comment0.t -> Base.bool

Returns true iif the filter applies to the supplied CR.

OCaml

Innovation. Community. Security.