Documentation ¶
Index ¶
- type FileSystemObjects
- func (fileSystemObject *FileSystemObjects) AbsoluteLevel() int
- func (fileSystemObject *FileSystemObjects) AbsolutePathString() string
- func (fileSystemObject *FileSystemObjects) BaseName() string
- func (fileSystemObject *FileSystemObjects) Copy(targetPath string) (int64, error)
- func (fileSystemObject *FileSystemObjects) CreateIfNonExistent() (bool, error)
- func (fileSystemObject *FileSystemObjects) Exists() bool
- func (fileSystemObject *FileSystemObjects) ExtendPath(pathExtension string) string
- func (fileSystemObject *FileSystemObjects) Initialise(absolutePathString string)
- func (fileSystemObject *FileSystemObjects) ItemCount() int
- func (fileSystemObject *FileSystemObjects) ListOfComponents() []string
- func (fileSystemObject *FileSystemObjects) ParentAbsolutePathString() string
- type Files
- type Folders
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemObjects ¶
type FileSystemObjects struct { Uuid *uuid_service.UUIDs Path *wrappers.AbsolutePathWrappers }
func (*FileSystemObjects) AbsoluteLevel ¶ added in v0.0.21
func (fileSystemObject *FileSystemObjects) AbsoluteLevel() int
@property def absolute_level( self) \ -> int:
func (*FileSystemObjects) AbsolutePathString ¶ added in v0.0.21
func (fileSystemObject *FileSystemObjects) AbsolutePathString() string
@property def absolute_path_string( self) \ -> str:
func (*FileSystemObjects) BaseName ¶ added in v0.0.21
func (fileSystemObject *FileSystemObjects) BaseName() string
@property def base_name( self) \ -> str:
func (*FileSystemObjects) Copy ¶ added in v0.0.31
func (fileSystemObject *FileSystemObjects) Copy(targetPath string) (int64, error)
func (*FileSystemObjects) CreateIfNonExistent ¶ added in v0.0.31
func (fileSystemObject *FileSystemObjects) CreateIfNonExistent() (bool, error)
func (*FileSystemObjects) Exists ¶ added in v0.0.21
func (fileSystemObject *FileSystemObjects) Exists() bool
def exists( self) \ -> bool:
func (*FileSystemObjects) ExtendPath ¶ added in v0.0.21
func (fileSystemObject *FileSystemObjects) ExtendPath(pathExtension string) string
def extend_path( self, path_extension: str) \ -> str:
func (*FileSystemObjects) Initialise ¶ added in v0.0.21
func (fileSystemObject *FileSystemObjects) Initialise( absolutePathString string)
def __init__( self,
func (*FileSystemObjects) ItemCount ¶ added in v0.0.21
func (fileSystemObject *FileSystemObjects) ItemCount() int
def item_count( self) \ -> int:
func (*FileSystemObjects) ListOfComponents ¶ added in v0.0.21
func (fileSystemObject *FileSystemObjects) ListOfComponents() []string
def list_of_components(self):
func (*FileSystemObjects) ParentAbsolutePathString ¶ added in v0.0.21
func (fileSystemObject *FileSystemObjects) ParentAbsolutePathString() string
@property def parent_absolute_path_string( self) \ -> str:
type Files ¶
type Files struct { FileSystemObjects // contains filtered or unexported fields }
func (*Files) Initialise ¶ added in v0.0.21
func (*Files) ParentFolder ¶ added in v0.0.21
type Folders ¶
type Folders struct { *FileSystemObjects ParentFolder *Folders ChildFolders []*Folders ChildFiles []*Files }
func (*Folders) Initialise ¶ added in v0.0.21
def __init__(
self, absolute_path_string: str, parent_folder: 'Folders' = None):
Click to show internal directories.
Click to hide internal directories.