REF add some TODOS

This commit is contained in:
Nathan Dwarshuis 2020-05-02 00:13:45 -04:00
parent ebbb2a714d
commit b125a66d9e
2 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,7 @@ import System.Process
main :: IO ()
main = runChecks >> getArgs >>= parse
-- TODO check if daemon is running when running client
parse :: [String] -> IO ()
parse ["-d", t] = case readMaybe t of { Just t' -> runDaemon t'; _ -> usage }
parse ("-c":args) = runClient args
@ -78,6 +79,7 @@ newtype BWServerConf = BWServerConf
{ timeout :: UnixDiffTime
}
-- TODO add a cache so the browse list will load faster
data CurrentSession = CurrentSession
{ timestamp :: UnixTime
, hash :: String

View File

@ -84,6 +84,7 @@ type Password = IO (Maybe String)
type MountpointPasswords = M.Map String Password
-- TODO check if mountdir exists or puke
data MountConf = MountConf
{ passwords :: MountpointPasswords
, mountDir :: FilePath