diff options
Diffstat (limited to 'KeyRing.hs')
-rw-r--r-- | KeyRing.hs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -633,6 +633,12 @@ parseOptionFile fname = do | |||
633 | notComment cs = not (all isSpace cs) | 633 | notComment cs = not (all isSpace cs) |
634 | return ys | 634 | return ys |
635 | 635 | ||
636 | -- | returns ( home directory | ||
637 | -- , path to secret ring | ||
638 | -- , path to public ring | ||
639 | -- , fingerprint of working key | ||
640 | -- ) | ||
641 | getHomeDir :: Maybe FilePath -> IO (KikiCondition (FilePath,FilePath,FilePath,Maybe String)) | ||
636 | getHomeDir protohome = do | 642 | getHomeDir protohome = do |
637 | homedir <- envhomedir protohome | 643 | homedir <- envhomedir protohome |
638 | flip (maybe (return CantFindHome)) | 644 | flip (maybe (return CantFindHome)) |