Transaction
Class
constructor
padding
parent_
class
name
add_
new_
remote
basic_
auth_
start
choose_
remote_
for_
ref
end_
of_
lifed
end_
of_
lifed_
with_
rebase
install_
authenticator
new_
operation
operation_
done
operation_
error
ready
run
webflow_
done
webflow_
start
GJS API Reference
Flatpak-1.0
Flatpak
TransactionClass
Class TransactionClass
Hierarchy
TransactionClass
Index
Constructors
constructor
Properties
padding
parent_
class
name
Methods
add_
new_
remote
basic_
auth_
start
choose_
remote_
for_
ref
end_
of_
lifed
end_
of_
lifed_
with_
rebase
install_
authenticator
new_
operation
operation_
done
operation_
error
ready
run
webflow_
done
webflow_
start
Constructors
constructor
new
Transaction
Class
(
)
:
Flatpak
.
TransactionClass
Returns
Flatpak
.
TransactionClass
Properties
padding
padding
:
object
[]
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
add_
new_
remote
add_
new_
remote
(
transaction
:
Flatpak
.
Transaction
, reason
:
TransactionRemoteReason
, from_id
:
string
, remote_name
:
string
, url
:
string
)
:
boolean
Parameters
transaction:
Flatpak
.
Transaction
reason:
TransactionRemoteReason
from_id:
string
remote_name:
string
url:
string
Returns
boolean
basic_
auth_
start
basic_
auth_
start
(
transaction
:
Flatpak
.
Transaction
, remote
:
string
, realm
:
string
, options
:
GLib
.
Variant
, id
:
number
)
:
boolean
Parameters
transaction:
Flatpak
.
Transaction
remote:
string
realm:
string
options:
GLib
.
Variant
id:
number
Returns
boolean
choose_
remote_
for_
ref
choose_
remote_
for_
ref
(
transaction
:
Flatpak
.
Transaction
, for_ref
:
string
, runtime_ref
:
string
, remotes
:
string
)
:
number
Parameters
transaction:
Flatpak
.
Transaction
for_ref:
string
runtime_ref:
string
remotes:
string
Returns
number
end_
of_
lifed
end_
of_
lifed
(
transaction
:
Flatpak
.
Transaction
, ref
:
string
, reason
:
string
, rebase
:
string
)
:
void
Parameters
transaction:
Flatpak
.
Transaction
ref:
string
reason:
string
rebase:
string
Returns
void
end_
of_
lifed_
with_
rebase
end_
of_
lifed_
with_
rebase
(
transaction
:
Flatpak
.
Transaction
, remote
:
string
, ref
:
string
, reason
:
string
, rebased_to_ref
:
string
, previous_ids
:
string
)
:
boolean
Parameters
transaction:
Flatpak
.
Transaction
remote:
string
ref:
string
reason:
string
rebased_to_ref:
string
previous_ids:
string
Returns
boolean
install_
authenticator
install_
authenticator
(
transaction
:
Flatpak
.
Transaction
, remote
:
string
, authenticator_ref
:
string
)
:
void
Parameters
transaction:
Flatpak
.
Transaction
remote:
string
authenticator_ref:
string
Returns
void
new_
operation
new_
operation
(
transaction
:
Flatpak
.
Transaction
, operation
:
TransactionOperation
, progress
:
TransactionProgress
)
:
void
Parameters
transaction:
Flatpak
.
Transaction
operation:
TransactionOperation
progress:
TransactionProgress
Returns
void
operation_
done
operation_
done
(
transaction
:
Flatpak
.
Transaction
, operation
:
TransactionOperation
, commit
:
string
, details
:
TransactionResult
)
:
void
Parameters
transaction:
Flatpak
.
Transaction
operation:
TransactionOperation
commit:
string
details:
TransactionResult
Returns
void
operation_
error
operation_
error
(
transaction
:
Flatpak
.
Transaction
, operation
:
TransactionOperation
, error
:
GLib
.
Error
, detail
:
TransactionErrorDetails
)
:
boolean
Parameters
transaction:
Flatpak
.
Transaction
operation:
TransactionOperation
error:
GLib
.
Error
detail:
TransactionErrorDetails
Returns
boolean
ready
ready
(
transaction
:
Flatpak
.
Transaction
)
:
boolean
Parameters
transaction:
Flatpak
.
Transaction
Returns
boolean
run
run
(
transaction
:
Flatpak
.
Transaction
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
transaction:
Flatpak
.
Transaction
cancellable:
Gio
.
Cancellable
Returns
boolean
webflow_
done
webflow_
done
(
transaction
:
Flatpak
.
Transaction
, options
:
GLib
.
Variant
, id
:
number
)
:
void
Parameters
transaction:
Flatpak
.
Transaction
options:
GLib
.
Variant
id:
number
Returns
void
webflow_
start
webflow_
start
(
transaction
:
Flatpak
.
Transaction
, remote
:
string
, url
:
string
, options
:
GLib
.
Variant
, id
:
number
)
:
boolean
Parameters
transaction:
Flatpak
.
Transaction
remote:
string
url:
string
options:
GLib
.
Variant
id:
number
Returns
boolean
Transaction
Class
constructor
padding
parent_
class
name
add_
new_
remote
basic_
auth_
start
choose_
remote_
for_
ref
end_
of_
lifed
end_
of_
lifed_
with_
rebase
install_
authenticator
new_
operation
operation_
done
operation_
error
ready
run
webflow_
done
webflow_
start
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJGbGF0cGFrXzFfMC5GbGF0cGFrLlRyYW5zYWN0aW9uQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkZsYXRwYWtfMV8wLkZsYXRwYWsuVHJhbnNhY3Rpb25DbGFzcy5odG1sI3BhZGRpbmciLCJuYW1lIjoicGFkZGluZyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkZsYXRwYWtfMV8wLkZsYXRwYWsuVHJhbnNhY3Rpb25DbGFzcy5odG1sI3BhcmVudF9jbGFzcyIsIm5hbWUiOiJwYXJlbnRfY2xhc3MiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2Qt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