Moved Nim sources into src/main/nim.

This commit is contained in:
Jonathan Bernard 2016-01-26 00:32:41 -06:00
parent c16a5a684d
commit 9728055c45
5 changed files with 2 additions and 12 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
nimcache/
build/
.gradle/
/treediff

View File

@ -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"]

View File

@ -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