Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSrcNotRegularFile : src not a regular file ErrSrcNotRegularFile = errors.New("Source file is not a regular file") // ErrDstNotRegularFile : dst not a regular file ErrDstNotRegularFile = errors.New("Destination file is not a regular file") )
Functions ¶
func AbsFromRelativeToBin ¶
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
func ResolveLink ¶
ResolveLink resolves the link if it is a Link or return the original path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.