Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FormatDirEntry (0.14 sec)

  1. src/os/dir_plan9.go

    func (de dirEntry) Type() FileMode          { return de.fs.Mode().Type() }
    func (de dirEntry) Info() (FileInfo, error) { return de.fs, nil }
    
    func (de dirEntry) String() string {
    	return fs.FormatDirEntry(de)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/io/fs/readdir.go

    }
    
    func (di dirInfo) Info() (FileInfo, error) {
    	return di.fileInfo, nil
    }
    
    func (di dirInfo) Name() string {
    	return di.fileInfo.Name()
    }
    
    func (di dirInfo) String() string {
    	return FormatDirEntry(di)
    }
    
    // FileInfoToDirEntry returns a [DirEntry] that returns information from info.
    // If info is nil, FileInfoToDirEntry returns nil.
    func FileInfoToDirEntry(info FileInfo) DirEntry {
    	if info == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/os/dir_windows.go

    func (de dirEntry) Type() FileMode          { return de.fs.Mode().Type() }
    func (de dirEntry) Info() (FileInfo, error) { return de.fs, nil }
    
    func (de dirEntry) String() string {
    	return fs.FormatDirEntry(de)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/os/file_unix.go

    func (d *unixDirent) Info() (FileInfo, error) {
    	if d.info != nil {
    		return d.info, nil
    	}
    	return lstat(d.parent + "/" + d.name)
    }
    
    func (d *unixDirent) String() string {
    	return fs.FormatDirEntry(d)
    }
    
    func newUnixDirent(parent, name string, typ FileMode) (DirEntry, error) {
    	ude := &unixDirent{
    		parent: parent,
    		name:   name,
    		typ:    typ,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ErrNotExist", Var, 16},
    		{"ErrPermission", Var, 16},
    		{"FS", Type, 16},
    		{"File", Type, 16},
    		{"FileInfo", Type, 16},
    		{"FileInfoToDirEntry", Func, 17},
    		{"FileMode", Type, 16},
    		{"FormatDirEntry", Func, 21},
    		{"FormatFileInfo", Func, 21},
    		{"Glob", Func, 16},
    		{"GlobFS", Type, 16},
    		{"ModeAppend", Const, 16},
    		{"ModeCharDevice", Const, 16},
    		{"ModeDevice", Const, 16},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top