summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/sources/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/plugins/sources/local.py')
-rw-r--r--src/buildstream/plugins/sources/local.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/buildstream/plugins/sources/local.py b/src/buildstream/plugins/sources/local.py
index 90d8a8f6f..57bcf14df 100644
--- a/src/buildstream/plugins/sources/local.py
+++ b/src/buildstream/plugins/sources/local.py
@@ -38,7 +38,7 @@ details on common configuration options for sources.
import os
from buildstream.storage.directory import Directory
-from buildstream import Source, SourceError, Consistency
+from buildstream import Source, SourceError
class LocalSource(Source):
@@ -61,8 +61,11 @@ class LocalSource(Source):
def preflight(self):
pass
- def get_consistency(self):
- return Consistency.CACHED
+ def is_resolved(self):
+ return True
+
+ def is_cached(self):
+ return True
# We dont have a ref, we're a local file...
def load_ref(self, node):