package
0.0.1-rc20230124
Repository: https://github.com/keinos/go-sortfile.git
Documentation: pkg.go.dev

# Functions

AvailableMemory returns the amount of current available free memory.
File returns the data size of the given file and the number of lines.
MustAvailableMemory is the same as AvailableMemory but panics if it fails to get the memory information.
New returns a new InBytes instance from the given input.

# Constants

GiB = 1024 * MiB.
KiB = 1024 Bytes.
MiB = 1024 * KiB.
PiB = 1024 * TiB.
TiB = 1024 * GiB.

# Variables

memoryGet is a copy of memory.Get function to ease testing.
OsOpen is a copy of os.Open to ease testing.

# Type aliases

InBytes represents a size in bytes.