From da704cfac743a91474baf45df226e5ec034146b0 Mon Sep 17 00:00:00 2001 From: Alberto Cortés Date: Wed, 1 Mar 2017 17:33:15 +0100 Subject: replace os.FileMode use with filemode.FileMode --- plumbing/format/index/index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plumbing/format/index/index.go') 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 -- cgit