package
1.2.120
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CloseIf call Close() if arg implements io.Closer.
CopyDir copies or hardlinks the contents of one directory to another, properly handling mods, and soft links.
No description provided by the author
Count counts the number of non-overlapping instances of sep in r.
CountAnySize counts the number of non-overlapping instances of sep in r.
CountAnySize counts the number of non-overlapping instances of sep in r.
CountLines counts the number of lines by \n.
CountLinesSize counts the number of lines by \n.
CountSize counts the number of non-overlapping instances of sep in r.
DynamicReadSeeker returns a ReadSeeker that reads from r got by getter at an offset.
EOFReader returns a Reader that return EOF anytime.
LimitReadSeeker returns a Reader that reads from r but stops with EOF after n bytes.
ReplayReader returns a Reader that allows replay and read from the provided input reader.
SeekerLen returns the length of the file and an error, if any.
SniffCopy copies the seekable reader to an io.Writer.
SniffRead reads up to len(p) bytes into p.
SniffReader returns a Reader that allows sniff and read from the provided input reader.
WatchReader returns a Reader that's watch the Read state of the provided input reader.

# Constants

Content creates a new file, and copies the content of the file.
Hardlink creates a new hardlink to the existing file.

# Variables

No description provided by the author

# Structs

LimitedReadSeeker A LimitSeekable reads from R but limits the size of the file N bytes.

# Interfaces

ReadReplayer is the interface that groups the basic Read and Replay methods.
ReadSniffer is the interface that groups the basic Read and Sniff methods.
Stater is the interface that wraps the basic Stat method.
No description provided by the author

# Type aliases

The CloserFunc type is an adapter to allow the use of ordinary functions as io.Closer handlers.
DynamicReaderFunc returns a Reader that's from the provided input reader getter function.
Mode indicates whether to use hardlink or copy content.
No description provided by the author
No description provided by the author
No description provided by the author