git-annex/templates
Joey Hess 81d402216d cache the serialization of a Key
This will speed up the common case where a Key is deserialized from
disk, but is then serialized to build eg, the path to the annex object.

Previously attempted in 4536c93bb2
and reverted in 96aba8eff7.
The problems mentioned in the latter commit are addressed now:

Read/Show of KeyData is backwards-compatible with Read/Show of Key from before
this change, so Types.Distribution will keep working.

The Eq instance is fixed.

Also, Key has smart constructors, avoiding needing to remember to update
the cached serialization.

Used git-annex benchmark:
  find is 7% faster
  whereis is 3% faster
  get when all files are already present is 5% faster
Generally, the benchmarks are running 0.1 seconds faster per 2000 files,
on a ram disk in my laptop.
2019-11-22 17:49:16 -04:00
..
configurators webapp: remove configurators for obsolste cloud storage services 2019-01-22 11:48:35 -04:00
control replace the jumbotron class with something that doesn't change font sizes 2014-05-02 16:44:09 +02:00
dashboard cache the serialization of a Key 2019-11-22 17:49:16 -04:00
documentation version: Added "dependency versions" line. 2017-04-07 18:16:11 -04:00
notifications global webapp redirects, to finish upgrades 2013-11-23 14:47:38 -04:00
sidebar don't close tags that are closed by hamlet 2014-04-21 19:47:21 +02:00
actionbutton.hamlet fix more layout issues based on joey's feedback 2014-05-02 16:29:23 +02:00
bootstrap.hamlet refactor 2012-11-25 00:27:17 -04:00
controlmenu.hamlet add spacer to menu 2016-02-15 13:02:14 -04:00
error.cassius webapp: Prettify error display. 2012-12-02 15:02:49 -04:00
error.hamlet fix navbar on error page 2014-04-27 23:57:57 +02:00
page.cassius replace the jumbotron class with something that doesn't change font sizes 2014-05-02 16:44:09 +02:00
page.hamlet removed the old Android app 2018-10-13 01:41:11 -04:00
page.julius global webapp redirects, to finish upgrades 2013-11-23 14:47:38 -04:00
README
repolist.hamlet Fixed bug: webapp should notice when remote deletion cannot complete due to not syncing 2016-06-13 21:52:19 -04:00
repolist.julius webapp: Repository list is now included in the dashboard, and other UI tweaks. 2013-03-15 00:34:42 -04:00

These are template files for the git-annex webapp. They use the
Shakespearean template library, which is documented here:
http://www.yesodweb.com/book/shakespearean-templates

Note that for most of the templates, it will use files ending in
.hamlet, .julius, and .cassius if they exist. So if you need to add CSS,
or javascript, you can create the missing template files.