- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 199 for LSTAT (0.06 sec)
-
src/os/exec/lp_windows.go
// // Otherwise, return the ErrDot for the implicit path as soon as we find // out that the explicit one doesn't match. dotfi, dotfiErr := os.Lstat(dotf) fi, fiErr := os.Lstat(f) if dotfiErr != nil || fiErr != nil || !os.SameFile(dotfi, fi) { return dotf, dotErr } } if !filepath.IsAbs(f) { if execerrdot.Value() != "0" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 6K bytes - Viewed (0) -
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy
@TaskAction void sftpTest() { def client = sftpClientFactory.createSftpClient(new URI("${sftpServer.uri}"), credentials) client.sftpClient.lstat("/") sftpClientFactory.releaseSftpClient(client) } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpResourceAccessor.java
LockableSftpClient sftpClient = sftpClientFactory.createSftpClient(location.getUri(), credentials); try { SftpATTRS attributes = sftpClient.getSftpClient().lstat(location.getPath()); return attributes != null ? toMetaData(location.getUri(), attributes) : null; } catch (com.jcraft.jsch.SftpException e) { if (e.id == ChannelSftp.SSH_FX_NO_SUCH_FILE) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.3K bytes - Viewed (0) -
src/os/os_test.go
t.Error("present twice:", m) } found = true lstat, err := Lstat(dir + "/" + m) if err != nil { t.Fatal(err) } if n.IsDir() != lstat.IsDir() { t.Errorf("%s: IsDir=%v, want %v", m, n.IsDir(), lstat.IsDir()) } if n.Type() != lstat.Mode().Type() { t.Errorf("%s: IsDir=%v, want %v", m, n.Type(), lstat.Mode().Type()) } info, err := n.Info() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/os/stat_plan9.go
func statNolog(name string) (FileInfo, error) { d, err := dirstat(name) if err != nil { return nil, err } return fileInfoFromStat(d), nil } // lstatNolog implements Lstat for Plan 9. func lstatNolog(name string) (FileInfo, error) { return statNolog(name) } // For testing. func atime(fi FileInfo) time.Time { return time.Unix(int64(fi.Sys().(*syscall.Dir).Atime), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/volume/volume_linux.go
// - callback walkFunc is invoked on root directory after visiting children dirs and files func walkDeep(root string, walkFunc filepath.WalkFunc) error { info, err := os.Lstat(root) if err != nil { return walkFunc(root, nil, err) } return walk(root, info, walkFunc) } func walk(path string, info os.FileInfo, walkFunc filepath.WalkFunc) error { if !info.IsDir() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 6.5K bytes - Viewed (0) -
src/os/path.go
} } // Parent now exists; invoke Mkdir and use its result. err = Mkdir(path, perm) if err != nil { // Handle arguments like "foo/." by // double-checking that directory doesn't exist. dir, err1 := Lstat(path) if err1 == nil && dir.IsDir() { return nil } return err } return nil } // RemoveAll removes path and any children it contains. // It removes everything it can but returns the first error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:38:09 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/volume/nfs/nfs.go
} func (c *nfsUnmounter) TearDownAt(dir string) error { // Use extensiveMountPointCheck to consult /proc/mounts. We can't use faster // IsLikelyNotMountPoint (lstat()), since there may be root_squash on the // NFS server and kubelet may not be able to do lstat/stat() there. forceUnmounter, ok := c.mounter.(mount.MounterForceUnmounter) if ok { klog.V(4).Infof("Using force unmounter interface")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux.go
} func checkSubPathFileEqual(subpath Subpath, bindMountTarget string) (bool, error) { s, err := os.Lstat(subpath.Path) if err != nil { return false, fmt.Errorf("stat %s failed: %s", subpath.Path, err) } t, err := os.Lstat(bindMountTarget) if err != nil { return false, fmt.Errorf("lstat %s failed: %s", bindMountTarget, err) } if !os.SameFile(s, t) { return false, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 12 14:09:11 UTC 2022 - 21.4K bytes - Viewed (0) -
src/os/file_unix.go
) const _UTIME_OMIT = unix.UTIME_OMIT // fixLongPath is a noop on non-Windows platforms. func fixLongPath(path string) string { return path } func rename(oldname, newname string) error { fi, err := Lstat(newname) if err == nil && fi.IsDir() { // There are two independent errors this function can return: // one for a bad oldname, and one for a bad newname. // At this point we've determined the newname is bad.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:52:34 UTC 2024 - 14.9K bytes - Viewed (0)