% if not dirname.raw: % relroot = './' % else: % relroot = '../' * (len(dirname.split('/')) - 1) % end git » {{repo.name}} » {{repo.branch}} » {{dirname.unicode}}

git » {{repo.name}} » {{repo.branch}} » tree

[{{repo.branch}}] / % base = smstr(relroot) % for c in dirname.split('/'): % if not c.raw: % continue % end {{c.unicode}} / % base += c + '/' % end

% key_func = lambda (t, n, s): (t != 'tree', n.raw) % for type, name, size in sorted(tree.ls(dirname.raw), key = key_func): % if type == "blob": % elif type == "tree": % end % end
{{!name.html}} {{size}} {{!name.html}}/