/pkg/src/tests/api/ |
H A D | t_misc.py | 35 import stat namespace 50 os.chmod(tmpdir, stat.S_IRWXU) 57 act.makedirs(foopath, mode = stat.S_IREAD) 61 assert(os.stat(tmpdir).st_mode & (stat.S_IREAD | stat.S_IWRITE) != 0) 62 assert(os.stat(fpath).st_mode & (stat.S_IREAD | stat.S_IWRITE) != 0) 63 assert(os.stat(fopat [all...] |
H A D | t_indexer.py | 37 import stat namespace 91 fs = os.stat(os.path.join(ind._tmp_dir, file)) 102 self.assertTrue(os.stat(os.path.join(ind._tmp_dir , "sort.0")).st_size == 0)
|
H A D | t_api_refresh.py | 34 import stat namespace 174 stat.S_IRUSR|stat.S_IWUSR|stat.S_IRGRP|stat.S_IROTH)
|
H A D | t_history.py | 35 import stat namespace 451 self.assertEqual(stat.S_IMODE(os.stat(h.path).st_mode), 455 self.assertEqual(stat.S_IMODE(os.stat(entry).st_mode),
|
/pkg/src/modules/bundle/ |
H A D | DirectoryBundle.py | 30 import stat namespace 87 mode = oct(stat.S_IMODE(pstat.st_mode)) 115 if stat.S_ISREG(pstat.st_mode): 135 elif stat.S_ISLNK(pstat.st_mode): 138 elif stat.S_ISDIR(pstat.st_mode): 144 return stat.S_ISDIR(os.stat(filename).st_mode)
|
H A D | TarBundle.py | 28 import stat namespace 61 mode=oct(stat.S_IMODE(tarinfo.mode)), 67 mode=oct(stat.S_IMODE(tarinfo.mode)),
|
H A D | SolarisPackageDatastreamBundle.py | 28 import stat namespace 37 stat.S_IFBLK: "block-special", 38 stat.S_IFCHR: "character-special", 39 stat.S_IFDIR: "directory", 40 stat.S_IFIFO: "fifo", 41 stat.S_IFLNK: "link", 42 stat.S_IFREG: "file", 43 stat.S_IFSOCK: "socket"
|
H A D | __init__.py | 111 print(os.stat(file.attrs["file"]))
|
/pkg/src/modules/actions/ |
H A D | hardlink.py | 35 import stat namespace 111 self.verify_fsobj_common(img, stat.S_IFREG) 130 if os.stat(path).st_ino != os.stat(target).st_ino:
|
H A D | directory.py | 38 import stat namespace 88 fs_mode = stat.S_IFMT(fs.st_mode) 93 if stat.S_ISDIR(fs_mode): 99 if stat.S_ISLNK(fs_mode): 116 elif stat.S_ISREG(fs_mode): 123 elif stat.S_ISDIR(fs_mode): 160 mode |= stat.S_IWUSR 216 self.verify_fsobj_common(img, stat.S_IFDIR)
|
H A D | generic.py | 41 import stat namespace 217 fs = os.stat(data) 649 if not stat.S_ISDIR(fs.st_mode): 688 fs = os.stat(os.path.join(*pathlist[:i])) 951 stat.S_IFIFO: "fifo", 952 stat.S_IFCHR: "character device", 953 stat.S_IFDIR: "directory", 954 stat.S_IFBLK: "block device", 955 stat.S_IFREG: "regular file", 956 stat [all...] |
H A D | link.py | 35 import stat namespace 86 self.verify_fsobj_common(img, stat.S_IFLNK)
|
H A D | file.py | 36 import stat namespace 300 os.chmod(final_path, stat.S_IRUSR|stat.S_IWUSR) 357 self.verify_fsobj_common(img, stat.S_IFREG) 359 if not stat.S_ISREG(lstat.st_mode): 786 os.chmod(path, stat.S_IWRITE|stat.S_IREAD)
|
H A D | license.py | 36 from stat import S_IWRITE, S_IREAD 207 length = os.stat(path).st_size
|
/pkg/src/modules/flavor/ |
H A D | script.py | 28 import stat namespace 87 (stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
|
/pkg/src/modules/ |
H A D | pkgtarfile.py | 28 import stat namespace 90 os.makedirs(upperdirs, stat.S_IRWXU)
|
/pkg/src/modules/portable/ |
H A D | os_windows.py | 39 import stat namespace 234 fmode = stat.S_IMODE(os.lstat(path).st_mode) 235 if (mode & stat.S_IRWXU) != (fmode & stat.S_IRWXU):
|
H A D | os_unix.py | 40 import stat namespace 198 passwd_stamp = os.stat(passwd_file).st_mtime 229 group_stamp = os.stat(group_file).st_mtime 300 fmode = stat.S_IMODE(os.lstat(path).st_mode)
|
/pkg/src/ |
H A D | pydates | 60 os.stat(os.path.join(repo.root, f)).st_mtime 85 os.stat(os.path.join(repo.root, f)).st_mtime
|
H A D | setup.py | 31 import stat namespace 754 os.stat(src)[stat.ST_INO] != \ 755 os.stat(dest)[stat.ST_INO]: 777 os.stat(dst_path).st_mode 778 | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH) 1313 os.stat(pat [all...] |
/pkg/src/tests/cli/ |
H A D | t_lock.py | 70 self.assertNotEqual(os.stat(lfpath).st_size, 0) 91 self.assertEqual(os.stat(lfpath).st_size, 0)
|
H A D | t_pkg_freeze.py | 34 import stat namespace 231 mod = stat.S_IMODE(os.stat(pth)[stat.ST_MODE]) 232 new_mod = mod & ~stat.S_IROTH
|
H A D | t_colliding_links.py | 138 self.assertEqual(os.stat(os.path.join(self.get_img_path(),
|
H A D | t_pkg_modified.py | 51 nmtime = os.stat(mfpath).st_mtime 67 omtime = os.stat(mfpath).st_mtime
|
H A D | t_https.py | 36 import stat namespace 340 os.chmod(self.ssl_auth_script, stat.S_IRWXU) 341 os.chmod(self.ssl_auth_bad_script, stat.S_IRWXU)
|