Skip to main content

Module command

Module command 

Source

Modules§

account
account_commodities
account_edit
EditAccount: rename, re-parent and replace the tags of an account in one DB transaction. Lock order: the hierarchy lock (always, so the cycle check and the write are serialized with every hierarchy writer), then the tag keys, then the account rows. The revision is checked under the locks.
account_merge
MergeAccounts: fold one account into another in one DB transaction, under the hierarchy lock, then the tag keys, then the account rows.
account_name
The duplicate-name notice of account create and rename: a warning, never a refusal.
account_reparent
ReparentAccount: move an account under another parent, or to the root, under the hierarchy lock, then the account rows.
account_tag
commodity
commodity_edit
EditCommodity: replace the symbol, the name and the other tags of a commodity in one DB transaction. Lock order: the tag keys, then the commodity row; a commodity has no hierarchy. The revision is checked under the locks.
commodity_tag
SetCommodityTag and ClearCommodityTag on the tag lock protocol.
config
data_findings
Data the migrations could not repair safely, recorded for the owner.
report
script
Script rows as the script forms and natives edit them. The caller compiles the source; the commands store source and bytecode together.
split
ssh_key
SSH key management commands.
tag
Tag rows as the tag forms and natives edit them, over the User tag API.
template
Template rows as the template forms, natives and pages edit them.
template_list
transaction
user
User-centric commands that cross both the web and SSH login paths.

Structs§

ActivityData
ActivityGroup
One pane of an ActivityReport. The caller supplies a label, a filter that selects which splits belong in the pane, and a display-time sign-flip hint. The command returns raw accountant values; flip_sign just travels with the data so UIs know how to render it.
ActivityGroupResult
ActivityPeriod
BreakdownData
BreakdownPeriod
BreakdownRow
CommodityAmount
CommodityInfo
PaginationInfo
PeriodData
ReportData
ReportMeta
ReportNode

Enums§

Argument
BreakdownSort
CmdError
CmdResult
FilterEntity
FinanceEntity
PeriodGrouping
ReportFilter

Constants§

UNCATEGORIZED_KEY
Sentinel value used in BreakdownRow::tag_value for splits that have no value for the pivot tag.