use FileMode
This commit is contained in:
parent
4afdd34e89
commit
a3cb5c47e5
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ module Git.LsTree (
|
|||
import Numeric
|
||||
import Control.Applicative
|
||||
import Data.Char
|
||||
import System.Posix.Types
|
||||
|
||||
import Git
|
||||
import Utility.SafeCommand
|
||||
|
@ -19,7 +20,7 @@ import Utility.SafeCommand
|
|||
type Treeish = String
|
||||
|
||||
data TreeItem = TreeItem
|
||||
{ mode :: Int
|
||||
{ mode :: FileMode
|
||||
, objtype :: String
|
||||
, sha :: String
|
||||
, file :: FilePath
|
||||
|
|
Loading…
Reference in a new issue