Commit graph

4 commits

Author SHA1 Message Date
Ethan Koenig
9e627af9a4 gofmt () 2017-05-12 16:09:53 +08:00
mappu
fd76f090a2 markup: microoptimise for many short filenames in directory ()
* markup: microoptimise for many short filenames in directory

Move strings.ToLower() after the early-return length check. This is a safe operation in all cases and should slightly improve directory listing performance when a directory contains many thousands of files with short filenames.

* markup: expand test cases for IsReadmeFile()
2017-05-09 22:20:22 +08:00
Lunny Xiao
0d1e001b9c fix multiple readme file rendering and fix ()
* fix multiple readme file rendering and fix 

* remove unnecessary loop
2017-05-02 16:57:54 +08:00
Lunny Xiao
52627032bc Add markup package to prepare for org markup format () 2017-04-21 09:01:08 +02:00