life-sync-1.1.1.0: Synchronize personal configs across multiple machines.
Copyright(c) 2017-2020 Kowainik
LicenseMPL-2.0
MaintainerKowainik <xrom.xkov@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Life.Core

Description

Contains main data types used in the project.

Synopsis

Git and Github core

newtype Branch Source #

Git branch.

Constructors

Branch 

Fields

Instances

Instances details
Eq Branch Source # 
Instance details

Defined in Life.Core

Methods

(==) :: Branch -> Branch -> Bool #

(/=) :: Branch -> Branch -> Bool #

Show Branch Source # 
Instance details

Defined in Life.Core

newtype Owner Source #

Github repository owner.

Constructors

Owner 

Fields

Instances

Instances details
Show Owner Source # 
Instance details

Defined in Life.Core

Methods

showsPrec :: Int -> Owner -> ShowS #

show :: Owner -> String #

showList :: [Owner] -> ShowS #

newtype Repo Source #

Git repository.

Constructors

Repo 

Fields

Instances

Instances details
Show Repo Source # 
Instance details

Defined in Life.Core

Methods

showsPrec :: Int -> Repo -> ShowS #

show :: Repo -> String #

showList :: [Repo] -> ShowS #

newtype CommitMsg Source #

Git commit message.

Constructors

CommitMsg 

Fields

Instances

Instances details
Show CommitMsg Source # 
Instance details

Defined in Life.Core

master :: Branch Source #

Git "master" branch constant.

File system logic

data LifePath Source #

Constructors

File FilePath 
Dir FilePath 

Instances

Instances details
Show LifePath Source # 
Instance details

Defined in Life.Core