Lines Matching refs:meta_root
220 def __init__(self, name, meta_root=None, sign=True, file_root=None):
223 self.meta_root = meta_root
226 self.file_root = meta_root
234 if not self.meta_root or not self.exists:
236 # unless meta_root is defined and the data exists.
303 exists at <self.meta_root>/<self.name>."""
313 location = os.path.join(self.meta_root, self.name)
351 this part or None if meta_root or name is not set."""
353 if not self.meta_root or not self.name:
355 return os.path.join(self.meta_root, self.name)
359 a file using the pathname <self.meta_root>/<self.name>.
394 meta_root = property(__get_meta_root, __set_meta_root)
405 def __init__(self, name, meta_root=None, ordered=True, sign=True,
413 CatalogPartBase.__init__(self, name, meta_root=meta_root,
822 the pathname <self.meta_root>/<self.name>.
830 if not self.meta_root:
979 def __init__(self, name, meta_root=None, sign=True, file_root=None):
985 CatalogPartBase.__init__(self, name, meta_root=meta_root,
1055 the pathname <self.meta_root>/<self.name>."""
1057 if not self.meta_root:
1145 def __init__(self, meta_root=None, sign=True, file_root=None):
1150 meta_root=meta_root, sign=sign, file_root=file_root)
1241 location = os.path.join(self.meta_root, self.name)
1285 os.path.join(self.meta_root,
1306 using the pathname <self.meta_root>/<self.name>."""
1308 if not self.meta_root:
1384 def __init__(self, batch_mode=False, meta_root=None, log_updates=False,
1398 'meta_root' is an optional absolute pathname of a directory
1424 self.meta_root = meta_root
1429 self.file_root = meta_root
1432 self._attrs = CatalogAttrs(meta_root=self.meta_root, sign=sign,
1729 elif not self.meta_root and must_exist:
1734 ulog = CatalogUpdate(name, meta_root=self.meta_root,
1736 if self.meta_root and must_exist and not ulog.exists:
1924 # If the Catalog's meta_root changes, the meta_root of all of
1927 self._attrs.meta_root = pathname
1930 part.meta_root = pathname
1933 ulog.meta_root = pathname
1956 if not self.meta_root:
1967 pathname = os.path.join(self.meta_root, name)
2239 if not self.meta_root:
2249 ulog = CatalogUpdate(name, meta_root=path)
2278 dest = os.path.join(self.meta_root, name)
2301 new_attrs = CatalogAttrs(meta_root=path)
2324 self._attrs = CatalogAttrs(meta_root=self.meta_root)
2370 self._attrs = CatalogAttrs(meta_root=self.meta_root,
2376 if not self.meta_root or not os.path.exists(self.meta_root):
2382 for fname in os.listdir(self.meta_root):
2387 pname = os.path.join(self.meta_root, fname)
3372 elif not self.meta_root and must_exist:
3383 part = CatalogPart(name, meta_root=self.meta_root,
3386 if must_exist and self.meta_root and not part.exists:
3412 new_attrs = CatalogAttrs(meta_root=path)
3860 meta_root = property(__get_meta_root, __set_meta_root)
3877 catobj = CatalogAttrs(meta_root=path)
3879 catobj = CatalogPart(fn, meta_root=path)
3881 catobj = CatalogUpdate(fn, meta_root=path)