:mod:`cloudmesh.abstract.StorageABC` ==================================== .. py:module:: cloudmesh.abstract.StorageABC Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: cloudmesh.abstract.StorageABC.StorageABC .. class:: StorageABC(service=None) .. method:: create_dir(self, directory=None) :abstractmethod: creates a directory :param directory: the name of the directory :return: dict .. method:: list(self, source=None, dir_only=False, recursive=False) :abstractmethod: lists the information as dict :param source: the source which either can be a directory or file :param dir_only: Only the directory names :param recursive: in case of directory the recursive refers to all subdirectories in the specified source :return: dict .. method:: put(self, source=None, destination=None, recursive=False) :abstractmethod: puts the source on the service :param source: the source which either can be a directory or file :param destination: the destination which either can be a directory or file :param recursive: in case of directory the recursive refers to all subdirectories in the specified source :return: dict .. method:: get(self, source=None, destination=None, recursive=False) :abstractmethod: gets the destination and copies it in source :param source: the source which either can be a directory or file :param destination: the destination which either can be a directory or file :param recursive: in case of directory the recursive refers to all subdirectories in the specified source :return: dict .. method:: delete(self, source=None, recursive=False) :abstractmethod: deletes the source :param source: the source which either can be a directory or file :param recursive: in case of directory the recursive refers to all subdirectories in the specified source :return: dict .. method:: search(self, directory=None, filename=None, recursive=False) :abstractmethod: gets the destination and copies it in source :param directory: the directory which either can be a directory or file :param recursive: in case of directory the recursive refers to all subdirectories in the specified source :return: dict .. method:: tree(self, directory=None) Prints a visual representation of the files and directories :param directory: :type directory: :return: :rtype: