Merge pull request #3974 from rickard-von-essen/update-go-fs

Updated dep: go-fs
This commit is contained in:
Rickard von Essen 2016-10-08 17:12:09 +02:00 committed by GitHub
commit 3842272405
2 changed files with 5 additions and 3 deletions

View File

@ -9,6 +9,7 @@ import (
"math" "math"
"time" "time"
"unicode/utf16" "unicode/utf16"
"strings"
) )
type DirectoryAttr uint8 type DirectoryAttr uint8
@ -341,8 +342,8 @@ func DecodeDirectoryClusterEntry(data []byte) (*DirectoryClusterEntry, error) {
data[0] = 0xE5 data[0] = 0xE5
} }
result.name = string(data[0:8]) result.name = strings.TrimRight(string(data[0:8]), " ")
result.ext = string(data[8:11]) result.ext = strings.TrimRight(string(data[8:11]), " ")
// Creation time // Creation time
createTimeTenths := data[13] createTimeTenths := data[13]

3
vendor/vendor.json vendored
View File

@ -459,7 +459,8 @@
{ {
"checksumSHA1": "mVqDwKcibat0IKAdzAhfGIHPwI8=", "checksumSHA1": "mVqDwKcibat0IKAdzAhfGIHPwI8=",
"path": "github.com/mitchellh/go-fs", "path": "github.com/mitchellh/go-fs",
"revision": "a34c1b9334e86165685a9449b782f20465eb8c69" "revision": "4f9d2cb031e44bef60d0c00ccb3f31f68867e85e",
"revisionTime": "2016-09-29T19:58:49Z"
}, },
{ {
"checksumSHA1": "3ptHw3lJIghPRCAc05e5F4S0UMY=", "checksumSHA1": "3ptHw3lJIghPRCAc05e5F4S0UMY=",