package
0.0.0-20241218063933-29cd8d68fd24
Repository: https://github.com/mintoolkit/mint.git
Documentation: pkg.go.dev

# Functions

AppendToFile appends the provided data to the target file.
No description provided by the author
No description provided by the author
CopyAndObfuscateFile copies a regular file and performs basic file reference obfuscation.
CopyDir copies a directory.
CopyDirOnly copies a directory without any files.
CopyFile copies the source file system object to the desired destination.
CopyRegularFile copies a regular file.
CopySymlinkFile copies a symlink file.
DirExists returns true if the target exists and it's a directory.
ExeDir returns the directory information for the application.
Exists returns true if the target file system object exists.
FileDir returns the directory information for the given file.
No description provided by the author
FileModeExtraBitsUnix2Go converts the standard unix filemode bits for the extra flags to the filemode flags in Go.
FileModeExtraBitUnix2Go converts the standard unix filemode bit for the extra flags to the filemode in Go.
FileModeExtraUnix2Go converts the standard unix filemode for the extra flags to the Go version.
FileModeIsSetgid checks if FileMode has the setgid bit set.
FileModeIsSetuid checks if FileMode has the setuid bit set.
FileModeIsSticky checks if FileMode has the sticky bit set.
No description provided by the author
No description provided by the author
IsDir returns true if the target file system object is a directory.
IsRegularFile returns true if the target file system object is a regular file.
IsSymlink returns true if the target file system object is a symlink.
IsTarFile returns true if the target file system object is a tar archive.
LoadStructFromFile creates a struct from a file.
No description provided by the author
PrepareImageStateDirs ensures that the required application directories exist.
PreparePostUpdateStateDir ensures that the updated sensor is copied to the state directory if necessary.
PrepareReleaseStateDirs ensures that the required app release directories exist.
Remove removes the artifacts generated during the current application execution.
ReplaceFileData replaces the selected file bytes with the caller provided bytes.
ResolveImageStateBasePath resolves the base path for the state path.
SetAccess updates the access permissions on the destination.
No description provided by the author
Touch creates the target file or updates its timestamp.
UpdateFileData updates all file data in target file using the updater function.
UpdateFileTimes updates the atime and mtime timestamps on the target file.
UpdateSymlinkTimes updates the atime and mtime timestamps on the target symlink.

# Constants

Native FileMode bits for extra flags.
Native FileMode bits for extra flags.
Native FileMode bits for extra flags.
File permission bits (execute bits only).
File permission bits (execute bits only).
File permission bits (execute bits only).
Native FileModes for extra flags.
Native FileModes for extra flags.
Native FileMode special bits mask.
Native FileModes for extra flags.

# Variables

Directory and file related errors.
Directory and file related errors.
Directory and file related errors.
Directory and file related errors.
Directory and file related errors.
Directory and file related errors.
Directory and file related errors.
Directory and file related errors.

# Structs

AccessInfo provides the file object access properties.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author