aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/index/index.go
diff options
context:
space:
mode:
authorAlberto Cortés <alberto@sourced.tech>2017-03-01 17:33:15 +0100
committerAlberto Cortés <alberto@sourced.tech>2017-03-01 17:58:23 +0100
commitda704cfac743a91474baf45df226e5ec034146b0 (patch)
tree3b64c2706cc515c83dcfd66e31fc6a8cf919bb1c /plumbing/format/index/index.go
parent09e4358e03e5eccf5597be9bdcd3ffeab7618fb2 (diff)
downloadgo-git-da704cfac743a91474baf45df226e5ec034146b0.tar.gz
replace os.FileMode use with filemode.FileMode
Diffstat (limited to 'plumbing/format/index/index.go')
-rw-r--r--plumbing/format/index/index.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/format/index/index.go b/plumbing/format/index/index.go
index a95dba2..e706058 100644
--- a/plumbing/format/index/index.go
+++ b/plumbing/format/index/index.go
@@ -2,10 +2,10 @@ package index
import (
"errors"
- "os"
"time"
"srcd.works/go-git.v4/plumbing"
+ "srcd.works/go-git.v4/plumbing/filemode"
)
var (
@@ -62,7 +62,7 @@ type Entry struct {
// Dev and Inode of the tracked path
Dev, Inode uint32
// Mode of the path
- Mode os.FileMode
+ Mode filemode.FileMode
// UID and GID, userid and group id of the owner
UID, GID uint32
// Size is the length in bytes for regular files