commit | 4b49d8df14997dfd7babc4c5f7d73ac70b657cc0 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Thu Jun 29 20:02:22 2017 -0700 |
committer | Shawn Pearce <sop@google.com> | Thu Jun 29 20:02:22 2017 -0700 |
tree | e39565ef47393af3a31ff82af18e85b9fc19571b | |
parent | 32a9c338e90e814e33c5bab80eb696570beb99d3 [diff] |
Cleanup renderStreaming to carry less state The close method only needs the tail of the template. Rewrite the closure so only the tail is retained as UTF-8 encoded bytes, allowing the JVM to free the larger String. Use try-with-resources to perform the final write. This ensures that if the write fails (e.g. stream is disconnected), the close still happens, and the risk of a file descriptor leaking is reduced. Change-Id: Ia694a3457a386fc311c702472f053d47e670a88c
Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.
Gitiles automatically renders *.md
Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.
Gitiles is configurable in a git-style configuration file named gitiles.config
. Refer to the configuration documentation for details.
Use the issue tracker at github to file bugs.
Please refer to the Developer Guide.