@staticmethod
    def folder_name_from_path(pth):
        return os.path.basename(pth.rstrip(os.sep))
Returns the first 'size' bytes of an object. If the object is smaller
dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/FolderUploader.folder_name_from_path--crossover with--dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/ContainerManager.fetch_partial