Documentation ¶
Overview ¶
Package pipefs provides the filesystem implementation backing Kernel.PipeMount.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnectedPipeFDs ¶
func NewConnectedPipeFDs(ctx context.Context, mnt *vfs.Mount, flags uint32) (*vfs.FileDescription, *vfs.FileDescription, error)
NewConnectedPipeFDs returns a pair of FileDescriptions representing the read and write ends of a newly-created pipe, as for pipe(2) and pipe2(2).
Preconditions: mnt.Filesystem() must have been returned by NewFilesystem().
func NewFilesystem ¶
func NewFilesystem(vfsObj *vfs.VirtualFilesystem) (*vfs.Filesystem, error)
NewFilesystem sets up and returns a new vfs.Filesystem implemented by pipefs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.