{% extends "base.html" %} {% block title %}{{repo|repo_name}} {{path.display()}} - {{config.site_name}}{% endblock %} {% block content %} {% include "repo-navbar.html" %}
{% if path.to_string_lossy() != "" %}

{{path.to_string_lossy()}}/@{{spec}}

{% else %}

{{ spec }}

{% endif %}
{% include "last-commit.html" %} {% for entry in tree %} {% let obj = entry.to_object(repo.as_inner()) %} {% if obj.is_ok() %} {% let o = obj.unwrap() %} {% else %} {% endif %} {% endfor %}
Mode Name Size
{{ entry.filemode()|unix_perms }} {{entry.name().unwrap() }}{% if o.as_tree().is_some() %}/{% endif %} {% if o.as_blob().is_some() %} {{ o.into_blob().unwrap().content().len()|filesizeformat }} {% endif %} {{ entry.name().unwrap() }}
{% endblock %}