diff options
Diffstat (limited to 'cli/internal/cache/cache_noop.go')
| -rw-r--r-- | cli/internal/cache/cache_noop.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cli/internal/cache/cache_noop.go b/cli/internal/cache/cache_noop.go deleted file mode 100644 index 80a3c23..0000000 --- a/cli/internal/cache/cache_noop.go +++ /dev/null @@ -1,23 +0,0 @@ -package cache - -import "github.com/vercel/turbo/cli/internal/turbopath" - -type noopCache struct{} - -func newNoopCache() *noopCache { - return &noopCache{} -} - -func (c *noopCache) Put(_ turbopath.AbsoluteSystemPath, _ string, _ int, _ []turbopath.AnchoredSystemPath) error { - return nil -} -func (c *noopCache) Fetch(_ turbopath.AbsoluteSystemPath, _ string, _ []string) (ItemStatus, []turbopath.AnchoredSystemPath, int, error) { - return ItemStatus{Local: false, Remote: false}, nil, 0, nil -} -func (c *noopCache) Exists(_ string) ItemStatus { - return ItemStatus{} -} - -func (c *noopCache) Clean(_ turbopath.AbsoluteSystemPath) {} -func (c *noopCache) CleanAll() {} -func (c *noopCache) Shutdown() {} |
