2.11.6 onyxdict
Keywords: onyx

Next: 2.11.7 outputsdict Up: 2.11 Dictionary reference Previous: 2.11.5 globaldict Contents Index

##
2.11.6 onyxdict

Various portions of Onyx use the onyxdict dictionary for storage of miscellaneous objects that normally should not be part of the namespace visible to dstack searches.

Table 2.7: onyxdict summary
Input(s) Op/Proc/Var Output(s) | Description
- mpath_post array | Get path searched by mrequire.
- mpath_pre array | Get path searched by mrequire.
- rpath_post array | Get path searched by require.
- rpath_pre array | Get path searched by require.

- mpath_post array:
  Input(s):
    None.
  Output(s):
    array:
      An array of strings.
  Error(s):
    None.
  Description:
    Get an array of strings used by mrequire as prefixes for file searches. The elements of the array are tried in the order listed.
  Example(s):

        onyx:0> onyxdict $mpath_post get 1 sprint
        [`/usr/local/share/onyx-3.0.0/nxm']
        onyx:0>

- mpath_pre array:
  Input(s):
    None.
  Output(s):
    array:
      An array of strings.
  Error(s):
    None.
  Description:
    Get an array of strings used by mrequire as prefixes for file searches. The elements of the array are tried in the order listed.
  Example(s):

        onyx:0> onyxdict $mpath_pre get 1 sprint
        [`' `.']
        onyx:0>

- rpath_post array:
  Input(s):
    None.
  Output(s):
    array:
      An array of strings.
  Error(s):
    None.
  Description:
    Get an array of strings used by require as prefixes for file searches. The elements of the array are tried in the order listed.
  Example(s):

        onyx:0> onyxdict $rpath_post get 1 sprint
        [`/usr/local/share/onyx-3.0.0/nx']
        onyx:0>

- rpath_pre array:
  Input(s):
    None.
  Output(s):
    array:
      An array of strings.
  Error(s):
    None.
  Description:
    Get an array of strings used by require as prefixes for file searches. The elements of the array are tried in the order listed.
  Example(s):

        onyx:0> onyxdict $rpath_pre get 1 sprint
        [`' `.']
        onyx:0>

Next: 2.11.7 outputsdict Up: 2.11 Dictionary reference Previous: 2.11.5 globaldict Contents Index