Files
gomail/graphify-out/cache/ast/v0.9.37/5f8d6cbd5032e092d50cf781b1a6c3fe8070df5662fda352dcdd0d1ca43268bb.json
T
2026-08-10 21:15:19 +01:00

1 line
22 KiB
JSON

{"nodes": [{"id": "$graphify-root$_internal_accounts_link_go", "label": "link.go", "file_type": "code", "source_file": "internal/accounts/link.go", "source_location": "L1"}, {"id": "$graphify-root$_internal_accounts_link_linkimapaccount", "label": "LinkIMAPAccount()", "file_type": "code", "source_file": "internal/accounts/link.go", "source_location": "L22"}, {"id": "db", "label": "DB", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/accounts/link.go"}, {"id": "masterkey", "label": "MasterKey", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/accounts/link.go"}, {"id": "linkedaccount", "label": "LinkedAccount", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/accounts/link.go"}, {"id": "$graphify-root$_internal_accounts_link_wellknownimaphost", "label": "wellKnownIMAPHost()", "file_type": "code", "source_file": "internal/accounts/link.go", "source_location": "L62"}, {"id": "linkedaccountprovider", "label": "LinkedAccountProvider", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/accounts/link.go"}, {"id": "$graphify-root$_internal_accounts_link_fetchoauth2email", "label": "FetchOAuth2Email()", "file_type": "code", "source_file": "internal/accounts/link.go", "source_location": "L78"}, {"id": "context", "label": "Context", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/accounts/link.go"}, {"id": "$graphify-root$_internal_accounts_link_linkoauth2account", "label": "LinkOAuth2Account()", "file_type": "code", "source_file": "internal/accounts/link.go", "source_location": "L143"}, {"id": "token", "label": "Token", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/accounts/link.go"}, {"id": "$graphify-root$_internal_accounts_link_refreshedcredential", "label": "refreshedCredential()", "file_type": "code", "source_file": "internal/accounts/link.go", "source_location": "L195"}, {"id": "config", "label": "Config", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/accounts/link.go"}, {"id": "oauth2credential", "label": "OAuth2Credential", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/accounts/link.go"}, {"id": "$graphify-root$_internal_accounts_link_providerfor", "label": "ProviderFor()", "file_type": "code", "source_file": "internal/accounts/link.go", "source_location": "L240"}, {"id": "mailprovider", "label": "MailProvider", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/accounts/link.go"}], "edges": [{"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_context", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_encoding_json", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_fmt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_io", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_net_http", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L8", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_gomail_internal_crypto", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_gomail_internal_db", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L12", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_gomail_internal_oauth2", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L13", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "go_pkg_github_com_google_uuid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L14", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "$graphify-root$_internal_accounts_link_linkimapaccount", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L22", "weight": 1.0}, {"source": "$graphify-root$_internal_accounts_link_linkimapaccount", "target": "db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L22", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_linkimapaccount", "target": "masterkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L22", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_linkimapaccount", "target": "linkedaccount", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L22", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "$graphify-root$_internal_accounts_link_wellknownimaphost", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L62", "weight": 1.0}, {"source": "$graphify-root$_internal_accounts_link_wellknownimaphost", "target": "linkedaccountprovider", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L62", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "$graphify-root$_internal_accounts_link_fetchoauth2email", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_internal_accounts_link_fetchoauth2email", "target": "context", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L78", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "$graphify-root$_internal_accounts_link_linkoauth2account", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L143", "weight": 1.0}, {"source": "$graphify-root$_internal_accounts_link_linkoauth2account", "target": "db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L143", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_linkoauth2account", "target": "masterkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L143", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_linkoauth2account", "target": "linkedaccountprovider", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L143", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_linkoauth2account", "target": "token", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L143", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_linkoauth2account", "target": "linkedaccount", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L143", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "$graphify-root$_internal_accounts_link_refreshedcredential", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L195", "weight": 1.0}, {"source": "$graphify-root$_internal_accounts_link_refreshedcredential", "target": "context", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L195", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_refreshedcredential", "target": "db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L195", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_refreshedcredential", "target": "masterkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L195", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_refreshedcredential", "target": "linkedaccount", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L195", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_refreshedcredential", "target": "config", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L195", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_refreshedcredential", "target": "oauth2credential", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L195", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_accounts_link_go", "target": "$graphify-root$_internal_accounts_link_providerfor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L240", "weight": 1.0}, {"source": "$graphify-root$_internal_accounts_link_providerfor", "target": "linkedaccount", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L240", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_providerfor", "target": "masterkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L240", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_providerfor", "target": "db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L240", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_providerfor", "target": "config", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L240", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_accounts_link_providerfor", "target": "mailprovider", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L240", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_accounts_link_linkoauth2account", "target": "$graphify-root$_internal_accounts_link_wellknownimaphost", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/accounts/link.go", "source_location": "L146", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_internal_accounts_link_linkimapaccount", "callee": "NewString", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L26"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkimapaccount", "callee": "Marshal", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L27"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkimapaccount", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L29"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkimapaccount", "callee": "Encrypt", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L31"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkimapaccount", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L33"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkimapaccount", "callee": "InsertLinkedAccount", "is_member_call": true, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L52"}, {"caller_nid": "$graphify-root$_internal_accounts_link_wellknownimaphost", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L69"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L86"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "NewAuthedRequest", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L89"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Do", "is_member_call": true, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L93"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L95"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Close", "is_member_call": true, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L97"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "ReadAll", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L98"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L100"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L103"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Unmarshal", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L110"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L111"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L114"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Unmarshal", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L124"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L125"}, {"caller_nid": "$graphify-root$_internal_accounts_link_fetchoauth2email", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L135"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkoauth2account", "callee": "NewString", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L151"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkoauth2account", "callee": "Marshal", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L152"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkoauth2account", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L156"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkoauth2account", "callee": "Encrypt", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L158"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkoauth2account", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L160"}, {"caller_nid": "$graphify-root$_internal_accounts_link_linkoauth2account", "callee": "InsertLinkedAccount", "is_member_call": true, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L181"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Decrypt", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L196"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L198"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Unmarshal", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L201"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L202"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "After", "is_member_call": true, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L205"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "UTC", "is_member_call": true, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L205"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Now", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L205"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L209"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "RefreshToken", "is_member_call": true, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L211"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L213"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Marshal", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L220"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Encrypt", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L221"}, {"caller_nid": "$graphify-root$_internal_accounts_link_refreshedcredential", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L222"}, {"caller_nid": "$graphify-root$_internal_accounts_link_providerfor", "callee": "NewIMAPProvider", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L243"}, {"caller_nid": "$graphify-root$_internal_accounts_link_providerfor", "callee": "NewGmailAPIProvider", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L245"}, {"caller_nid": "$graphify-root$_internal_accounts_link_providerfor", "callee": "NewGraphAPIProvider", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L247"}, {"caller_nid": "$graphify-root$_internal_accounts_link_providerfor", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/accounts/link.go", "source_location": "L249"}]}