Documentation ¶
Overview ¶
Package stat provides structs for describing file into that can be used across file systems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
FileInfo wraps os.FileInfo and adds some additional functions.
func NewFileInfo ¶
func (*FileInfo) IsCharacterDevice ¶
func (*FileInfo) IsNamedPipe ¶
IsNamedPipe returns true if the file is a named pipe. Returns true is a device is available as a named pipe within the context of the current process. Only if stdin has data to be read, will it return true (including as a path /dev/stdin). Stdout will either return as a named pipe or device depending on the context.
Click to show internal directories.
Click to hide internal directories.