nanome.util.file module¶
-
class
DirectoryErrorCode
[source]¶ Bases:
enum.IntEnum
Deprecated.-
folder_unreachable
= 1¶
-
no_error
= 0¶
-
-
class
FileError
[source]¶ Bases:
enum.IntEnum
File errors encounterable after performing a file operation on the Nanome host machine.Accessible via the first parameter of the ‘done’ callback for all methods on plugin_instance.files-
invalid_path
= 1¶
-
io_error
= 2¶
-
no_error
= 0¶
-
security_error
= 3¶
-
-
class
FileErrorCode
[source]¶ Bases:
enum.IntEnum
Deprecated.-
file_unreachable
= 1¶
-
missing_permission
= 3¶
-
no_error
= 0¶
-
path_too_long
= 2¶
-
-
class
FileMeta
[source]¶ Bases:
object
Represents file metadata from a Nanome host machine.Accessible via the second parameter of the ‘done’ callback for plugin_instance.files.ls
-
class
LoadInfoDone
[source]¶ Bases:
object
Represents the a file operation on the Nanome host machine.Accessible via the first parameter of the ‘done’ callback for all methods on plugin_instance.files-
ErrorCode
¶ alias of
nanome.util.enums.LoadFileErrorCode
-