Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 199 for LSTAT (1.03 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go

    func Fstat(fd int, stat *Stat_t) error {
    	return fstat(fd, stat)
    }
    
    func Fstatat(dirfd int, path string, stat *Stat_t, flags int) error {
    	return fstatat(dirfd, path, stat, flags)
    }
    
    func Lstat(path string, stat *Stat_t) error {
    	return lstat(path, stat)
    }
    
    func Stat(path string, statptr *Stat_t) error {
    	return stat(path, statptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/fsys/fsys.go

    	Trace("Walk", root)
    	info, err := Lstat(root)
    	if err != nil {
    		err = walkFn(root, nil, err)
    	} else {
    		err = walk(root, info, walkFn)
    	}
    	if err == filepath.SkipDir {
    		return nil
    	}
    	return err
    }
    
    // Lstat implements a version of os.Lstat that operates on the overlay filesystem.
    func Lstat(path string) (fs.FileInfo, error) {
    	Trace("Lstat", path)
    	return overlayStat(path, os.Lstat, "lstat")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. src/os/stat_windows.go

    func statNolog(name string) (FileInfo, error) {
    	return stat("Stat", name, true)
    }
    
    // lstatNolog implements Lstat for Windows.
    func lstatNolog(name string) (FileInfo, error) {
    	followSurrogates := false
    	if name != "" && IsPathSeparator(name[len(name)-1]) {
    		// We try to implement POSIX semantics for Lstat path resolution
    		// (per https://pubs.opengroup.org/onlinepubs/9699919799.2013edition/basedefs/V1_chap04.html#tag_04_12):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    //go:cgo_import_dynamic lstat$INODE64 lstat$INODE64 ""
    //go:cgo_import_dynamic mach_absolute_time mach_absolute_time ""
    //go:cgo_import_dynamic mach_task_self_ mach_task_self_ ""
    //go:cgo_import_dynamic mach_timebase_info mach_timebase_info ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. src/runtime/race/race_darwin_arm64.go

    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    //go:cgo_import_dynamic lstat lstat ""
    //go:cgo_import_dynamic mach_absolute_time mach_absolute_time ""
    //go:cgo_import_dynamic mach_task_self_ mach_task_self_ ""
    //go:cgo_import_dynamic mach_timebase_info mach_timebase_info ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go

    func Fstatat(dirfd int, path string, stat *Stat_t, flags int) error {
    	err := fstatat(dirfd, path, stat, flags)
    	if err != nil {
    		return err
    	}
    	fixStatTimFields(stat)
    	return nil
    }
    
    func Lstat(path string, stat *Stat_t) error {
    	err := lstat(path, stat)
    	if err != nil {
    		return err
    	}
    	fixStatTimFields(stat)
    	return nil
    }
    
    func Stat(path string, statptr *Stat_t) error {
    	err := stat(path, statptr)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpResourceUploader.java

            }
            URI parent = uri.resolve(parentPath);
    
            try {
                channel.lstat(parentPath);
                return;
            } catch (com.jcraft.jsch.SftpException e) {
                if (e.id != ChannelSftp.SSH_FX_NO_SUCH_FILE) {
                    throw new ResourceException(parent, String.format("Could not lstat resource '%s'.", parent), e);
                }
            }
            ensureParentDirectoryExists(channel, parent);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. pkg/volume/volume_linux_test.go

    			tmpDir, err := utiltesting.MkTmpdir("volume_linux_test")
    			if err != nil {
    				t.Fatalf("error creating temp dir: %v", err)
    			}
    
    			defer os.RemoveAll(tmpDir)
    
    			info, err := os.Lstat(tmpDir)
    			if err != nil {
    				t.Fatalf("error reading permission of tmpdir: %v", err)
    			}
    
    			stat, ok := info.Sys().(*syscall.Stat_t)
    			if !ok || stat == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/path/filepath/path.go

    //
    // Walk calls the function with a non-nil err argument in two cases.
    //
    // First, if an [os.Lstat] on the root directory or any directory or file
    // in the tree fails, Walk calls the function with path set to that
    // directory or file's path, info set to nil, and err set to the error
    // from os.Lstat.
    //
    // Second, if a directory's Readdirnames method fails, Walk calls the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/os/61893.md

    On Windows, the mode bits reported by [Lstat] and [Stat] for
    reparse points changed. Mount points no longer have [ModeSymlink] set,
    and reparse points that are not symlinks, Unix sockets, or dedup files
    now always have [ModeIrregular] set.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 386 bytes
    - Viewed (0)
Back to top