pfile-0.1.0.1: CLI program for profiles management.
Copyright(c) 2024 Illia Shkroba
LicenseBSD3
MaintainerIllia Shkroba <[email protected]>
Stabilityunstable
Portabilitynon-portable (Non-Unix systems are not supported)
Safe HaskellSafe-Inferred
LanguageHaskell2010

PFile.Path

Description

Wrapper of Directory and FilePath.

Synopsis

Documentation

find :: forall m. MonadIO m => Absolute -> m FindResult Source #

data FindResult Source #

Constructors

FindResult 

Fields

remove :: (MonadError RemoveError m, MonadIO m) => Absolute -> m () Source #

remove should be used instead of the removePathForcibly to properly remove a path without messing up permissions of a target in case of links

newtype Absolute Source #

Absolute FilePath to a filesystem's object.

Since: 0.1.0.0

Constructors

Absolute 

Fields

Instances

Instances details
FromJSON Absolute Source # 
Instance details

Defined in PFile.Path

ToJSON Absolute Source # 
Instance details

Defined in PFile.Path

Eq Absolute Source # 
Instance details

Defined in PFile.Path

Hashable Absolute Source # 
Instance details

Defined in PFile.Path

Methods

hashWithSalt :: Int -> Absolute -> Int #

hash :: Absolute -> Int #