file_tree

file_tree(path: Path)

Return the directory file tree.

With emojis as a string and excluding .git files.

Parameters

path : Path

The path to the directory.

Returns

str

A string representation of the file tree with emojis.