[Notes] [Git][BuildStream/buildstream][tpollard/494] mend



Title: GitLab

Tom Pollard pushed to branch tpollard/494 at BuildStream / buildstream

Commits:

2 changed files:

Changes:

  • buildstream/_artifactcache/artifactcache.py
    ... ... @@ -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
    

  • buildstream/_artifactcache/cascache.py
    ... ... @@ -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]
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]