determine database path

This commit is contained in:
Jonathan Lamothe
2018-12-29 14:01:32 -05:00
parent aa0b8e13d2
commit d1e4287745
2 changed files with 29 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ License along with this program. If not, see
{-# LANGUAGE TemplateHaskell #-}
module Types (Status (Status), gen, masterPass, database) where
module Types (Status (Status), gen, dbPath, masterPass, database) where
import Control.Lens (makeLenses, set, (^.))
import System.Random (RandomGen (next, split), StdGen)
@@ -32,6 +32,7 @@ import Password
data Status = Status
{ _gen :: StdGen
, _masterPass :: String
, _dbPath :: FilePath
, _database :: PWDatabase
}