Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - func AppendSlash(path string) string
 - func FileCopy(src string, dst string) error
 - func GetFilenameFromURIOrFullPath(path string) string
 - func GetFullExePath() (string, error)
 - func GetFullPath() (string, error)
 - func GetPathFileFullFilename(path string) string
 - func GetRunningKernelVersion() (string, error)
 - func GetUUID() []byte
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ( //ErrSrcNotExist src file doesnt exist ErrSrcNotExist = errors.New("Source file does not exist") //ErrSrcNotRegularFile src file is not a regular file ErrSrcNotRegularFile = errors.New("Source file is not a regular file") //ErrDstNotRegularFile dst file is not a regular file ErrDstNotRegularFile = errors.New("Destination file is not a regular file") )
Functions ¶
func AppendSlash ¶
AppendSlash appends a slash to a path if one is needed
func GetFilenameFromURIOrFullPath ¶
GetFilenameFromURIOrFullPath retrieves the filename from an URI
func GetFullExePath ¶
GetFullExePath returns the fullpath of the executable including the executable name itself
func GetFullPath ¶
GetFullPath returns the fullpath of the executable without the executable name
func GetPathFileFullFilename ¶
GetPathFileFullFilename returns the parent folder name
func GetRunningKernelVersion ¶
GetRunningKernelVersion returns the running kernel version
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.