more psuedocode on how i want to lay this out. its late and i need to sleep
This commit is contained in:
parent
91bb786f6a
commit
5e67a6629a
1 changed files with 8 additions and 0 deletions
|
@ -64,7 +64,15 @@ class NvdDownloader
|
|||
# the modified filename with the meta file extension included
|
||||
end
|
||||
|
||||
def check_metafile(metafile)
|
||||
# open the metafile, build a hash of k/v pairs of the data inside of the file
|
||||
# check each k/v pair against the file on disk
|
||||
# return a new hash with the same k as before, but the value being a boolean true or false if the value from the k/v pair
|
||||
end
|
||||
|
||||
def detect_changes(metafile)
|
||||
# this should be a method that detects changes in the metafile.
|
||||
# run the check_metafile method against the current metafile on disk.
|
||||
# if there is a change, return true, if not return false
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue