def METHOD_NAME(self):
    """extended dotfile to str"""
    indent = '  '
    out = f'dotfile: \"{self.key}\"'
    out += f'\n{indent}src: \"{self.src}\"'
    out += f'\n{indent}dst: \"{self.dst}\"'
    out += f'\n{indent}link: \"{self.link}\"'
    out += f'\n{indent}template: \"{self.template}\"'
    if self.chmod:
        if isinstance(self.chmod, int) or len(self.chmod) == 3:
            out += f'\n{indent}chmod: \"{self.chmod:o}\"'
        else:
            out += f'\n{indent}chmod: \"{self.chmod}\"'
    out += f'\n{indent}pre-action:'
    some = self.get_pre_actions()
    if some:
        for act in some:
            out += f'\n{2*indent}- {act}'
    out += f'\n{indent}post-action:'
    some = self.get_post_actions()
    if some:
        for act in some:
            out += f'\n{2*indent}- {act}'
    out += f'\n{indent}trans_r:'
    some = self.get_trans_r()
    if some:
        out += f'\n{2*indent}- {some}'
    out += f'\n{indent}trans_w:'
    some = self.get_trans_w()
    if some:
        out += f'\n{2*indent}- {some}'
    return out