Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ReadFromStdIn reads the data blob from stdin ReadFromStdIn = IOEF.ReadAll(IOE.Of[error](os.Stdin)) // ReadFromInput reads a byte array either from a file or from stdin (using "-" as the stdout identifier) ReadFromInput = F.Flow2( U.IsNotStdinNorStdout, O.Fold(F.Constant(ReadFromStdIn), IOEF.ReadFile), ) )
View Source
var WriteToOutput = F.Flow2( U.IsNotStdinNorStdout, O.Fold(F.Constant(WriteToStdOut), F.Bind2nd(IOEF.WriteFile, os.ModePerm)), )
WriteToOutput stores a file list either to a regular file or stdout (using "-" as the stdout identifier)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.