Ggit.BlobOutputStream

g GObject.Object GObject.Object Gio.OutputStream Gio.OutputStream GObject.Object->Gio.OutputStream Ggit.BlobOutputStream Ggit.BlobOutputStream Gio.OutputStream->Ggit.BlobOutputStream

Subclasses:

None

Methods

Inherited:

Gio.OutputStream (29), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_id ()

Virtual Methods

Inherited:

Gio.OutputStream (15), GObject.Object (7)

Properties

Name

Type

Flags

Short Description

repository

Ggit.Repository

w/co

Repository

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gio.OutputStream

r

Class Details

class Ggit.BlobOutputStream(**kwargs)
Bases:

Gio.OutputStream

Abstract:

No

Structure:

Ggit.BlobOutputStreamClass

Represents a blob stream object.

get_id()
Raises:

GLib.Error

Returns:

a Ggit.OId or None.

Return type:

Ggit.OId or None

Get the id of the written blob. The blob id is only available after the stream has been properly closed. If an error occurred while writing the blob, the None is returned and error is set accordingly.

Property Details

Ggit.BlobOutputStream.props.repository
Name:

repository

Type:

Ggit.Repository

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

Repository