{% extends "base.html" %} {% block title %}{{ repo.name }} — {{ repo.description }}{% endblock %} {% block header %} {{ macros::header(Some(repo), branch_names, Some(current_ref)) }} {% endblock %} {% block tabs %} {{ macros::repo_tabs(repo, current_ref, query, "tree") }} {% endblock %} {% decl parameters %} {% if !current_ref.is_head %} {% let parameters %}?h={{ current_ref.name }}{% endlet %} {% else %} {% let parameters = "".to_string() %} {% endif %} {% block breadcrumb %}
{{ repo.name }} {% for crumb in breadcrumbs %} / {{ crumb.name }} {% endfor %}
{% endblock %} {% block content %} {% match kind %} {% when PathView::Tree(entries) %} {% if let Some(up) = parent_path %} {% endif %} {% for entry in entries %} {% endfor %}
Mode Name Size
..
{{ entry.mode_display() }} {% match entry.kind %} {% when EntryKind::Tree %} {{ entry.name }} {% when EntryKind::Commit %} {{ entry.name }} @ {{ entry.id }} {% when _ %} {{ entry.name }} {% endmatch %} {{ entry.size_display() }}
{% when PathView::Blob(blob) %}
{{ blob.mode_display() }} blob {{ blob.id }} {{ blob.size }} bytes (plain)
{% if let Some(lines) = blob.lines %} {% for line in lines %} {% endfor %}
{{ loop.index }}
{{ line }}
{% else %}

Binary file not shown. Download raw.

{% endif %} {% endmatch %} {% endblock %}