Searched refs:pathname (Results 1 - 25 of 32) sorted by relevance

12

/pkg/src/modules/bundle/
H A DSolarisPackageDatastreamBundle.py68 # based on pathname. The cpio archive contains the files as
78 if p.pathname[0] == "/":
82 self.pkgmap[d + p.pathname] = p
83 self.class_actions_dir[p.pathname] = p.klass
86 self.pkgmap["install/" + p.pathname] = p
106 if p.pathname[0] == "/":
110 path = d + p.pathname
158 group=mapline.group, path=mapline.pathname,
163 path=mapline.pathname)
165 act = link.LinkAction(path=mapline.pathname,
[all...]
H A DSolarisPackageDirBundle.py72 pkgmap[p.pathname] = p
73 self.class_actions_dir[p.pathname] = p.klass
128 p.pathname in faspac_contents:
135 elif p.pathname[0] == "/":
140 d, r(p.pathname, p.type)))
177 path=mapline.pathname,
196 path=mapline.pathname)
198 act = link.LinkAction(path=mapline.pathname,
201 act = hardlink.HardLinkAction(path=mapline.pathname,
203 elif mapline.type == "i" and mapline.pathname
[all...]
/pkg/src/modules/
H A Dsysvpkg.py72 (self.pathname, self.size, self.chksum,
79 (self.pathname, self.mode, self.owner, self.group,
83 (self.pathname, self.major, self.minor, self.mode,
87 (self.pathname, self.mode, self.owner, self.group) = \
91 (self.pathname, self.target) = array[3].split('=')
98 if "$BASEDIR" in self.pathname:
99 self.pathname = self.pathname.replace("$BASEDIR", basedir)
103 if self.pathname == basedir:
106 self.pathname
[all...]
H A Dcatalog.py59 def __init__(self, data, single_pass=False, pathname=None, sign=True):
78 if not pathname:
84 self.pathname = pathname
86 if not pathname:
90 dest_dir = os.path.dirname(self.pathname)
105 tfile = open(pathname, "wb", self.__bufsz)
171 self.__sha_1_value = misc.get_data_digest(self.pathname,
175 with open(self.pathname, "rb+", self.__bufsz) as sfile:
227 # Sanity check: part names can't be pathname
349 def pathname(self): member in class:CatalogPartBase
[all...]
H A Dp5p.py80 <name> is a string containing the pathname of the file in the
156 def pathname(self): member in class:ArchiveIndex
309 def __init__(self, pathname, mode="r", archive_index=None):
310 """'pathname' is the absolute path of the archive file to create
324 assert os.path.isabs(pathname)
325 self.__arc_name = pathname
551 def add(self, pathname, arcname=None):
558 'pathname' is an optional string specifying the absolute path
563 for the file in the archive. If not given, the full pathname
569 ti = tfile.gettarinfo(pathname, arcnam
1323 def pathname(self): member in class:Archive
[all...]
H A Dmanifest.py1040 def set_content(self, content=None, excludes=EmptyI, pathname=None,
1052 'pathname' is an optional filename containing the location of
1057 when 'content' is a string or 'pathname' is provided.
1060 assert content is not None or pathname is not None
1061 assert not (content and pathname)
1076 if pathname:
1078 with open(pathname, "r") as mfile:
1545 pathname=None):
1553 'cache_root' is the pathname of the directory where the manifest
1563 'pathname' i
1980 def pathname(self): member in class:FactoredManifest
[all...]
H A Dindexer.py60 def makedirs(pathname):
66 os.makedirs(pathname, PKG_DIR_MODE)
68 if e.filename == pathname and (e.errno == errno.EEXIST or
74 elif e.errno != errno.EEXIST or e.filename != pathname:
H A Dmisc.py571 'data' should be a file-like object or a pathname to a file.
1325 def makedirs(pathname):
1332 os.makedirs(pathname, PKG_DIR_MODE)
1334 if e.filename == pathname and (e.errno == errno.EEXIST or
1343 elif e.errno != errno.EEXIST or e.filename != pathname:
H A Dconfig.py517 if a == "<exec:pathname>" and \
530 if a == "<pathname>" and len(value) > 1:
1423 configuration data. This can be None, a pathname, or
1463 def __init__(self, pathname, definitions=misc.EmptyDict,
1467 'pathname' is the name of the file to read existing
1488 self._target = pathname
1494 """Reads the specified pathname and populates the configuration
1598 """Saves the configuration data using the pathname provided at
1753 'doorpath' is an optional pathname indicating the location of
/pkg/src/modules/flavor/
H A Ddepthlimitedmf.py173 def run_script(self, pathname):
174 """Find all the modules the module at pathname directly
177 fp = open(pathname, "r")
178 return self.load_module('__main__', fp, pathname)
180 def load_module(self, fqname, fp, pathname):
186 self.msgin(2, "load_module", fqname, fp and "fp", pathname)
187 co = compile(fp.read()+'\n', pathname, 'exec')
189 m.__file__ = pathname
199 pathname)
/pkg/src/modules/client/
H A Dhistory.py328 "pathname": None,
425 def pathname(self): member in class:History
426 """Returns the pathname that the history information was read
434 pathname = ops[-1]["pathname"]
435 if not pathname:
438 return pathname
565 pathname = os.path.join(self.path, filename)
566 d = xmini.parse(pathname)
575 "pathname"
[all...]
H A Dpublisher.py429 """Returns the URI path as a pathname if the URI is a file
443 "The absolute pathname of a PEM-encoded SSL certificate file.")
446 "The absolute pathname of a PEM-encoded SSL key file.")
1463 def __set_meta_root(self, pathname):
1464 if pathname:
1465 pathname = os.path.abspath(pathname)
1466 self.__meta_root = pathname
1605 """The absolute pathname of the directory containing the
2959 doc="The absolute pathname o
[all...]
H A Dimage.py1973 pathname=self.get_manifest_path(fmri))
2460 pathname = self.__state_updating_pathname()
2464 if os.path.exists(pathname):
2470 with open(pathname, "w"):
2471 os.chmod(pathname, file_mode)
2485 pathname = self.__state_updating_pathname()
2489 portable.remove(pathname)
/pkg/src/tests/api/
H A Dt_api_refresh.py170 pathname = os.path.join(api_obj._img._statedir,
172 with open(pathname, "w"):
173 os.chmod(pathname,
H A Dt_manifest.py457 pathname=self.foo_content_p5m)
474 pathname=self.foo_content_p5m)
503 pathname=self.foo_content_p5m)
512 pathname=self.foo_content_p5m)
534 pathname=self.foo_content_p5m)
545 pathname=self.foo_content_p5m)
H A Dt_history.py91 self.__class__.__filename = os.path.basename(h.pathname)
139 self.assertEqual(None, h.pathname)
H A Dt_p5p.py206 self.assertEqual(arc.pathname, arc_path)
452 sm.set_content(pathname=repo.manifest(pfmri), signatures=True)
470 sm.set_content(pathname=repo.manifest(pfmri), signatures=True)
473 dm.set_content(pathname=target, signatures=True)
/pkg/src/tests/cli/
H A Dt_pkgsurf.py616 mani.set_content(pathname=mpath)
669 targm.set_content(pathname=targ)
674 expm.set_content(pathname=exp)
748 targm.set_content(pathname=targ)
753 expm.set_content(pathname=exp)
H A Dt_pkgrecv.py294 mf.set_content(pathname=mpath)
1470 rm.set_content(pathname=rmpath)
1503 tm.set_content(pathname=tmpath)
1516 tm.set_content(pathname=tmpath)
/pkg/src/modules/server/
H A Dfeed.py315 pathname = __get_cache_pathname(depot, pub)
317 if os.path.exists(pathname):
318 os.remove(pathname)
H A Dapi.py361 mfst.set_content(pathname=mpath)
/pkg/src/util/publish/
H A Dpkgsurf.py252 mani.set_content(pathname=path)
644 portable.rename(rmani.pathname, path)
H A Dpkgdiff.py139 m.set_content(pathname=p)
/pkg/src/
H A Dpull.py831 f, m.pathname)
870 fs = os.stat(nm.pathname)
931 archive_list.append((nf, nm.pathname, pkgdir))
1449 f, m.pathname)
/pkg/src/modules/client/transport/
H A Drepo.py876 pathname = os.path.join(dirname, basename)
885 data_fp=pathname)

Completed in 109 milliseconds

12