summaryrefslogtreecommitdiffstats
path: root/lib/fs.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-09-26 18:16:31 +0000
committerTed Trask <ttrask01@yahoo.com>2008-09-26 18:16:31 +0000
commiteb012794028e9f5670feb03718c03ad699e8d935 (patch)
tree4a73c5a4cb7ef7b444236cca06ef04b651bb8996 /lib/fs.lua
parente78de1270cce57dbe3abeab1857084a4de613cdb (diff)
downloadacf-core-eb012794028e9f5670feb03718c03ad699e8d935.tar.bz2
acf-core-eb012794028e9f5670feb03718c03ad699e8d935.tar.xz
Cleanup of some libs.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1533 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib/fs.lua')
-rw-r--r--lib/fs.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/fs.lua b/lib/fs.lua
index 943fb85..fa58058 100644
--- a/lib/fs.lua
+++ b/lib/fs.lua
@@ -95,19 +95,6 @@ function md5sum_file ( path )
return checksum
end
-function md5sum_string ( str)
- cmd = "/bin/echo -n " .. str .. "|/usr/bin/md5sum|cut -f 1 -d \" \" "
- f = io.popen(cmd)
- local checksum = {}
- for line in f:lines() do
- checksum[#checksum + 1] = line
- end
- f:close()
- return checksum[1]
-end
-
-
-
-- iterator function for finding dir entries matching filespec (what)
-- starting at where, or currentdir if not specified.
-- Finds regexes, not fileglobs