Searched refs:relpath (Results 1 - 9 of 9) sorted by relevance

/pkg/src/modules/bundle/
H A DDirectoryBundle.py85 pubpath = pkg.misc.relpath(path, rootdir)
131 target = pkg.misc.relpath(self.inodes[inode],
/pkg/src/tests/cli/
H A Dt_pkgsend.py479 self.make_misc_files(os.path.relpath(top_file, src_dir),
498 self.make_misc_files(os.path.relpath(top_dir_file,
503 os.symlink(os.path.relpath(top_file, top_dir),
528 self.make_misc_files(os.path.relpath(sub_dir_file,
1403 self.make_misc_files(os.path.relpath(top_file, src_dir),
1412 self.make_misc_files(os.path.relpath(top_dir_file,
1422 self.make_misc_files(os.path.relpath(sub_dir_file,
1563 link, os.path.relpath(tpath, ldir))
/pkg/src/modules/actions/
H A Dlicense.py69 self.attrs["path"] = misc.relpath(os.path.join(
/pkg/src/tests/api/
H A Dt_p5p.py264 pkg.misc.relpath(self.test_root, "/"),
265 pkg.misc.relpath(tmp_root, "/")
268 pkg.misc.relpath(os.path.join(self.test_root, e), "/")
781 arcname = pkg.misc.relpath(fpath, ext_dir)
/pkg/src/modules/
H A Dmisc.py1401 def relpath(path, start="."): function
1402 """Version of relpath to workaround python bug:
1407 return os.path.relpath(path, start=start)
3053 # 'path', so we need to call os.path.relpath here.
3055 return os.fdopen(ar_open(root, os.path.relpath(path, root), flag, mode))
/pkg/src/modules/client/
H A Dimage.py637 misc.relpath(pval, start=self.root))
3554 spath = os.path.relpath(old_path, dest_path)
H A Dpublisher.py1814 os.symlink(misc.relpath(src,
H A Dimageplan.py1582 pubpath = pkg.misc.relpath(path, rootdir)
1732 orig_img_root, os.path.relpath(root, img_root)))
/pkg/src/tests/
H A Dpkg5unittest.py2407 def get_img_file_path(self, relpath):
2411 return os.path.join(self.img_path(), relpath)

Completed in 82 milliseconds