Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for homedir (0.62 sec)

  1. src/archive/zip/struct.go

    		mode |= fs.ModeDir
    	}
    	return mode
    }
    
    // SetMode changes the permission and mode bits for the [FileHeader].
    func (h *FileHeader) SetMode(mode fs.FileMode) {
    	h.CreatorVersion = h.CreatorVersion&0xff | creatorUnix<<8
    	h.ExternalAttrs = fileModeToUnixMode(mode) << 16
    
    	// set MSDOS attributes too, as the original zip does.
    	if mode&fs.ModeDir != 0 {
    		h.ExternalAttrs |= msdosDir
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. doc/godebug.md

    At previous versions (`winsymlink=0`), mount points are treated as symlinks,
    and other reparse points with non-default [`os.ModeType`](/pkg/os#ModeType) bits
    (such as [`os.ModeDir`](/pkg/os#ModeDir)) do not have the `ModeIrregular` bit set.
    
    Go 1.23 changed [`os.Readlink`](/pkg/os#Readlink) and [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    func (f *fileListEntry) Name() string      { _, elem, _ := split(f.name); return elem }
    func (f *fileListEntry) Size() int64       { return 0 }
    func (f *fileListEntry) Mode() fs.FileMode { return fs.ModeDir | 0555 }
    func (f *fileListEntry) Type() fs.FileMode { return fs.ModeDir }
    func (f *fileListEntry) IsDir() bool       { return true }
    func (f *fileListEntry) Sys() any          { return nil }
    
    func (f *fileListEntry) ModTime() time.Time {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    				Content:  []byte{},
    				Mode:     fs.ModeDir | 0666,
    				Modified: time.Date(2021, 12, 29, 0, 0, 0, 0, timeZone(0)),
    			},
    			{
    				Name:     "a/b",
    				Content:  []byte{},
    				Mode:     0666,
    				Modified: time.Date(2021, 12, 29, 0, 0, 0, 0, timeZone(0)),
    			},
    			{
    				Name:     "a/b/",
    				Content:  []byte{},
    				Mode:     fs.ModeDir | 0666,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    	if fi.h.Mode&c_ISVTX != 0 {
    		mode |= fs.ModeSticky
    	}
    
    	// Set file mode bits; clear perm, setuid, setgid, and sticky bits.
    	switch m := fs.FileMode(fi.h.Mode) &^ 07777; m {
    	case c_ISDIR:
    		mode |= fs.ModeDir
    	case c_ISFIFO:
    		mode |= fs.ModeNamedPipe
    	case c_ISLNK:
    		mode |= fs.ModeSymlink
    	case c_ISBLK:
    		mode |= fs.ModeDevice
    	case c_ISCHR:
    		mode |= fs.ModeDevice
    		mode |= fs.ModeCharDevice
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  6. api/go1.txt

    pkg os/user, type UnknownUserError string
    pkg os/user, type UnknownUserIdError int
    pkg os/user, type User struct
    pkg os/user, type User struct, Gid string
    pkg os/user, type User struct, HomeDir string
    pkg os/user, type User struct, Name string
    pkg os/user, type User struct, Uid string
    pkg os/user, type User struct, Username string
    pkg path, func Base(string) string
    pkg path, func Clean(string) string
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  7. api/go1.16.txt

    pkg io/fs, const ModeCharDevice = 2097152
    pkg io/fs, const ModeCharDevice FileMode
    pkg io/fs, const ModeDevice = 67108864
    pkg io/fs, const ModeDevice FileMode
    pkg io/fs, const ModeDir = 2147483648
    pkg io/fs, const ModeDir FileMode
    pkg io/fs, const ModeExclusive = 536870912
    pkg io/fs, const ModeExclusive FileMode
    pkg io/fs, const ModeIrregular = 524288
    pkg io/fs, const ModeIrregular FileMode
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg os (windows-amd64), const PathSeparator = 92
    pkg os, const ModeAppend = 1073741824
    pkg os, const ModeCharDevice = 2097152
    pkg os, const ModeDevice = 67108864
    pkg os, const ModeDir = 2147483648
    pkg os, const ModeExclusive = 536870912
    pkg os, const ModeNamedPipe = 33554432
    pkg os, const ModePerm = 511
    pkg os, const ModeSetgid = 4194304
    pkg os, const ModeSetuid = 8388608
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. src/archive/tar/tar_test.go

    	}, {
    		// directory.
    		h: &Header{
    			Name:     "dir/",
    			Mode:     0755,
    			Size:     0,
    			ModTime:  time.Unix(1360601116, 0),
    			Typeflag: TypeDir,
    		},
    		fm: 0755 | fs.ModeDir,
    	}, {
    		// fifo node.
    		h: &Header{
    			Name:     "dev/initctl",
    			Mode:     0600,
    			Size:     0,
    			ModTime:  time.Unix(1360578949, 0),
    			Typeflag: TypeFifo,
    		},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. api/except.txt

    pkg os (linux-arm-cgo), const O_SYNC = 1052672
    pkg os (linux-arm-cgo), const O_SYNC = 4096
    pkg os, const ModeAppend FileMode
    pkg os, const ModeCharDevice FileMode
    pkg os, const ModeDevice FileMode
    pkg os, const ModeDir FileMode
    pkg os, const ModeExclusive FileMode
    pkg os, const ModeIrregular FileMode
    pkg os, const ModeNamedPipe FileMode
    pkg os, const ModePerm FileMode
    pkg os, const ModeSetgid FileMode
    pkg os, const ModeSetuid FileMode
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
Back to top