Method: MetricFu::MD5Tracker.md5_dir

Defined in:
lib/base/md5_tracker.rb

.md5_dir(path_to_file, base_dir) ⇒ Object



10
11
12
13
# File 'lib/base/md5_tracker.rb', line 10

def md5_dir(path_to_file, base_dir)
  File.join(base_dir,
            path_to_file.split('/')[0..-2].join('/'))
end