gi-ostree-1.0.19: OSTree bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.OSTree.Objects.RepoFile

Description

No description available in the introspection data.

Synopsis

Exported types

newtype RepoFile Source #

Memory-managed wrapper type.

Constructors

RepoFile (ManagedPtr RepoFile) 

Instances

Instances details
Eq RepoFile Source # 
Instance details

Defined in GI.OSTree.Objects.RepoFile

GObject RepoFile Source # 
Instance details

Defined in GI.OSTree.Objects.RepoFile

ManagedPtrNewtype RepoFile Source # 
Instance details

Defined in GI.OSTree.Objects.RepoFile

Methods

toManagedPtr :: RepoFile -> ManagedPtr RepoFile

TypedObject RepoFile Source # 
Instance details

Defined in GI.OSTree.Objects.RepoFile

Methods

glibType :: IO GType

HasParentTypes RepoFile Source # 
Instance details

Defined in GI.OSTree.Objects.RepoFile

IsGValue (Maybe RepoFile) Source #

Convert RepoFile to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.OSTree.Objects.RepoFile

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe RepoFile -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe RepoFile)

type ParentTypes RepoFile Source # 
Instance details

Defined in GI.OSTree.Objects.RepoFile

type ParentTypes RepoFile = '[Object, File]

class (GObject o, IsDescendantOf RepoFile o) => IsRepoFile o Source #

Type class for types which can be safely cast to RepoFile, for instance with toRepoFile.

Instances

Instances details
(GObject o, IsDescendantOf RepoFile o) => IsRepoFile o Source # 
Instance details

Defined in GI.OSTree.Objects.RepoFile

toRepoFile :: (MonadIO m, IsRepoFile o) => o -> m RepoFile Source #

Cast to RepoFile, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

appendTo, appendToAsync, appendToFinish, bindProperty, bindPropertyFull, buildAttributeListForCopy, copy, copyAsync, copyAttributes, copyFinish, create, createAsync, createFinish, createReadwrite, createReadwriteAsync, createReadwriteFinish, delete, deleteAsync, deleteFinish, dup, ejectMountable, ejectMountableFinish, ejectMountableWithOperation, ejectMountableWithOperationFinish, ensureResolved, enumerateChildren, enumerateChildrenAsync, enumerateChildrenFinish, equal, findEnclosingMount, findEnclosingMountAsync, findEnclosingMountFinish, forceFloating, freezeNotify, getv, hasParent, hasPrefix, hasUriScheme, hash, isFloating, isNative, loadBytes, loadBytesAsync, loadBytesFinish, loadContents, loadContentsAsync, loadContentsFinish, loadPartialContentsFinish, makeDirectory, makeDirectoryAsync, makeDirectoryFinish, makeDirectoryWithParents, makeSymbolicLink, makeSymbolicLinkAsync, makeSymbolicLinkFinish, measureDiskUsage, measureDiskUsageFinish, monitor, monitorDirectory, monitorFile, mountEnclosingVolume, mountEnclosingVolumeFinish, mountMountable, mountMountableFinish, move, moveAsync, moveFinish, notify, notifyByPspec, openReadwrite, openReadwriteAsync, openReadwriteFinish, peekPath, pollMountable, pollMountableFinish, queryDefaultHandler, queryDefaultHandlerAsync, queryDefaultHandlerFinish, queryExists, queryFileType, queryFilesystemInfo, queryFilesystemInfoAsync, queryFilesystemInfoFinish, queryInfo, queryInfoAsync, queryInfoFinish, querySettableAttributes, queryWritableNamespaces, read, readAsync, readFinish, ref, refSink, replace, replaceAsync, replaceContents, replaceContentsAsync, replaceContentsBytesAsync, replaceContentsFinish, replaceFinish, replaceReadwrite, replaceReadwriteAsync, replaceReadwriteFinish, resolveRelativePath, runDispose, startMountable, startMountableFinish, stealData, stealQdata, stopMountable, stopMountableFinish, supportsThreadContexts, thawNotify, trash, trashAsync, trashFinish, treeFindChild, treeGetContents, treeGetContentsChecksum, treeGetMetadata, treeGetMetadataChecksum, treeQueryChild, treeSetMetadata, unmountMountable, unmountMountableFinish, unmountMountableWithOperation, unmountMountableWithOperationFinish, unref, watchClosure.

