nanome.util.file module¶
-
class
DirectoryErrorCode[source]¶ Bases:
enum.IntEnumDeprecated.-
folder_unreachable= 1¶
-
no_error= 0¶
-
-
class
FileError[source]¶ Bases:
enum.IntEnumFile 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.IntEnumDeprecated.-
file_unreachable= 1¶
-
missing_permission= 3¶
-
no_error= 0¶
-
path_too_long= 2¶
-
-
class
FileMeta[source]¶ Bases:
objectRepresents 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:
objectRepresents 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
-