]> git.tuebingen.mpg.de Git - paraslash.git/commit
server: Introduce hash sort for ls command.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 29 May 2017 17:53:47 +0000 (19:53 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 11 Jun 2017 09:54:23 +0000 (11:54 +0200)
commitdbfda9d10638e1f64e7013f82a7ca1996981cccb
tree7fe9bcc53d701ce229deed54da082265a068b179
parent11279193cca5441c834eb6f08c65ae82c9974307
server: Introduce hash sort for ls command.

This allows to specify -s=hash (or -s=h) as options to the ls server
command to sort the list of audio files by the SHA1 hash of the
file content.

We already had the LS_SORT_BY_HASH enum constant but the feature was
never implemented. It's easy to do though, so here it is.
aft.c
m4/lls/server_cmd.suite.m4