gi-ggit-1.0.1: libgit2-glib 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.Ggit.Structs.DiffBinary

Contents

Description

Represents a diff binary.

Synopsis

Exported types

Methods

getNewFile

diffBinaryGetNewFile Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> DiffBinary

binary: a DiffBinary.

-> m DiffBinaryFile

Returns: the contents of the new file.

Gets the DiffBinaryFile new file for binary.

getOldFile

diffBinaryGetOldFile Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> DiffBinary

binary: a DiffBinary.

-> m DiffBinaryFile

Returns: the contents of the old file.

Gets the DiffBinaryFile old file for binary.

ref

diffBinaryRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> DiffBinary

binary: a DiffBinary.

-> m DiffBinary

Returns: a DiffBinary.

Atomically increments the reference count of binary by one. This function is MT-safe and may be called from any thread.

unref

diffBinaryUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> DiffBinary

binary: a DiffBinary.

-> m () 

Atomically decrements the reference count of binary by one. If the reference count drops to 0, binary is freed.