file_tree

file_tree(path: Path)

Return the directory file tree with emojis as a string, excluding .git files.

Parameters

path : Path

The path to the directory.

Returns

str

A string representation of the file tree with emojis.