gi-ostree-1.0.2: OSTree bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.OSTree.Objects.MutableTree

Contents

Description

Private instance structure.

Synopsis

Exported types

Methods

Unsupported methods

ensureDir

mutableTreeEnsureDir Source #

Arguments

:: (HasCallStack, MonadIO m, IsMutableTree a, IsMutableTree b) 
=> a 
-> Text 
-> b 
-> m ()

(Can throw GError)

No description available in the introspection data.

ensureParentDirs

mutableTreeEnsureParentDirs Source #

Arguments

:: (HasCallStack, MonadIO m, IsMutableTree a) 
=> a

self: Tree

-> [Text]

splitPath: File path components

-> Text

metadataChecksum: SHA256 checksum for metadata

-> m MutableTree

(Can throw GError)

Create all parent trees necessary for the given splitPath to exist.

getContentsChecksum

mutableTreeGetContentsChecksum :: (HasCallStack, MonadIO m, IsMutableTree a) => a -> m Text Source #

No description available in the introspection data.

getFiles

mutableTreeGetFiles Source #

Arguments

:: (HasCallStack, MonadIO m, IsMutableTree a) 
=> a 
-> m (Map Text Text)

Returns: All children files (the value is a checksum)

No description available in the introspection data.

getMetadataChecksum

mutableTreeGetMetadataChecksum :: (HasCallStack, MonadIO m, IsMutableTree a) => a -> m Text Source #

No description available in the introspection data.

lookup

data MutableTreeLookupMethodInfo Source #

Instances

((~) * signature (Text -> Text -> b -> m ()), MonadIO m, IsMutableTree a, IsMutableTree b) => MethodInfo * MutableTreeLookupMethodInfo a signature Source # 

mutableTreeLookup Source #

Arguments

:: (HasCallStack, MonadIO m, IsMutableTree a, IsMutableTree b) 
=> a 
-> Text 
-> Text 
-> b 
-> m ()

(Can throw GError)

No description available in the introspection data.

new

mutableTreeNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m MutableTree

Returns: A new tree

No description available in the introspection data.

replaceFile

mutableTreeReplaceFile Source #

Arguments

:: (HasCallStack, MonadIO m, IsMutableTree a) 
=> a 
-> Text 
-> Text 
-> m ()

(Can throw GError)

No description available in the introspection data.

setContentsChecksum

mutableTreeSetContentsChecksum :: (HasCallStack, MonadIO m, IsMutableTree a) => a -> Text -> m () Source #

No description available in the introspection data.

setMetadataChecksum

mutableTreeSetMetadataChecksum :: (HasCallStack, MonadIO m, IsMutableTree a) => a -> Text -> m () Source #

No description available in the introspection data.

walk

mutableTreeWalk Source #

Arguments

:: (HasCallStack, MonadIO m, IsMutableTree a) 
=> a

self: Tree

-> [Text]

splitPath: Split pathname

-> Word32

start: Descend from this number of elements in splitPath

-> m MutableTree

(Can throw GError)

Traverse start number of elements starting from splitPath; the child will be returned in outSubdir.