# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Append creates or appends the dst file or dir, filled with content from src file.
AppendAll creates or appends the dst file or dir, filled with content from src file.
AppendAllIfNotExist appends the named file or dir.
AppendTruncate truncates the original src file in place after appending or creating a copy dst, instead of moving the src file to dir and optionally creating a new one src.
AppendTruncateAll truncates the original src file in place after appending or creating a copy dst, instead of moving the src file to dir and optionally creating a new one src.
Chtimes changes the access and modification times of the named file with Now, similar to the Unix utime() or utimes() functions.
Copy creates or truncates the dst file or dir, filled with content from src file.
CopyAll creates or truncates the dst file or dir, filled with content from src file.
CopyFile is the generalized open call; most users will use Copy or Append instead.
CopyFileAll is the generalized open call; most users will use CopyAll or AppendAll instead.
CopyRename makes a copy of the src file, but don't change the original src at all.
CopyRenameAll makes a copy of the src file, but don't change the original src at all.
CopyRenameFile is the generalized open call; most users will use CopyRename instead.
CopyRenameFileAll is the generalized open call; most users will use CopyRenameAll instead.
CopyTruncate truncates the original src file in place after creating a copy dst, instead of moving the src file to dir and optionally creating a new one src.
CopyTruncateAll truncates the original src file in place after creating a copy dst, instead of moving the src file to dir and optionally creating a new one src.
CopyTruncateFile is the generalized open call; most users will use CopyTruncate or AppendTruncate instead.
CopyTruncateFileAll is the generalized open call; most users will use CopyTruncateAll or AppendTruncateAll instead.
CreateAll creates or truncates the named file or dir.
CreateAllIfNotExist creates the named file or dir.
No description provided by the author
LockAll creates the named file or dir.
MakeAll creates a directory named path and returns nil, or else returns an error.
MakeAll creates a directory named path, along with any necessary parents, and returns nil, or else returns an error.
MaxSeq return max seq set by NextFile split pattern by the last wildcard "*".
No description provided by the author
No description provided by the author
NextFile creates a new file, opens the file for reading and writing, and returns the resulting *os.File.
OpenAll opens the named file or dir for reading.
OpenFileAll is the generalized open call; most users will use OpenAll or CreateAll instead.
No description provided by the author
ReLink creates or replaces newname as a hard link to the oldname file.
Rename renames (moves) oldpath to newpath.
RenameFileAll is the generalized open call; most users will use RenameAll instead.
ReSymlink creates or replace newname as a symbolic link to oldname.
SameFile reports whether fi1 and fi2 describe the same file.
TouchAll creates the named file or dir.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Make a copy of the log file, but don't change the original at all.
Truncate the original log file in place after creating a copy, instead of moving the old log file and optionally creating a new one.
create new rotate file directly.
# Variables
No description provided by the author
# Structs
logrotate reads everything about the log files it should be handling from the series of con‐ figuration files specified on the command line.
WalkFileInfo is a wrapper for sort of filepath.WalkFunc.
# Type aliases
No description provided by the author
sort filename by mode time in decrease order.
sort filename by mode time in increase order.
No description provided by the author
No description provided by the author