diff options
| author | 2023-04-28 01:36:55 +0800 | |
|---|---|---|
| committer | 2023-04-28 01:36:55 +0800 | |
| commit | fc8c5fdce62fb229202659408798a7b6c98f6e8b (patch) | |
| tree | 7554f80e50de4af6fd255afa7c21bcdd58a7af34 /cli/internal/cache/cache_noop.go | |
| parent | dd84b9d64fb98746a230cd24233ff50a562c39c9 (diff) | |
| download | HydroRoll-fc8c5fdce62fb229202659408798a7b6c98f6e8b.tar.gz HydroRoll-fc8c5fdce62fb229202659408798a7b6c98f6e8b.zip | |
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() {} |
