ostk.core.filesystem.File

class File

Bases: pybind11_object

Methods

create

exists

get_contents

get_extension

get_name

get_parent_directory

get_path

get_permissions

is_defined

move_to_directory

path

remove

to_string

undefined

create(
self: ostk.core.filesystem.File,
arg0: ostk.core.filesystem.PermissionSet,
arg1: ostk.core.filesystem.PermissionSet,
arg2: ostk.core.filesystem.PermissionSet,
) None
exists(self: ostk.core.filesystem.File) bool
get_contents(self: ostk.core.filesystem.File) ostk.core.type.String
get_extension(self: ostk.core.filesystem.File) ostk.core.type.String
get_name(
self: ostk.core.filesystem.File,
withExtension: bool = True,
) ostk.core.type.String
get_parent_directory(
self: ostk.core.filesystem.File,
) ostk.core.filesystem.Directory
get_path(self: ostk.core.filesystem.File) ostk.core.filesystem.Path
get_permissions(
self: ostk.core.filesystem.File,
) ostk.core.filesystem.PermissionSet
is_defined(self: ostk.core.filesystem.File) bool
move_to_directory(
self: ostk.core.filesystem.File,
arg0: ostk.core.filesystem.Directory,
) None
static path(arg0: ostk.core.filesystem.Path) ostk.core.filesystem.File
remove(self: ostk.core.filesystem.File) None
to_string(self: ostk.core.filesystem.File) ostk.core.type.String
static undefined() ostk.core.filesystem.File