Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { // TODO(gsoltis): should the RootPackageJSON be included in PackageInfos? PackageInfos map[interface{}]*fs.PackageJSON PackageNames []string TopologicalGraph dag.AcyclicGraph RootNode string Lockfile lockfile.Lockfile PackageManager *packagemanager.PackageManager // contains filtered or unexported fields }
Context of the CLI
func BuildPackageGraph ¶
func BuildPackageGraph(repoRoot titanpath.AbsoluteSystemPath, rootPackageJSON *fs.PackageJSON) (*Context, error)
BuildPackageGraph constructs a Context instance with information about the package dependency graph
func SinglePackageGraph ¶
func SinglePackageGraph(repoRoot titanpath.AbsoluteSystemPath, rootPackageJSON *fs.PackageJSON) (*Context, error)
SinglePackageGraph constructs a Context instance from a single package.
Click to show internal directories.
Click to hide internal directories.