Searched refs:shutil (Results 1 - 25 of 88) sorted by relevance

1234

/pkg/src/tests/api/
H A Dt_api_refresh.py33 import shutil namespace
95 shutil.copytree(statedir, statedir_backup)
112 shutil.rmtree(statedir)
113 shutil.copytree(statedir_backup, statedir)
145 shutil.copytree(img_statedir, img_statedir_backup)
158 shutil.rmtree(img_statedir)
159 shutil.copytree(img_statedir_backup, img_statedir)
H A Dt_indexer.py38 import shutil namespace
93 shutil.rmtree(ind._tmp_dir)
H A Dt_pkgtarfile.py36 import shutil namespace
62 shutil.rmtree(cpath)
H A Dt_plat.py32 import shutil namespace
97 shutil.copyfile(exefilesrc, exefile)
121 shutil.rmtree(tdir1)
140 shutil.copyfile(exefilesrc, exefile)
159 shutil.rmtree(tdir1)
H A Dt_misc.py34 import shutil namespace
69 shutil.rmtree(tmpdir)
H A Dt_imageconfig.py34 import shutil namespace
H A Dt_p5p.py45 import shutil namespace
509 shutil.rmtree(ext_dir)
533 shutil.rmtree(ext_dir)
555 shutil.rmtree(ext_dir)
566 shutil.rmtree(ext_dir)
588 shutil.rmtree(ext_dir)
718 shutil.rmtree(ext_tmp_dir)
722 shutil.rmtree(ext_tmp_dir)
768 shutil.rmtree(ext_dir)
946 shutil
[all...]
H A Dt_altroot.py32 import shutil namespace
125 shutil.rmtree(self.test_path)
H A Dt_pkg_api_install.py44 import shutil namespace
520 shutil.rmtree(dir_path)
532 shutil.rmtree(dir_path)
1110 shutil.rmtree(os.path.dirname(mcdir))
1261 shutil.rmtree(dest_dir)
1274 shutil.rmtree(dest_dir)
1344 shutil.move(src, os.path.dirname(new_src))
1411 shutil.move(src, os.path.dirname(new_src))
1485 shutil.move(src, os.path.dirname(new_src))
H A Dt_history.py34 import shutil namespace
319 shutil.rmtree(h.path)
423 shutil.rmtree(h.path)
/pkg/src/tests/ro_data/signing_certs/
H A Dgenerate_certs.py30 import shutil namespace
41 shutil.rmtree(output_dir)
194 shutil.copy("cust_key.pem",
196 shutil.copy("cust_cert.pem",
198 shutil.copy("cust_cert.pem",
/pkg/src/tests/cli/
H A Dt_pkg_image_create.py39 import shutil namespace
155 shutil.rmtree(self.get_img_path())
217 shutil.rmtree(img_path)
239 shutil.rmtree(img_path, True)
247 shutil.rmtree(img_path)
273 shutil.rmtree(img_path, True)
283 shutil.rmtree(img_path)
293 shutil.rmtree(img_path)
307 shutil.rmtree(img_path)
362 shutil
[all...]
H A Dt_pkg_uninstall.py31 import shutil namespace
172 shutil.rmtree(mdir)
176 shutil.rmtree(mcdir)
H A Dt_pkglint.py32 import shutil namespace
549 shutil.rmtree(cache)
560 shutil.rmtree(cache)
582 shutil.rmtree(cache)
611 shutil.rmtree(cache)
630 shutil.rmtree(self.cache_dir)
658 shutil.rmtree(self.cache_dir)
674 shutil.rmtree(self.cache_dir)
693 shutil.rmtree(self.cache_dir)
710 shutil
[all...]
H A Dt_pkgmerge.py37 import shutil namespace
438 shutil.rmtree(repodir)
516 shutil.rmtree(repodir)
566 shutil.rmtree(repodir)
654 shutil.rmtree(repodir)
734 shutil.rmtree(repodir)
773 shutil.rmtree(repodir)
889 shutil.rmtree(repodir)
913 shutil.rmtree(repodir)
1014 shutil
[all...]
H A Dt_pkgrepo.py44 import shutil namespace
268 shutil.rmtree(repo_path)
275 shutil.rmtree(repo_path)
281 shutil.rmtree(repo_path)
303 shutil.rmtree(repo_path)
452 shutil.rmtree(repo_path)
463 shutil.rmtree(repo_path)
762 shutil.rmtree(repo_path)
765 shutil.rmtree(repo_path)
827 shutil
[all...]
H A Dt_pkg_refresh.py33 import shutil namespace
472 shutil.copytree(dc.get_repodir(), trpath)
489 shutil.rmtree(dc.get_repodir())
490 shutil.move(trpath, dc.get_repodir())
514 shutil.copytree(dc.get_repodir(), trpath)
533 shutil.rmtree(dc.get_repodir())
534 shutil.move(trpath, dc.get_repodir())
572 shutil.copytree(v1_cat.meta_root, old_cat)
636 shutil.rmtree(v1_cat.meta_root)
637 shutil
[all...]
H A Dt_https.py34 import shutil namespace
201 shutil.copy(bad_cert_path, pkg_cert_path)
242 shutil.copy(bad_cert_path, pkg_cert_path)
249 shutil.copy(bad_cert_path, pkg_cert_path)
H A Dt_util_update_file_layout.py35 import shutil namespace
H A Dt_pkg_info.py32 import shutil namespace
192 shutil.rmtree(mdir)
196 shutil.rmtree(mcdir)
261 shutil.rmtree(mdir)
265 shutil.rmtree(mcdir)
H A Dt_pkgsurf.py37 import shutil namespace
591 shutil.copytree(self.dpath2, path)
655 shutil.rmtree(tempdir)
/pkg/src/modules/portable/
H A Dos_windows.py36 import shutil namespace
168 shutil.rmtree(trashdir, True)
242 shutil.copyfile(src, dst)
H A Dos_unix.py39 import shutil namespace
283 shutil.copy2(src, tmpdst)
308 shutil.copyfile(src, dst)
/pkg/src/modules/
H A Dindexer.py30 import shutil namespace
739 shutil.rmtree(tmp_index_dir)
876 shutil.rmtree(self._index_dir + ".old")
968 shutil.move(os.path.join(source_dir,
975 shutil.rmtree(os.path.join(dest_dir, "pkg"))
982 shutil.move(
987 shutil.move(
990 shutil.rmtree(source_dir)
/pkg/src/
H A Dpull.py34 import shutil namespace
209 shutil.rmtree(d, ignore_errors=True)
747 shutil.rmtree(pkgdir,
753 shutil.rmtree(pkg_parentdir,
1003 shutil.rmtree(old_c_root)
1004 shutil.move(c_root, old_c_root)
1005 shutil.copytree(src_cat_root, c_root)
1189 shutil.move(src_path, dst_path)
1276 shutil.rmtree(c_root)
1277 shutil
[all...]

Completed in 162 milliseconds

1234