mcph.file_manager.factory#

Module for file managers factory, use it as entry-point to file managers.

Module Contents#

Classes#

FileManagerFactory

Fabric for File Managers.

class FileManagerFactory[source]#

Fabric for File Managers.

static create_file_manager(protocol: mcph.config.Protocol) mcph.file_manager.local.LocalFileManager[source]#

Create object with file manager.

Parameters:

protocol – Protocol for which create file manager.

Raises:

TypeError – Wrong protocol provided.

Returns:

Object of file manager.