Getters

getBasename, getChecksum, getChild, getChildForDisplayName, getData, getParent, getParseName, getPath, getProperty, getQdata, getRelativePath, getRepo, getRoot, getUri, getUriScheme, getXattrs.

Setters

setAttribute, setAttributeByteString, setAttributeInt32, setAttributeInt64, setAttributeString, setAttributeUint32, setAttributeUint64, setAttributesAsync, setAttributesFinish, setAttributesFromInfo, setData, setDataFull, setDisplayName, setDisplayNameAsync, setDisplayNameFinish, setProperty.

ensureResolved

repoFileEnsureResolved Source #

Arguments

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

self: A repo file

-> m ()

(Can throw GError)

Ensure that the backing metadata is loaded.

getChecksum

repoFileGetChecksum :: (HasCallStack, MonadIO m, IsRepoFile a) => a -> m Text Source #

No description available in the introspection data.

getRepo

repoFileGetRepo Source #

Arguments

:: (HasCallStack, MonadIO m, IsRepoFile a) 
=> a 
-> m Repo

Returns: Repository

No description available in the introspection data.

getRoot

repoFileGetRoot Source #

Arguments

:: (HasCallStack, MonadIO m, IsRepoFile a) 
=> a 
-> m RepoFile

Returns: The root directory for the commit referenced by this file

No description available in the introspection data.

getXattrs

repoFileGetXattrs Source #

Arguments

:: (HasCallStack, MonadIO m, IsRepoFile a, IsCancellable b) 
=> a

self: RepoFile

-> Maybe b

cancellable: Cancellable

-> m GVariant

(Can throw GError)

No description available in the introspection data.

treeGetContents

repoFileTreeGetContents Source #

Arguments

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

self: A repo file

-> m (Maybe GVariant)

Returns: The GVariant representing the children of this directory.

This API will return Nothing if the file is not "resolved" i.e. in a loaded state. It will also return Nothing if this path is not a directory tree.

treeGetContentsChecksum

repoFileTreeGetContentsChecksum Source #

Arguments

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

self: A repo file

-> m (Maybe Text)

Returns: The SHA256 digest of the content object, or Nothing if this is not a directory.

No description available in the introspection data.

treeGetMetadata

repoFileTreeGetMetadata Source #

Arguments

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

self: A repo file

-> m (Maybe GVariant)

Returns: The GVariant representing the metadata for this directory.

This API will return Nothing if the file is not "resolved" i.e. in a loaded state. It will also return Nothing if this path is not a directory tree.

treeGetMetadataChecksum

repoFileTreeGetMetadataChecksum Source #

Arguments

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

self: A repo file

-> m (Maybe Text)

Returns: The SHA256 digest of the metadata object, or Nothing if this is not a directory.

No description available in the introspection data.

treeQueryChild

repoFileTreeQueryChild Source #

Arguments

:: (HasCallStack, MonadIO m, IsRepoFile a, IsCancellable b) 
=> a

self: RepoFile

-> Int32

n: the child number

-> Text

attributes: an attribute string to match, see fileAttributeMatcherNew

-> [FileQueryInfoFlags]

flags: a FileQueryInfoFlags

-> Maybe b

cancellable: a Cancellable or Nothing

-> m FileInfo

(Can throw GError)

No description available in the introspection data.

treeSetMetadata

repoFileTreeSetMetadata Source #

Arguments

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

self: A repo file

-> Text 
-> GVariant 
-> m () 

Replace the metadata checksum and metadata object.