Skip to content

Conversation

@Leonidas-from-XIV
Copy link
Collaborator

Factored out of #12394, this PR makes Pkg_common.lock_dirs_of_workspace return a Path.Source.t again. As the workspace definition is always a Path.Source.t, the CLI always refers to source paths and in #12394 it has proven to be a more sensible API.

Converting a source path to a path is fairly trivial, converting the other way requires pattern matching and handling invalid cases, so restricting the type here is most likely an improvement overall.

@Leonidas-from-XIV Leonidas-from-XIV merged commit 7619d47 into ocaml:main Sep 26, 2025
24 of 26 checks passed
@Leonidas-from-XIV Leonidas-from-XIV deleted the lock-dirs-source branch September 26, 2025 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants