Peder Bergebakken Sundt
Peder Bergebakken Sundt
This would add complexity if in the future you are to implement user-defined entry and exit syntax. (see `block_start_string` an onward [here](https://jinja.palletsprojects.com/en/3.1.x/api/#jinja2.Environment)) EDIT: Jinja1 guide: https://svn.python.org/projects/external/Jinja-1.1/docs/build/altsyntax.html
A third-party solution is https://github.com/asymmetric/nixpkgs-update-notifier
this is run on boot https://github.com/pbsds/hatena-server/blob/master/hatena.py#L166
you may have to implement some getChild logic to dynamically traverse the files tree
how Twisted works is that each file or folder is represented with a class/object. Instead of attaching children to the root object at startup, you can override the getChild methods...
that is for example what happens here https://github.com/pbsds/hatena-server/blob/master/hatena.py#L53C6-L53C14