pipefs

package
v0.0.0-...-a3e5887 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0, MIT Imports: 12 Imported by: 6

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL