object_model

package
v0.0.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 (file *Files) Initialise(
	absolutePathString string,
	additionalParentFolder ...*Folders)

func (*Files) ParentFolder added in v0.0.21

func (file *Files) ParentFolder() *Folders

type Folders

type Folders struct {
	*FileSystemObjects
	ParentFolder *Folders
	ChildFolders []*Folders
	ChildFiles   []*Files
}

func (*Folders) Initialise added in v0.0.21

func (folder *Folders) Initialise(
	absolutePathString string,
	parentFolder *Folders)

def __init__(

self,
absolute_path_string: str,
parent_folder: 'Folders' = None):

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL