{% extends "repo/base.html" %} {% block tree_nav_class %}active{% endblock %} {% block content %}
{% for item in items -%} {% match item -%} {%- when crate::git::TreeItem::Tree with (tree) -%} {%- when crate::git::TreeItem::File with (file) -%} {%- when crate::git::TreeItem::Submodule with (submodule) -%} {%- endmatch %} {% endfor -%}
Mode Name Size
{{ tree.mode|file_perms }}
{{ tree.name }}
{{ file.mode|file_perms }}
{{ file.name }}
{{ file.size }}
{{ submodule.mode|file_perms }}
🔗 {{ submodule.name }} @ {{ submodule.oid.to_hex_with_len(7) }}
{% endblock %}