mc_plugin_helper.file_manager.abstract module#

Module for abstract file manager.

class AbstractFileManager[source]#

Bases: abc.ABC

Abstract File Manager class.

abstract open_jar(jar_file)[source]#

Open specified jar.

Parameters

jar_file (str) – Path to plugin in jar.

Return type

bytes

Returns

Raw text from plugin.yml.

abstract get_all_files(path)[source]#

List with all files in path.

Parameters

path (str) – Path to folder for list of all files.

Return type

List[str]

Returns

List with all files in folder.

_abc_impl = <_abc._abc_data object>#