{% extends "repository/repository.html" %} {% block menu_tree_class %}selected{% endblock %} {% block content %}
ID: {{ blob.id }}
{% if not blob.is_binary %} {# 10 is the ASCII integer value of \n Use 10 instead of \n because blob.data is a byte array, not a string. #} {{ blob.data.count(10) }} lines {% else %} binary {% endif %} — {{ blob.size|human_size(B=True) }} — View raw


{% if blob.is_binary %} Cannot display binary object. {% else %} {{ blob_formatted|safe }} {% endif %} {% endblock %}