Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirDeleteRecursive ¶
DirDeleteRecursive delete directory and all its content provided by path
Types ¶
type NetAppAPI ¶
type NetAppAPI struct { keystore.PythonAPI Version string // contains filtered or unexported fields }
NetAppAPI the structure for the Python API interaction to be refined access to Python API
type SyncResult ¶
type SyncResult struct {
// contains filtered or unexported fields
}
SyncResult contains the box to OS sync results with accessor functions Contains/GetFilePath
func SynchBoxToOS ¶
func SynchBoxToOS(folder string, requiredFiles *[]string) (*SyncResult, error)
SynchBoxToOS synchronize box folder ./python to provided folder
func (SyncResult) Contains ¶
func (sR SyncResult) Contains(boxPath string) bool
Contains returns true if provided boxPath exists and is available
func (SyncResult) FileCount ¶
func (sR SyncResult) FileCount() int
FileCount returns the number of available files on the OS
func (SyncResult) GetFilePath ¶
func (sR SyncResult) GetFilePath(boxPath string) (string, error)
GetFilePath returns the OS file path for requested boxPath
Click to show internal directories.
Click to hide internal directories.