Browse Source

[vendor] update go-annex

cgars 8 years ago
parent
commit
524ff0b150
2 changed files with 2 additions and 2 deletions
  1. 1 1
      vendor/github.com/G-Node/go-annex/file.go
  2. 1 1
      vendor/vendor.json

+ 1 - 1
vendor/github.com/G-Node/go-annex/file.go

@@ -22,7 +22,7 @@ type AnnexFileNotFound struct {
 func NewAFile(annexpath, repopath, Ofilename string, APFileC []byte) (*AFile, error) {
 	nAF := &AFile{OFilename: Ofilename}
 	pathParts := strings.SplitAfter(string(APFileC), string(os.PathSeparator))
-	filename := pathParts[len(pathParts)-1]
+	filename := strings.TrimSpace(pathParts[len(pathParts)-1])
 
 	// lets find the annex file
 	filepath.Walk(filepath.Join(annexpath, repopath), func(path string, info os.FileInfo, err error) error {

+ 1 - 1
vendor/vendor.json

@@ -9,7 +9,7 @@
 			"revisionTime": "2017-07-11T12:59:03Z"
 		},
 		{
-			"checksumSHA1": "XeImMdXbeZCNadeDcLhvBYTlexs=",
+			"checksumSHA1": "vjZdri9BVeaL5W9Py2wdIAj35qQ=",
 			"path": "github.com/G-Node/go-annex",
 			"revision": "3cd728fddc604d7cd4b9b74ff6780a9d67aa1d12",
 			"revisionTime": "2017-07-11T13:07:39Z"