get_current_operation

Get a struct representing the current operation.

Return

a gtx_operation, i.e. a struct with two members:

  • name, the mount name of the current operation as text; and

  • args, the list of arguments provided to the operation (a list of GTV-formatted text values).

Since

0.13.3

Throws

exception

if there is no operation context