···88 package:string ->
99 unit ->
1010 (unit, Ctx.error) result
1111-(** [run ~proc ~fs ~config ~package ()] looks up the package in the opam repo,
1111+(** [run ~sw ~proc ~fs ~config ~package ()] looks up the package in the opam repo,
1212 ensures its checkout exists, and pulls the subtree into the monorepo. *)
+1-1
lib/cross_status.mli
···6868 monopam_config:Config.t ->
6969 unit ->
7070 t
7171-(** [compute ~fs ~verse_config ~monopam_config ()] computes cross-user status by
7171+(** [compute ~sw ~fs ~verse_config ~monopam_config ()] computes cross-user status by
7272 comparing subtrees in my monorepo against all tracked verse members'
7373 monorepos.
7474
+1-1
lib/deps.mli
···1111 dry_run:bool ->
1212 unit ->
1313 (unit, string) result
1414-(** [run ~proc ~fs ~target ~dry_run ()] brings the monorepo to a consistent
1414+(** [run ~sw ~proc ~fs ~target ~dry_run ()] brings the monorepo to a consistent
1515 state:
16161717 1. Loads [sources.toml] from [target]. If absent, does nothing. 2. For each
+4-4
lib/diff.mli
···7070 ?patch:bool ->
7171 unit ->
7272 result
7373-(** [compute ~proc ~fs ~config ~verse_config ()] computes the diff between local
7373+(** [compute ~sw ~proc ~fs ~config ~verse_config ()] computes the diff between local
7474 and verse state. *)
75757676val show_commit :
···8383 ?refresh:bool ->
8484 unit ->
8585 commit_info option
8686-(** [show_commit ~proc ~fs ~config ~verse_config ~sha ()] shows details for a
8686+(** [show_commit ~sw ~proc ~fs ~config ~verse_config ~sha ()] shows details for a
8787 specific commit in the verse diff. *)
88888989(** {1 Pull from Handle} *)
···9999 ?refresh:bool ->
100100 unit ->
101101 (handle_pull_result, Ctx.error) Stdlib.result
102102-(** [pull_from_handle ~proc ~fs ~config ~verse_config ~handle ()] pulls changes
102102+(** [pull_from_handle ~sw ~proc ~fs ~config ~verse_config ~handle ()] pulls changes
103103 from a verse collaborator's handle. *)
104104105105(** {1 Cherry-pick} *)
···114114 ?refresh:bool ->
115115 unit ->
116116 (cherrypick_result, Ctx.error) Stdlib.result
117117-(** [cherrypick ~proc ~fs ~config ~verse_config ~sha ()] cherry-picks a commit
117117+(** [cherrypick ~sw ~proc ~fs ~config ~verse_config ~sha ()] cherry-picks a commit
118118 from the verse diff. *)
+3-3
lib/feature.mli
···3737 name:string ->
3838 unit ->
3939 (entry, error) result
4040-(** [add ~fs ~config ~name ()] creates a new feature worktree.
4040+(** [add ~sw ~fs ~config ~name ()] creates a new feature worktree.
41414242 Creates a git worktree at [root/work/<name>] on a new branch named [<name>].
4343···5353 force:bool ->
5454 unit ->
5555 (unit, error) result
5656-(** [remove ~fs ~config ~name ~force ()] removes a feature worktree.
5656+(** [remove ~sw ~fs ~config ~name ~force ()] removes a feature worktree.
57575858 Removes the worktree at [root/work/<name>]. The branch is not deleted.
5959···6868 config:Verse_config.t ->
6969 unit ->
7070 entry list
7171-(** [list ~fs ~config ()] returns all feature worktrees.
7171+(** [list ~sw ~fs ~config ()] returns all feature worktrees.
72727373 Only returns worktrees in the [root/work/] directory.
7474
+6-6
lib/fork_join.mli
···146146 ?dry_run:bool ->
147147 unit ->
148148 (fork_result action_plan, error) result
149149-(** [plan_fork ~proc ~fs ~config ~name ?push_url ?dry_run ()] builds a fork
149149+(** [plan_fork ~sw ~proc ~fs ~config ~name ?push_url ?dry_run ()] builds a fork
150150 plan.
151151152152 This analyzes the current state and builds a list of actions to:
···216216 fs:Eio.Fs.dir_ty Eio.Path.t ->
217217 fork_result action_plan ->
218218 (fork_result, error) result
219219-(** [execute_fork_plan ~proc ~fs plan] executes a fork action plan.
219219+(** [execute_fork_plan ~sw ~proc ~fs plan] executes a fork action plan.
220220221221 Returns the fork result with the actual split commit (if applicable). If the
222222 plan is marked as dry-run, returns the plan's result without executing any
···228228 fs:Eio.Fs.dir_ty Eio.Path.t ->
229229 join_result action_plan ->
230230 (join_result, error) result
231231-(** [execute_join_plan ~proc ~fs plan] executes a join action plan.
231231+(** [execute_join_plan ~sw ~proc ~fs plan] executes a join action plan.
232232233233 If the plan is marked as dry-run, returns the plan's result without
234234 executing any actions. *)
···245245 ?dry_run:bool ->
246246 unit ->
247247 (fork_result, error) result
248248-(** [fork ~proc ~fs ~config ~name ?push_url ?dry_run ()] splits a monorepo
248248+(** [fork ~sw ~proc ~fs ~config ~name ?push_url ?dry_run ()] splits a monorepo
249249 subtree into its own repository.
250250251251 This operation: 1. Validates [mono/<name>/] exists 2. Validates
···271271 ?dry_run:bool ->
272272 unit ->
273273 (join_result, error) result
274274-(** [join ~proc ~fs ~config ~url ?name ?upstream ?dry_run ()] brings an external
274274+(** [join ~sw ~proc ~fs ~config ~url ?name ?upstream ?dry_run ()] brings an external
275275 repository into the monorepo.
276276277277 This operation: 1. Derives name from URL if not provided 2. Validates
···297297 ?dry_run:bool ->
298298 unit ->
299299 (join_result, error) result
300300-(** [join_from_verse ~proc ~fs ~config ~verse_config ~package ~handle ~fork_url
300300+(** [join_from_verse ~sw ~proc ~fs ~config ~verse_config ~package ~handle ~fork_url
301301 ?dry_run ()] joins a package from a verse member's repository.
302302303303 This combines [Verse.fork] (to set up opam entries) with [join]: 1. Looks up
+1-1
lib/forks.mli
···8282 ?refresh:bool ->
8383 unit ->
8484 t
8585-(** [compute ~proc ~fs ~verse_config ~monopam_config ?refresh ()] performs full
8585+(** [compute ~sw ~proc ~fs ~verse_config ~monopam_config ?refresh ()] performs full
8686 fork analysis by: 1. Scanning my opam repo for dev-repo URLs 2. Scanning all
8787 verse opam repos for dev-repo URLs 3. Adding git remotes to my checkouts for
8888 each member's fork 4. Fetching remotes and comparing commit histories
+2-2
lib/import.mli
···6565 dry_run:bool ->
6666 unit ->
6767 (result list, string) Stdlib.result
6868-(** [run ~proc ~fs ~target ~source ~name ~dry_run ()] imports a git repository
6868+(** [run ~sw ~proc ~fs ~target ~source ~name ~dry_run ()] imports a git repository
6969 as a subtree into [target].
70707171 - [source] specifies either a Git URL or a lock file to import from
···8787 dry_run:bool ->
8888 unit ->
8989 (result, string) Stdlib.result
9090-(** [git_url ~proc ~fs ~target ~url ~branch ~ref_ ?path ~name ~dry_run ()]
9090+(** [git_url ~sw ~proc ~fs ~target ~url ~branch ~ref_ ?path ~name ~dry_run ()]
9191 imports a single git URL as a subtree into [target]. When [path] is given,
9292 [url] is treated as a monorepo and the subtree at [path] is extracted via
9393 {!Git.Subtree.split} before being merged at [name]. Returns error if the
+4-4
lib/monopam.mli
···117117 ?refresh:bool ->
118118 unit ->
119119 (handle_pull_result, Ctx.error) result
120120-(** [pull_from_handle ~proc ~fs ~config ~verse_config ~handle ()] pulls changes
120120+(** [pull_from_handle ~sw ~proc ~fs ~config ~verse_config ~handle ()] pulls changes
121121 from a verse collaborator's handle. *)
122122123123val diff_show_commit :
···130130 ?refresh:bool ->
131131 unit ->
132132 commit_info option
133133-(** [diff_show_commit ~proc ~fs ~config ~verse_config ~sha ()] shows details for
133133+(** [diff_show_commit ~sw ~proc ~fs ~config ~verse_config ~sha ()] shows details for
134134 a specific commit in the verse diff. *)
135135136136val diff :
···144144 ?patch:bool ->
145145 unit ->
146146 Diff.result
147147-(** [diff ~proc ~fs ~config ~verse_config ()] computes the diff between local
147147+(** [diff ~sw ~proc ~fs ~config ~verse_config ()] computes the diff between local
148148 and verse state. *)
149149150150val is_commit_sha : string -> bool
···160160 ?refresh:bool ->
161161 unit ->
162162 (cherrypick_result, Ctx.error) result
163163-(** [cherrypick ~proc ~fs ~config ~verse_config ~sha ()] cherry-picks a commit
163163+(** [cherrypick ~sw ~proc ~fs ~config ~verse_config ~sha ()] cherry-picks a commit
164164 from the verse diff. *)
+2-2
lib/opam_sync.mli
···2727 ?packages:string list ->
2828 unit ->
2929 (t, [> `Config_error of string ]) result
3030-(** [run ~fs ~config ?packages ()] syncs opam files from monorepo subtrees to
3030+(** [run ~sw ~fs ~config ?packages ()] syncs opam files from monorepo subtrees to
3131 the local opam-repo. If [packages] is specified, only syncs those packages.
3232*)
3333···4242 ?dry_run:bool ->
4343 unit ->
4444 (t, [> `Config_error of string ]) result
4545-(** [run_from_cwd ~fs ~proc ~source ~target ?packages ?no_commit ?dry_run ()]
4545+(** [run_from_cwd ~sw ~fs ~proc ~source ~target ?packages ?no_commit ?dry_run ()]
4646 syncs opam files from [source] directory to [target] opam-repo. Works from
4747 any directory, not just the main monorepo. If [no_commit] is true, skips
4848 auto-commit. If [dry_run] is true, shows what would be exported without
+1-1
lib/push.mli
···1111 ?force:bool ->
1212 unit ->
1313 (unit, Ctx.error) result
1414-(** [run ~proc ~fs ~config ()] exports changes via subtree split and pushes to
1414+(** [run ~sw ~proc ~fs ~config ()] exports changes via subtree split and pushes to
1515 local checkouts and optionally to remote upstreams. *)
+6-6
lib/verse.mli
···6464 handle:string ->
6565 unit ->
6666 (unit, error) result
6767-(** [init ~proc ~fs ~root ~handle ()] initializes a new opamverse workspace.
6767+(** [init ~sw ~proc ~fs ~root ~handle ()] initializes a new opamverse workspace.
68686969 Idempotent — if the verse config already exists, this is a no-op.
7070···9090 config:Verse_config.t ->
9191 unit ->
9292 (status, error) result
9393-(** [status ~proc ~fs ~config ()] returns the workspace status.
9393+(** [status ~sw ~proc ~fs ~config ()] returns the workspace status.
94949595 Shows which members are tracked and the state of their local clones. *)
9696···101101 config:Verse_config.t ->
102102 unit ->
103103 (Verse_registry.member list, error) result
104104-(** [members ~proc ~fs ~config ()] returns all registry members.
104104+(** [members ~sw ~proc ~fs ~config ()] returns all registry members.
105105106106 Pulls the latest registry before returning the member list. *)
107107···113113 ?handle:string ->
114114 unit ->
115115 (unit, error) result
116116-(** [pull ~proc ~fs ~config ?handle ()] syncs all registry members.
116116+(** [pull ~sw ~proc ~fs ~config ?handle ()] syncs all registry members.
117117118118 For each member in the registry, clones or pulls both their monorepo (to
119119 [verse/<handle>/]) and their opam repo (to [verse/<handle>-opam/]).
···129129 config:Verse_config.t ->
130130 unit ->
131131 (unit, error) result
132132-(** [sync ~proc ~fs ~config ()] syncs the workspace.
132132+(** [sync ~sw ~proc ~fs ~config ()] syncs the workspace.
133133134134 Updates the registry and pulls updates for all tracked members. *)
135135···177177 ?dry_run:bool ->
178178 unit ->
179179 (fork_result, error) result
180180-(** [fork ~proc ~fs ~config ~handle ~package ~fork_url ?dry_run ()] forks a
180180+(** [fork ~sw ~proc ~fs ~config ~handle ~package ~fork_url ?dry_run ()] forks a
181181 package from a verse member's opam repo into your workspace.
182182183183 This looks up the package in the member's opam-repo
+1-1
lib/verse_registry.mli
···4040 config:Verse_config.t ->
4141 unit ->
4242 (t, string) result
4343-(** [clone_or_pull ~proc ~fs ~config ()] clones the registry if not present, or
4343+(** [clone_or_pull ~sw ~proc ~fs ~config ()] clones the registry if not present, or
4444 pulls updates if it exists. Returns the parsed registry contents.
45454646 The registry is cloned to [config.registry_path].