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 Numeric
|
||||||
import Control.Applicative
|
import Control.Applicative
|
||||||
import Data.Char
|
import Data.Char
|
||||||
|
import System.Posix.Types
|
||||||
|
|
||||||
import Git
|
import Git
|
||||||
import Utility.SafeCommand
|
import Utility.SafeCommand
|
||||||
|
@ -19,7 +20,7 @@ import Utility.SafeCommand
|
||||||
type Treeish = String
|
type Treeish = String
|
||||||
|
|
||||||
data TreeItem = TreeItem
|
data TreeItem = TreeItem
|
||||||
{ mode :: Int
|
{ mode :: FileMode
|
||||||
, objtype :: String
|
, objtype :: String
|
||||||
, sha :: String
|
, sha :: String
|
||||||
, file :: FilePath
|
, file :: FilePath
|
||||||
|
|
Loading…
Reference in a new issue