Tom Pollard pushed to branch tpollard/494 at BuildStream / buildstream
Commits:
-
c9422747
by Tom Pollard at 2018-10-19T09:56:26Z
2 changed files:
Changes:
... | ... | @@ -568,6 +568,7 @@ class ArtifactCache(): |
568 | 568 |
# key (str): The cache key to use
|
569 | 569 |
# progress (callable): The progress callback, if any
|
570 | 570 |
# subdir (str): The optional specific subdir to pull
|
571 |
+ # excluded_subdirs (list): The optional list of subdirs to not pull
|
|
571 | 572 |
#
|
572 | 573 |
# Returns:
|
573 | 574 |
# (bool): True if pull was successful, False if artifact was not available
|
... | ... | @@ -968,6 +968,7 @@ class CASCache(ArtifactCache): |
968 | 968 |
# Args:
|
969 | 969 |
# remote (Remote): The remote to use.
|
970 | 970 |
# dir_digest (Digest): Digest object for the directory to fetch.
|
971 |
+ # excluded_subdirs (list): The optional list of subdirs to not fetch
|
|
971 | 972 |
#
|
972 | 973 |
def _fetch_directory(self, remote, dir_digest, *, excluded_subdirs=None):
|
973 | 974 |
fetch_queue = [dir_digest]
|