# Functions
GetOSState returns the FileStateOS for non windows systems.
Lstat returns a FileInfo describing the named file.
MaxBackups configures the maximum number of backup files to save (not counting the active file).
MaxSizeBytes configures the maximum number of bytes that a file should contain before being rotated.
NewFileRotator returns a new Rotator.
Permissions configures the file permissions to use for the file that the Rotator creates.
ReadOpen opens a file for reading only.
SafeFileRotate safely rotates an existing file under path and replaces it with the tempfile.
Stat returns a FileInfo describing the named file.
WithLogger injects a logger implementation for logging debug information.
# Constants
MaxBackupsLimit is the upper bound on the number of backup files.
# Type aliases
RotatorOption is a configuration option for Rotator.