ProjectCache.forProject constructor
ProjectCache.forProject(
- Project project,
- DpkContext context
Implementation
factory ProjectCache.forProject(Project project, DpkContext context) =>
ProjectCache(
cachePath: project.cacheDirectory,
patchPath: project.patchDirectory,
lockfilePath: p.join(project.workspace.root.path, 'pubspec.lock'),
git: Git(context.processRunner),
console: context.console,
);