- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 199 for LSTAT (0.1 sec)
-
src/path/filepath/export_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package filepath
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 06 19:42:05 UTC 2020 - 198 bytes - Viewed (0) -
src/os/export_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os // Export for testing. var Atime = atime var LstatP = &lstat var ErrWriteAtInAppendMode = errWriteAtInAppendMode var TestingForceReadDirLstat = &testingForceReadDirLstat var ErrPatternHasSeparator = errPatternHasSeparator func init() { checkWrapErr = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 27 06:21:27 UTC 2023 - 433 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_goroot_symlink.txt
# source artifacts in different parent directories.) [short] skip 'copies the cmd/go binary' [!symlink] skip 'tests symlink-specific behavior' [GOOS:darwin] skip 'Lstat on darwin does not conform to POSIX pathname resolution; see #59586' [GOOS:ios] skip 'Lstat on ios does not conform to POSIX pathname resolution; see #59586' # Ensure that the relative path to $WORK/lib/goroot/src from $PWD is a different
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 17:01:07 UTC 2023 - 2.8K bytes - Viewed (0) -
src/os/types_unix.go
// license that can be found in the LICENSE file. //go:build !windows && !plan9 package os import ( "syscall" "time" ) // A fileStat is the implementation of FileInfo returned by Stat and Lstat. type fileStat struct { name string size int64 mode FileMode modTime time.Time sys syscall.Stat_t } func (fs *fileStat) Size() int64 { return fs.size }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 776 bytes - Viewed (0) -
src/os/types_plan9.go
// license that can be found in the LICENSE file. package os import ( "syscall" "time" ) // A fileStat is the implementation of FileInfo returned by Stat and Lstat. type fileStat struct { name string size int64 mode FileMode modTime time.Time sys any } func (fs *fileStat) Size() int64 { return fs.size }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 797 bytes - Viewed (0) -
src/path/filepath/symlink_plan9.go
"strings" "syscall" ) func evalSymlinks(path string) (string, error) { // Plan 9 doesn't have symbolic links, so no need for substitutions. if len(path) > 0 { // Check validity of path _, err := os.Lstat(path) if err != nil { // Return the same error value as on other operating systems if strings.HasSuffix(err.Error(), "not a directory") { err = syscall.ENOTDIR } return "", err } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 09 14:44:54 UTC 2022 - 635 bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 12:57:11 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/zip/zip.go
type File interface { // Path returns a clean slash-separated relative path from the module root // directory to the file. Path() string // Lstat returns information about the file. If the file is a symbolic link, // Lstat returns information about the link itself, not the file it points to. Lstat() (os.FileInfo, error) // Open provides access to the data within a regular file. Open may return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 31K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys_test.go
initOverlay(t, tc.overlay) got, err := Lstat(tc.path) if tc.wantErr { if err == nil { t.Errorf("lstat(%q): got no error, want error", tc.path) } return } if err != nil { t.Fatalf("lstat(%q): got error %v, want no error", tc.path, err) } if got.Name() != tc.want.name { t.Errorf("lstat(%q).Name(): got %q, want %q", tc.path, got.Name(), tc.want.name) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:52:11 UTC 2023 - 29.1K bytes - Viewed (0) -
src/cmd/go/internal/work/build_test.go
"cmd/go/internal/cfg" "cmd/go/internal/load" ) func TestRemoveDevNull(t *testing.T) { fi, err := os.Lstat(os.DevNull) if err != nil { t.Skip(err) } if fi.Mode().IsRegular() { t.Errorf("Lstat(%s).Mode().IsRegular() = true; expected false", os.DevNull) } mayberemovefile(os.DevNull) _, err = os.Lstat(os.DevNull) if err != nil { t.Errorf("mayberemovefile(%s) did remove it; oops", os.DevNull) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 8.3K bytes - Viewed (0)