Merge remote-tracking branch 'Fozz/fixing_pathing_bug'

pull/2/head
Liam Staskawicz 2014-06-05 15:28:02 -07:00
commit 404e324155
1 changed files with 3 additions and 0 deletions

View File

@ -318,6 +318,9 @@ func GetMostRecentDBVersion(dirpath string) (version int64, err error) {
version = -1
filepath.Walk(dirpath, func(name string, info os.FileInfo, walkerr error) error {
if walkerr != nil {
return walkerr
}
if !info.IsDir() {
if v, e := NumericComponent(name); e == nil {