# -rw-r--r--@ 1 byteface staff 2100 21 Sep 07:58 README.md
# To read info about a file or folder without creation use colon :
# TODO - cant do for files on same line?
test = tree("""
:test_sharpshooter.py
""", test=True)
print(f"{test}")
assert 'test_sharpshooter.py' in f"{test}"
test = tree(":venv")
print(f"{test}")
# test not creating things by using colon
i think this is because i start was_dir as True. i noted at the time this might be hacky. but i guess that means until the line is returned it thinks its a dir?. so works for dir?.
This issue was automatically created by a github action that converts project Todos to issues.
https://github.com/byteface/sharpshooter/blob/b7afabf36077e1d982f523b71e742597441dedff/tests/test_sharpshooter.py#L149