# Functions
Function to construct dependency graph from dependency map.
Function to construct dependency graph by parsing kcl.mod file.
Traverse dependency graph using depth-first search (DFS).
No description provided by the author
NewArchiveVisitor creates a new ArchiveVisitor.
NewDepsResolver creates a new DepsResolver.
NewKpmClient will create a new kpm client with default settings.
NewPkgVisitor creates a new PkgVisitor.
No description provided by the author
NewRemoteVisitor creates a new RemoteVisitor.
NewVirtualPkgVisitor creates a new VirtualPkgVisitor.
NewVisitor is a factory function to create a new Visitor.
Output dependencies in the same format as go mod graph.
WithArguments sets the arguments for running the kcl package.
WithCachePath sets the path of the cache.
WithCompileOnly sets the compile only mode for running the kcl package.
WithDebug sets the debug mode for running the kcl package.
WithDisableNone sets the disable none mode for running the kcl package.
WithEnableCache sets the flag to enable the cache during the resolving the remote package.
WithExternalPkgs sets the external packages for running the kcl package.
No description provided by the author
No description provided by the author
WithOverrides sets the overrides for running the kcl package.
WithPathSelectors sets the path selectors for running the kcl package.
No description provided by the author
No description provided by the author
WithResolveSource sets the source of the package to be resolved.
WithResolveSourceUrl sets the source of the package to be resolved by the source url.
WithRunSources sets the source for running the kcl package.
WithRunSources sets the sources for running the kcl package.
WithRunSourceUrl sets the source url for running the kcl package.
WithRunSourceUrls sets the source urls for running the kcl package.
WithSettingFiles sets the setting files for running the kcl package.
WithShowHidden sets the show hidden mode for running the kcl package.
WithSortKeys sets the sort keys for running the kcl package.
WithStrictRange sets the strict range mode for running the kcl package.
WithUpdatedKclPkg sets the kcl package to be updated.
WithVendor sets the vendor mode for running the kcl package.
WithWorkDir sets the work directory for running the kcl package.
# Constants
No description provided by the author
# Structs
ArchiveVisitor is the visitor for visiting a package which is a local tar/tgz path.
DepsResolver is the resolver for resolving dependencies.
KpmClient is the client of kpm.
PkgVisitor is the visitor for visiting a local package.
The PullOptions struct contains the options for pulling a package from the registry.
RemoteVisitor is the visitor for visiting a remote package.
No description provided by the author
RunOptions contains the options for running a kcl package.
UpdateOptions is the option for updating a package.
VirtualPkgVisitor is the visitor for visiting a package which do not have a kcl.mod file in the root path.
# Interfaces
Visitor is the interface for visiting a package which is a local path, a remote git/oci path, or a local tar path.
# Type aliases
Construct dependency graph.
No description provided by the author
ResolveOption is the option for resolving dependencies.
No description provided by the author
No description provided by the author