fifo – github.com/containerd/fifo Index | Files

package fifo

import "github.com/containerd/fifo"

Index

Variables

var (
	ErrClosed      = errors.New("fifo closed")
	ErrCtrlClosed  = errors.New("control of closed fifo")
	ErrRdFrmWRONLY = errors.New("reading from write-only fifo")
	ErrReadClosed  = errors.New("reading from a closed fifo")
	ErrWrToRDONLY  = errors.New("writing to read-only fifo")
	ErrWriteClosed = errors.New("writing to a closed fifo")
)

Functions

func IsFifo

func IsFifo(path string) (bool, error)

IsFifo checks if a file is a (named pipe) fifo if the file does not exist then it returns false

Source Files

errors.go utils.go

Version
v1.0.0
Published
Mar 31, 2021
Platform
windows/amd64
Imports
2 packages
Last checked
now

Tools for package owners.