$27 GRAYBYTE WORDPRESS FILE MANAGER $46

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib/golang/src/io/fs/

HOME
Current File : /usr/lib/golang/src/io/fs//stat.go
// Copyright 2020 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 fs

// A StatFS is a file system with a Stat method.
type StatFS interface {
	FS

	// Stat returns a FileInfo describing the file.
	// If there is an error, it should be of type *PathError.
	Stat(name string) (FileInfo, error)
}

// Stat returns a [FileInfo] describing the named file from the file system.
//
// If fs implements [StatFS], Stat calls fs.Stat.
// Otherwise, Stat opens the [File] to stat it.
func Stat(fsys FS, name string) (FileInfo, error) {
	if fsys, ok := fsys.(StatFS); ok {
		return fsys.Stat(name)
	}

	file, err := fsys.Open(name)
	if err != nil {
		return nil, err
	}
	defer file.Close()
	return file.Stat()
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Dec 2025 9.30 PM
root / root
0755
format.go
1.749 KB
4 Dec 2025 6.06 PM
root / root
0644
fs.go
9.478 KB
4 Dec 2025 6.06 PM
root / root
0644
glob.go
3.142 KB
4 Dec 2025 6.06 PM
root / root
0644
readdir.go
1.907 KB
4 Dec 2025 6.06 PM
root / root
0644
readfile.go
1.789 KB
4 Dec 2025 6.06 PM
root / root
0644
readlink.go
1.492 KB
4 Dec 2025 6.06 PM
root / root
0644
stat.go
0.784 KB
4 Dec 2025 6.06 PM
root / root
0644
sub.go
4.231 KB
4 Dec 2025 6.06 PM
root / root
0644
walk.go
4.688 KB
4 Dec 2025 6.06 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF