package
1.3.2
Repository: https://github.com/0xrawsec/golang-utils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AbsFromRelativeToBin : function that returns the absolute path to a file/directory computed with the directory of the binary as the root Example : if bin is /opt/program this function will return an absolute path computed as relative to /opt/ @relPath : the parts of the path you want to Join in your final path return (string, error) : the absolute path and an error if necessary.
CopyFile : copies src file to dst file.
Exists returns true if file at path exists.
IsDir returns true if path is a directory.
IsFile returns true if path is a file.
IsLink returns true if path is a Symlink.
ResolveLink resolves the link if it is a Link or return the original path.

# Variables

ErrDstNotRegularFile : dst not a regular file.
ErrSrcNotRegularFile : src not a regular file.