Lines Matching refs:readonly
92 def add_cache(self, path, layout=None, pub=None, readonly=True):
97 specified 'pub', its 'readonly' status will be updated.
108 'readonly' is an optional boolean value indicating whether file
123 if not cache.readonly
134 if readonly:
136 cache.readonly = True
148 cache.readonly = False
153 pub_caches.append(fm.FileManager(path, readonly,
159 def get_caches(self, pub=None, readonly=True):
168 'readonly' is an optional boolean value indicating whether
183 if readonly or not cache.readonly
186 if not readonly and caches:
191 # If not filtering on publisher, this is a readonly case, or no
197 if readonly or not cache.readonly
283 # or mirrors that are filesystem-based as readonly caches.
329 readonly=True)
431 for path, readonly, pub, layout in self.__img.get_cachedirs():
433 readonly=readonly)
1794 cache = self.cfg.get_caches(pub, readonly=False)
2634 should be validated if needed. The content of readonly caches
2645 for cache in self.cfg.get_caches(pub=pub, readonly=True):
2650 # Assume readonly caches are valid (likely a
2658 verify = not cache.readonly
2787 cache_fms = self.cfg.get_caches(readonly=False)