Expand description
Shared code for gathering up information about a workspace, used by various axo.dev tools like dist and oranda.
The main entry point is WorkspaceGraph::find
.
Modules§
- changelog
- Support for interpreting changelogs
- errors
- Errors!
- generic
- Support for generic projects with dist build instructions
- javascript
- Support for npm-based JavaScript projects
- local_
repo - Details for git repository
- rust
- Support for Cargo-based Rust projects
Structs§
- Auto
Includes - Various files we might want to auto-include
- Github
Repo - Represents a GitHub repository that we can query things about.
- Package
Id - An “opaque” identifier for a package.
- Package
Idx - An id for a
PackageInfo
entry in aWorkspaceInfo
orWorkspaceGraph
. - Package
Info - Computed info about a package
- Repository
Url - A URL to a repository, with some normalization applied
- Workspace
Graph - Workspaces
- Workspace
Idx - An id for a
WorkspaceInfo
entry in aWorkspaceGraph
. - Workspace
Info - Info on the current workspace
- Workspace
Structure - Raw type of a WorkspaceSearch, should be processed by WorkspaceGraph
Enums§
- Version
- A Version abstracted over project type
- Workspace
Kind - Kind of workspace
- Workspace
Search - Result of searching for a particular kind of workspace
Functions§
- find_
auto_ includes - Find auto-includeable files in a dir
- find_
file - Find a file with the given name, starting at the given dir and walking up to ancestor dirs, optionally clamped to a given ancestor dir
- merge_
auto_ includes - Merge AutoIncluded files into PackageInfo, preferring already existing values over the AutoIncludes. The expected way to use this is:
Type Aliases§
- Sorted
Map - A sorted map impl