package crs
A tool for managing code review comments embedded in source code
Install
dune-project
Dependency
Authors
Maintainers
Sources
crs-0.0.20250914.tbz
sha256=dad0c46a83ef40da150d8b840b01c66af3b979dfa7c3e17c3edef38aa84b804f
sha512=d7a8b2a34f4a3ddda0eaaa3e4248ec2870f944a5d64782bd73b031637b01e94a378d7534b1c02da739f32343b342ed8e8bf491e6442a3bd7b0e748bd61c58770
doc/crs.crs-parser/Crs_parser/index.html
Module Crs_parser
Source
Utils for parsing and searching for code review comments (CRs) in versioned source files.
Parsing
Source
val parse_file :
path:Volgo.Vcs.Path_in_repo.t ->
file_contents:Volgo.Vcs.File_contents.t ->
Cr_comment.t Base.list
Parse all code review comments (CRs) from a file. Comments that resemble CRs but are malformed or partially invalid are still returned, with error information in their metadata, so users can be alerted rather than having such comments silently ignored.
Searching
Source
val grep :
vcs:< Volgo.Vcs.Trait.ls_files.. > Volgo.Vcs.t ->
repo_root:Volgo.Vcs.Repo_root.t ->
below:Volgo.Vcs.Path_in_repo.t ->
Cr_comment.t Base.list
Search recursively for all code review comments (CRs) in files versioned under the supplied repo_root
, starting at and below
the given path in the repository. Only files tracked by the version control system are included; untracked or ignored files are skipped. Returns all found CRs.