Entrypoint constructor
Entrypoint(
- String workingDir,
- SystemCache cache, {
- bool checkInCache = true,
An entrypoint for the workspace containing workingDir
/
If checkInCache
is true
(the default) an error will be thrown if
rootDir
is located inside cache.rootDir
.
Implementation
Entrypoint(
this.workingDir,
this.cache, {
bool checkInCache = true,
}) : isCachedGlobal = false {
if (checkInCache && p.isWithin(cache.rootDir, workingDir)) {
fail('Cannot operate on packages inside the cache.');
}
}