- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 189 for pathnames (0.23 sec)
-
pkg/volume/util/hostutil/hostutil_windows.go
if isSocket, errSocket := filesystem.IsUnixDomainSocket(pathname); errSocket == nil && isSocket { return FileTypeSocket, nil } } return filetype, err } // PathExists checks whether the path exists func (hu *HostUtil) PathExists(pathname string) (bool, error) { return utilpath.Exists(utilpath.CheckFollowSymlink, pathname) } // EvalHostSymlinks returns the path name after evaluating symlinks
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 13:38:40 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows_test.go
if test.createSubPathBeforeTest { os.MkdirAll(test.pathname, 0755) } existingPath, toCreate, err := findExistingPrefix(test.base, test.pathname) if test.expectError { assert.NotNil(t, err, "Expect error during findExistingPrefix(%s, %s)", test.base, test.pathname) continue } assert.Nil(t, err, "Expect no error during findExistingPrefix(%s, %s)", test.base, test.pathname)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 13.8K bytes - Viewed (0) -
pkg/volume/util/hostutil/hostutil.go
GetOwner(pathname string) (int64, int64, error) // GetSELinuxSupport returns true if given path is on a mount that supports // SELinux. GetSELinuxSupport(pathname string) (bool, error) // GetMode returns permissions of the path. GetMode(pathname string) (os.FileMode, error) // GetSELinuxMountContext returns value of -o context=XYZ mount option on // given mount point. GetSELinuxMountContext(pathname string) (string, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 13:38:40 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux.go
// and base must be either already resolved symlinks or thet will be resolved in // kubelet's mount namespace (in case it runs containerized). func doSafeMakeDir(pathname string, base string, perm os.FileMode) error { klog.V(4).Infof("Creating directory %q within base %q", pathname, base) if !mount.PathWithinBase(pathname, base) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 12 14:09:11 UTC 2022 - 21.4K bytes - Viewed (0) -
hack/verify-flags-underscore.py
dirs.remove('third_party') if '.git' in dirs: dirs.remove('.git') for name in files: pathname = os.path.join(root, name) if not is_binary(pathname): all_files.append(pathname) return all_files # Collects all the flags used in golang files and verifies the flags do # not contain underscore. If any flag needs to be excluded from this check,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:51 UTC 2024 - 4.3K bytes - Viewed (0) -
hack/boilerplate/boilerplate.py
] def normalize_files(files): newfiles = [] for pathname in files: if any(x in pathname for x in skipped_names): continue newfiles.append(pathname) for i, pathname in enumerate(newfiles): if not os.path.isabs(pathname): newfiles[i] = os.path.join(args.rootdir, pathname) return newfiles def get_files(extensions): files = []
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:51 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows.go
} func doSafeMakeDir(pathname string, base string, perm os.FileMode) error { klog.V(4).Infof("Creating directory %q within base %q", pathname, base) if !mount.PathWithinBase(pathname, base) { return fmt.Errorf("path %s is outside of allowed base %s", pathname, base) } // Quick check if the directory already exists s, err := os.Stat(pathname) if err == nil { // Path exists
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 12:57:11 UTC 2023 - 12.5K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy
return tempDir.listFiles(new FileFilter() { @Override boolean accept(File pathname) { return pathname.name.startsWith("symlink") && (pathname.name.endsWith("test") || pathname.name.endsWith("test_link")) && pathname.canWrite() } }) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/GradleInstallation.java
import java.util.List; public class GradleInstallation { public static final FileFilter DIRECTORY_FILTER = new FileFilter() { @Override public boolean accept(File pathname) { return pathname.isDirectory(); } }; private final File dir; private final List<File> libDirs; public GradleInstallation(File dir) { this.dir = dir;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 2K bytes - Viewed (0) -
maven-core/src/test/resources-project-builder/plugin-management-for-implicit-plugin/pom.xml
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>0.1-stub-SNAPSHOT</version> <configuration> <pathname>passed.txt</pathname> </configuration> </plugin> <plugin> <!-- this checks handling of a plugin which is explicitly bound to the lifecycle -->
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Mar 29 19:02:56 UTC 2020 - 2K bytes - Viewed (0)