Skip to content

Commit

Permalink
md5 integrated
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-leonard committed Feb 11, 2015
1 parent 1e3eda5 commit fd0b644
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ffi = require 'ffi'

torchx = {}

torch.include('torchx', 'md5.lua')
torch.include('torchx', 'treemax.lua')
torch.include('torchx', 'find.lua')
torch.include('torchx', 'remap.lua')
Expand All @@ -14,4 +15,4 @@ torch.include('torchx', 'indexdir.lua')

torch.include('torchx', 'test.lua')

torch.md5 = require 'torchx.md5'

2 changes: 1 addition & 1 deletion md5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -390,4 +390,4 @@ function md5.sum(s)
return hex2binary(md5.sumhexa(s))
end

return md5
torch.md5 = md5

0 comments on commit fd0b644

Please sign in to comment.