Annotate

libs/hashes.lua @ 146:2678048e93e6

plugins.disco: Fix traceback when disco#info isn't returned for a service in disco#items
author Matthew Wild <mwild1@gmail.com>
date Mon, 11 Oct 2010 02:01:07 +0100
parent 129:c0be31a5ff55
child 389:bf3a4fcdcb76
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
129
c0be31a5ff55 libs.hashes: Pure-Lua util.hashes replacement (depends on util.sha1)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 local sha1 = require "util.sha1";
c0be31a5ff55 libs.hashes: Pure-Lua util.hashes replacement (depends on util.sha1)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
c0be31a5ff55 libs.hashes: Pure-Lua util.hashes replacement (depends on util.sha1)
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 return { sha1 = sha1.sha1 };