github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/user-guide/fileref_doc.yaml (about)

     1  - DocumentID: fileref
     2    Title: >-
     3      FileRef
     4    CategoryID: user-guide
     5    Summary: >-
     6      How to track what code was loaded and from where
     7    Description: |-
     8      ## Description
     9  
    10      Every function, event, autocompletion and even variable is stored with which
    11      file it was sourced, when it was loaded and what module it was loaded from.
    12      This makes it trivial to identify buggy 3rd party code, malicious libraries, or
    13      even just bugs in your own profiles and/or modules.
    14      
    15      ```
    16      » runtime --functions -> [[ /agent/FileRef/ ]]
    17      {
    18          "Column": 5,
    19          "Line": 5,
    20          "Source": {
    21              "DateTime": "2021-03-28T09:10:53.572197+01:00",
    22              "Filename": "/home/lmorg/.murex_modules/murex-dev/murex-dev.mx",
    23              "Module": "murex-dev/murex-dev"
    24          }
    25      }
    26  
    27      » runtime --globals -> [[ /DEVOPSBIN/FileRef ]]
    28      {
    29          "Column": 1,
    30          "Line": 0,
    31          "Source": {
    32              "DateTime": "2021-03-28T09:10:53.541952+01:00",
    33              "Filename": "/home/lmorg/.murex_modules/devops/global.mx",
    34              "Module": "devops/global"
    35          }
    36      }
    37      ```
    38  
    39      {{ include "gen/includes/fileref-module-strings.inc.md" }}
    40    Synonyms:
    41      - fileref
    42      - FileRef
    43    Related:
    44    - murex-package
    45    - modules
    46    - runtime
    47    - element
    48    - source