Moved Nim sources into src/main/nim.
This commit is contained in:
parent
c16a5a684d
commit
9728055c45
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
nimcache/
|
||||
build/
|
||||
.gradle/
|
||||
/treediff
|
||||
|
@ -4,6 +4,7 @@ author = "Jonathan Bernard (jdb@jdb-labs.com)"
|
||||
description = "Utility to generate diffs of full directory trees."
|
||||
license = "BSD"
|
||||
bin = @["treediff"]
|
||||
srcDir = "src/main/nim"
|
||||
|
||||
# Dependencies
|
||||
requires: @["nim >= 0.13.0", "docopt >= 0.1.0", "console_progress >= 1.2"]
|
||||
|
@ -1,12 +0,0 @@
|
||||
analyzeDir (tail call optimizable?)
|
||||
count total # of files
|
||||
for all files in directory
|
||||
compute md5 checksum
|
||||
create file entry: file obj, relative path, checksum
|
||||
add entry to dictionary indexed by relative path
|
||||
add entry to dictionary indexed by checksum
|
||||
add entry to list of all entries
|
||||
for each subdirectory, analyzeDir
|
||||
return analysis
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user