tail

package
v1.31.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 57

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAtMost

func ReadAtMost(path string, max int64) ([]byte, bool, error)

ReadAtMost reads at most max bytes from the end of the file identified by path or returns an error. It returns true if the file was longer than max. It will allocate up to max bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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