Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 147 for lstat (0.04 seconds)

  1. lib/wasm/wasm_exec.js

    			fchown(fd, uid, gid, callback) { callback(enosys()); },
    			fstat(fd, callback) { callback(enosys()); },
    			fsync(fd, callback) { callback(null); },
    			ftruncate(fd, length, callback) { callback(enosys()); },
    			lchown(path, uid, gid, callback) { callback(enosys()); },
    			link(path, link, callback) { callback(enosys()); },
    			lstat(path, callback) { callback(enosys()); },
    			mkdir(path, perm, callback) { callback(enosys()); },
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  2. api/go1.24.txt

    pkg os, func OpenRoot(string) (*Root, error) #67002
    pkg os, method (*Root) Close() error #67002
    pkg os, method (*Root) Create(string) (*File, error) #67002
    pkg os, method (*Root) FS() fs.FS #67002
    pkg os, method (*Root) Lstat(string) (fs.FileInfo, error) #67002
    pkg os, method (*Root) Mkdir(string, fs.FileMode) error #67002
    pkg os, method (*Root) Name() string #67002
    pkg os, method (*Root) Open(string) (*File, error) #67002
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 17 21:28:29 GMT 2024
    - 14.2K bytes
    - Click Count (0)
  3. src/archive/tar/writer_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestPax(t *testing.T) {
    	// Create an archive with a large name
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    		t.Fatalf("os.Stat: %v", err)
    	}
    	// Force a PAX long name to be written
    	longName := strings.Repeat("ab", 100)
    	contents := strings.Repeat(" ", int(hdr.Size))
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  4. src/archive/tar/tar_test.go

    	testenv.MustHaveSymlink(t)
    
    	tmpdir := t.TempDir()
    
    	link := filepath.Join(tmpdir, "link")
    	target := tmpdir
    	if err := os.Symlink(target, link); err != nil {
    		t.Fatal(err)
    	}
    	fi, err := os.Lstat(link)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	h, err := FileInfoHeader(fi, target)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if g, e := h.Name, fi.Name(); g != e {
    		t.Errorf("Name = %q; want %q", g, e)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  5. cmd/format-erasure.go

    	}
    
    	migrate := func(formatPath string, formatData []byte) ([]byte, fs.FileInfo, error) {
    		if err = os.WriteFile(formatPath, formatData, 0o666); err != nil {
    			return nil, nil, err
    		}
    		formatFi, err := Lstat(formatPath)
    		if err != nil {
    			return nil, nil, err
    		}
    		return formatData, formatFi, nil
    	}
    
    	switch version {
    	case formatErasureVersionV1:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  6. api/except.txt

    pkg os, const ModeType FileMode
    pkg os, func Chmod(string, FileMode) error
    pkg os, func Lstat(string) (FileInfo, error)
    pkg os, func Mkdir(string, FileMode) error
    pkg os, func MkdirAll(string, FileMode) error
    pkg os, func OpenFile(string, int, FileMode) (*File, error)
    pkg os, func SameFile(FileInfo, FileInfo) bool
    pkg os, func Stat(string) (FileInfo, error)
    pkg os, method (*File) Chmod(FileMode) error
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Sun Jun 16 23:08:08 GMT 2024
    - 34.8K bytes
    - Click Count (0)
  7. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), func Kill(int, Signal) error
    pkg syscall (freebsd-386-cgo), func Kqueue() (int, error)
    pkg syscall (freebsd-386-cgo), func Listen(int, int) error
    pkg syscall (freebsd-386-cgo), func Lstat(string, *Stat_t) error
    pkg syscall (freebsd-386-cgo), func Mkfifo(string, uint32) error
    pkg syscall (freebsd-386-cgo), func Mknod(string, uint32, int) error
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
  8. internal/disk/stat_linux.go

    		if err == nil {
    			devName := ""
    			diskstats, _ := bfs.ProcDiskstats()
    			for _, dstat := range diskstats {
    				// ignore all loop devices
    				if strings.HasPrefix(dstat.DeviceName, "loop") {
    					continue
    				}
    				if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor {
    					devName = dstat.DeviceName
    					break
    				}
    			}
    			if devName != "" {
    				info.Name = devName
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. api/go1.16.txt

    pkg io/fs, type FS interface { Open }
    pkg io/fs, type FS interface, Open(string) (File, error)
    pkg io/fs, type File interface { Close, Read, Stat }
    pkg io/fs, type File interface, Close() error
    pkg io/fs, type File interface, Read([]uint8) (int, error)
    pkg io/fs, type File interface, Stat() (FileInfo, error)
    pkg io/fs, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys }
    pkg io/fs, type FileInfo interface, IsDir() bool
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Click Count (0)
  10. cmd/bucket-replication-stats.go

    				ReplicatedSize:  stat.ReplicatedSize + oldst.ReplicatedSize,
    				ReplicatedCount: stat.ReplicatedCount + oldst.ReplicatedCount,
    				Latency:         stat.Latency.merge(oldst.Latency),
    				XferRateLrg:     &lrg,
    				XferRateSml:     &sml,
    			}
    			totReplicatedSize += stat.ReplicatedSize
    			totReplicatedCount += stat.ReplicatedCount
    			totFailed = totFailed.merge(stat.FailStats)
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 13.6K bytes
    - Click Count (0)
Back to Top