Examples
A static website
A static website. The input is a small public learning fixture; it contains no private production data.
Input
site/index.html
site/assets/app.js
site/assets/style.cssExpected checks
Case-insensitiveContains "index.html"
Contains "app.js"
Contains "style.css"- File Path Delimiter
/- Delimiter
Line feed
A Python package
A Python package. The input is a small public learning fixture; it contains no private production data.
Input
pkg/__init__.py
pkg/parse.py
tests/test_parse.pyExpected checks
Case-insensitiveContains "__init__.py"
Contains "parse.py"
Contains "test_parse.py"- File Path Delimiter
/- Delimiter
Line feed
Release artefacts
Release artefacts. The input is a small public learning fixture; it contains no private production data.
Input
dist/app-linux.zip
dist/app-macos.zip
checksums/SHA256SUMSExpected checks
Case-insensitiveContains "app-linux.zip"
Contains "app-macos.zip"
Contains "SHA256SUMS"- File Path Delimiter
/- Delimiter
Line feed
Monthly receipts
Monthly receipts. The input is a small public learning fixture; it contains no private production data.
Input
2025/01/a.pdf
2025/02/b.pdf
2025/02/c.pdfExpected checks
Case-insensitiveContains "a.pdf"
Contains "b.pdf"
Contains "c.pdf"- File Path Delimiter
/- Delimiter
Line feed
A small documentation tree
A small documentation tree. The input is a small public learning fixture; it contains no private production data.
Input
docs/start.md
docs/api/auth.md
docs/api/errors.mdExpected checks
Case-insensitiveContains "start.md"
Contains "auth.md"
Contains "errors.md"- File Path Delimiter
/- Delimiter
Line feed
basic example
Input
/test_dir1/test_file1.txt
/test_dir1/test_file2.txt
/test_dir2/test_file1.txtExpected answer
test_dir1
|---test_file1.txt
|---test_file2.txt
test_dir2
|---test_file1.txt- File Path Delimiter
/- Delimiter
Line feed
Format reference: File Tree background and specification
Parameters
| Parameter | Default value | Input and choices |
|---|---|---|
| File Path Delimiter | "/" | Escape sequences such as \n, \r and \t are supported |
| Delimiter | Line feed | Line feed, CRLF, Space, Comma, Semi-colon, Colon, Nothing (separate chars) |