@(Empty ? $"Nothing has been pushed to {Repository} yet." : $"No revision called {Reference ?? "HEAD"} in {Repository}.")
@(Path is { Length: > 0 } ? Path : "/") @Counted(entries) at @view.Commit.ShortSha
| mode | name | size |
|---|---|---|
| .. | ||
| @Mode(entry.Kind) | @if (entry.Kind == GitEntryKind.Submodule) { @entry.Name @entry.Sha[..10] } else { @entry.Name } | @(entry.Kind == GitEntryKind.Directory ? "" : Size(entry.Size)) |
@blob.Path @Size(blob.Size)@(Code.Count > 0 ? $" · {Counted(Code.Count, "line")}" : "") · raw · history
@if (blob.IsBinary) {Binary file. Download it to look inside.
} else if (blob.TooLarge) {Too large to print here. Read it raw.
} else if (Code.Count == 0) {Empty file.
} else { @* Every line is addressable: #L42 scrolls to it and marks it, so a line of code can be linked to from anywhere. *@| @number |
Nothing browsable at @Path in @view.Reference.