chore(build): repair vendored baseline
- commit
- d4952b41d17da47c4f9870c27e97820adf5202e5
- author
- brice · · 2026-07-14 05:44 UTC
- parent
- ae333bf
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3316 files · +1391338 -4
M Makefile +2 -2
| @@ -239,13 +239,13 @@ flatpak-deps: ## Install Flatpak build dependencies (Arch) | |||
| 239 | 239 | ||
| 240 | 240 | flatpak-build: ## Build Flatpak bundle locally | |
| 241 | 241 | @echo "Building Flatpak bundle..." | |
| 242 | - | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build dev.bnema.Dumber.yml | |
| 242 | + | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build flatpak/dev.bnema.Dumber.yml | |
| 243 | 243 | flatpak build-bundle flatpak-repo dumber.flatpak dev.bnema.Dumber | |
| 244 | 244 | @echo "Flatpak bundle created: dumber.flatpak" | |
| 245 | 245 | ||
| 246 | 246 | flatpak-install: ## Install Flatpak locally for testing | |
| 247 | 247 | @echo "Installing Flatpak locally..." | |
| 248 | - | flatpak-builder --force-clean --user --install flatpak-build dev.bnema.Dumber.yml | |
| 248 | + | flatpak-builder --force-clean --user --install flatpak-build flatpak/dev.bnema.Dumber.yml | |
| 249 | 249 | @echo "Flatpak installed! Run with: make flatpak-run" | |
| 250 | 250 | ||
| 251 | 251 | flatpak-run: ## Run the installed Flatpak | |
| @@ -239,13 +239,13 @@ flatpak-deps: ## Install Flatpak build dependencies (Arch) | |||||
| 239 | 239 | ||||
| 240 | flatpak-build: ## Build Flatpak bundle locally | 240 | flatpak-build: ## Build Flatpak bundle locally | ||
| 241 | @echo "Building Flatpak bundle..." | 241 | @echo "Building Flatpak bundle..." | ||
| 242 | - | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build dev.bnema.Dumber.yml | 242 | + | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build flatpak/dev.bnema.Dumber.yml |
| 243 | flatpak build-bundle flatpak-repo dumber.flatpak dev.bnema.Dumber | 243 | flatpak build-bundle flatpak-repo dumber.flatpak dev.bnema.Dumber | ||
| 244 | @echo "Flatpak bundle created: dumber.flatpak" | 244 | @echo "Flatpak bundle created: dumber.flatpak" | ||
| 245 | 245 | ||||
| 246 | flatpak-install: ## Install Flatpak locally for testing | 246 | flatpak-install: ## Install Flatpak locally for testing | ||
| 247 | @echo "Installing Flatpak locally..." | 247 | @echo "Installing Flatpak locally..." | ||
| 248 | - | flatpak-builder --force-clean --user --install flatpak-build dev.bnema.Dumber.yml | 248 | + | flatpak-builder --force-clean --user --install flatpak-build flatpak/dev.bnema.Dumber.yml |
| 249 | @echo "Flatpak installed! Run with: make flatpak-run" | 249 | @echo "Flatpak installed! Run with: make flatpak-run" | ||
| 250 | 250 | ||||
| 251 | flatpak-run: ## Run the installed Flatpak | 251 | flatpak-run: ## Run the installed Flatpak | ||
M flatpak/dev.bnema.Dumber.yml +2 -2
| @@ -53,10 +53,10 @@ modules: | |||
| 53 | 53 | path: dev.bnema.Dumber.desktop | |
| 54 | 54 | # Icons | |
| 55 | 55 | - type: file | |
| 56 | - | path: assets/logo.svg | |
| 56 | + | path: ../assets/logo.svg | |
| 57 | 57 | dest-filename: logo.svg | |
| 58 | 58 | - type: file | |
| 59 | - | path: assets/logo-512.png | |
| 59 | + | path: ../assets/logo-512.png | |
| 60 | 60 | dest-filename: logo-512.png | |
| 61 | 61 | # Metainfo | |
| 62 | 62 | - type: file | |
| @@ -53,10 +53,10 @@ modules: | |||||
| 53 | path: dev.bnema.Dumber.desktop | 53 | path: dev.bnema.Dumber.desktop | ||
| 54 | # Icons | 54 | # Icons | ||
| 55 | - type: file | 55 | - type: file | ||
| 56 | - | path: assets/logo.svg | 56 | + | path: ../assets/logo.svg |
| 57 | dest-filename: logo.svg | 57 | dest-filename: logo.svg | ||
| 58 | - type: file | 58 | - type: file | ||
| 59 | - | path: assets/logo-512.png | 59 | + | path: ../assets/logo-512.png |
| 60 | dest-filename: logo-512.png | 60 | dest-filename: logo-512.png | ||
| 61 | # Metainfo | 61 | # Metainfo | ||
| 62 | - type: file | 62 | - type: file | ||
A vendor/github.com/a-h/parse/.gitignore +1 -0 generated file: collapsed
A vendor/github.com/a-h/parse/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/a-h/parse/README.md +145 -0 generated file: collapsed
A vendor/github.com/a-h/parse/all.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/parse/any.go +22 -0 generated file: collapsed
A vendor/github.com/a-h/parse/convert.go +14 -0 generated file: collapsed
A vendor/github.com/a-h/parse/digits.go +4 -0 generated file: collapsed
A vendor/github.com/a-h/parse/eof.go +15 -0 generated file: collapsed
A vendor/github.com/a-h/parse/error.go +21 -0 generated file: collapsed
A vendor/github.com/a-h/parse/input.go +79 -0 generated file: collapsed
A vendor/github.com/a-h/parse/optional.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/parse/or.go +37 -0 generated file: collapsed
A vendor/github.com/a-h/parse/regexp.go +46 -0 generated file: collapsed
A vendor/github.com/a-h/parse/rune.go +58 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof2.go +27 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof3.go +35 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof4.go +41 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof5.go +48 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof6.go +55 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof7.go +62 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof8.go +69 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof9.go +76 -0 generated file: collapsed
A vendor/github.com/a-h/parse/string.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/parse/stringfrom.go +30 -0 generated file: collapsed
A vendor/github.com/a-h/parse/stringuntil.go +49 -0 generated file: collapsed
A vendor/github.com/a-h/parse/then.go +9 -0 generated file: collapsed
A vendor/github.com/a-h/parse/times.go +83 -0 generated file: collapsed
A vendor/github.com/a-h/parse/tuples.go +69 -0 generated file: collapsed
A vendor/github.com/a-h/parse/types.go +33 -0 generated file: collapsed
A vendor/github.com/a-h/parse/until.go +68 -0 generated file: collapsed
A vendor/github.com/a-h/parse/whitespace.go +29 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.dockerignore +3 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.envrc +1 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.gitignore +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.goreleaser.yaml +72 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.ignore +9 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.version +1 -0 generated file: collapsed
A vendor/github.com/a-h/templ/CODE_OF_CONDUCT.md +128 -0 generated file: collapsed
A vendor/github.com/a-h/templ/CONTRIBUTING.md +247 -0 generated file: collapsed
A vendor/github.com/a-h/templ/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/a-h/templ/README.md +194 -0 generated file: collapsed
A vendor/github.com/a-h/templ/SECURITY.md +9 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/fmtcmd/main.go +132 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/fmtcmd/testdata.txtar +66 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/cmd.go +452 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/eventhandler.go +349 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/fatalerror.go +23 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/main.go +237 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/modcheck/modcheck.go +82 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/proxy.go +385 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/script.js +10 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_unix.go +88 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_windows.go +75 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/sse/server.go +84 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/watcher/watch.go +166 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/infocmd/main.go +195 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/handler.go +130 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list.templ +22 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list_templ.go +114 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/main.go +145 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/pls/main.go +128 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/client.go +146 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/diagnosticcache.go +61 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/documentcontents.go +215 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/rewrite.go +24 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/server.go +1464 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/snippets.go +111 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/sourcemapcache.go +60 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/stdrwc.go +50 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/main.go +280 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/processor/processor.go +66 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/sloghandler/handler.go +120 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation.templ +68 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation_templ.go +295 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/visualize/types.go +87 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cosign.pub +4 -0 generated file: collapsed
A vendor/github.com/a-h/templ/flake.lock +87 -0 generated file: collapsed
A vendor/github.com/a-h/templ/flake.nix +99 -0 generated file: collapsed
A vendor/github.com/a-h/templ/flush.go +36 -0 generated file: collapsed
A vendor/github.com/a-h/templ/fragment.go +73 -0 generated file: collapsed
A vendor/github.com/a-h/templ/generator/generator.go +1829 -0 generated file: collapsed
A vendor/github.com/a-h/templ/generator/rangewriter.go +122 -0 generated file: collapsed
A vendor/github.com/a-h/templ/handler.go +163 -0 generated file: collapsed
A vendor/github.com/a-h/templ/ide-demo.gif +0 -0 binary file: no text diff
binary file: no text diff
A vendor/github.com/a-h/templ/internal/format/scriptelement.go +96 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/format/styleelement.go +25 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/format/templ.go +102 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/htmlfind/htmlfind.go +67 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/imports/process.go +218 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/docheader.go +27 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/docheaderparser.go +53 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/pkgloader.go +55 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/pkgtraverser.go +110 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/templdoclazyloader.go +161 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/prettier/prettier.go +133 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/prettier/testdata.txtar +12 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/skipdir/skipdir.go +20 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/syncmap/map.go +49 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/syncset/set.go +42 -0 generated file: collapsed
A vendor/github.com/a-h/templ/join.go +19 -0 generated file: collapsed
A vendor/github.com/a-h/templ/js.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/jsonscript.go +85 -0 generated file: collapsed
A vendor/github.com/a-h/templ/jsonstring.go +14 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/LICENSE +29 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/codes.go +86 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/conn.go +244 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/errors.go +70 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/handler.go +120 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/jsonrpc2.go +7 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/message.go +354 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/serve.go +131 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/stream.go +225 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/wire.go +140 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/base.go +95 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/basic.go +705 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/callhierarchy.go +103 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/capabilities_client.go +1068 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/capabilities_server.go +523 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/client.go +412 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/context.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/deprecated.go +264 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/diagnostics.go +149 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/doc.go +23 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/errors.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/general.go +461 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/handler.go +88 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/language.go +1401 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/progress.go +119 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/protocol.go +41 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/registration.go +44 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/selectionrange.go +110 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/semantic_token.go +179 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/server.go +1893 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/text.go +111 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/util.go +9 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/version.go +7 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/window.go +111 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/workspace.go +213 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/uri/uri.go +245 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/xcontext/xcontext.go +22 -0 generated file: collapsed
A vendor/github.com/a-h/templ/once.go +63 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/calltemplateparser.go +37 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/childrenparser.go +25 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/conditionalattributeparser.go +103 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/cssparser.go +200 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/diagnostics.go +64 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/doctypeparser.go +33 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/elementparser.go +605 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/expressionparser.go +246 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/fallthroughparser.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/forexpressionparser.go +57 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/fuzz.sh +5 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/gocodeparser.go +64 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/gocommentparser.go +66 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goexpression/fuzz.sh +19 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goexpression/parse.go +343 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goexpression/scanner.go +180 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goparser.go +70 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/htmlcommentparser.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/ifexpressionparser.go +144 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/packageparser.go +32 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/parser.go +55 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/raw.go +67 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/scriptparser.go +336 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/scripttemplateparser.go +91 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/sourcemap.go +134 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/stringexpressionparser.go +44 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/structure.go +43 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/switchexpressionparser.go +171 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/templatefile.go +195 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/templateparser.go +154 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/templelementparser.go +59 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/textparser.go +53 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/types.go +1537 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/visitor.go +36 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/visitor/visitor.go +357 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/whitespaceparser.go +14 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime.go +736 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/buffer.go +62 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/bufferpool.go +38 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/builder.go +8 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/runtime.go +21 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/scriptelement.go +107 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/styleattribute.go +217 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/watchmode.go +181 -0 generated file: collapsed
A vendor/github.com/a-h/templ/safehtml/style.go +199 -0 generated file: collapsed
A vendor/github.com/a-h/templ/scripttemplate.go +150 -0 generated file: collapsed
A vendor/github.com/a-h/templ/templ.png +0 -0 binary file: no text diff
binary file: no text diff
A vendor/github.com/a-h/templ/url.go +31 -0 generated file: collapsed
A vendor/github.com/a-h/templ/version.go +10 -0 generated file: collapsed
A vendor/github.com/a-h/templ/watchmode.go +105 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/.gitignore +2 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/LICENSE +19 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/README.md +19 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/backward_references.go +185 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/backward_references_hq.go +796 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/bit_cost.go +436 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/bit_reader.go +266 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/bitwriter.go +56 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter.go +144 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter_command.go +434 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter_distance.go +433 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter_literal.go +433 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/brotli_bit_stream.go +1435 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster.go +30 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster_command.go +164 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster_distance.go +326 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster_literal.go +326 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/command.go +254 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/compress_fragment.go +834 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go +775 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/constants.go +77 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/context.go +2176 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/decode.go +2570 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/dictionary.go +122890 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/dictionary_hash.go +32779 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encode.go +1220 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encoder.go +177 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encoder_dict.go +22 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encoder_fast.go +197 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/entropy_encode.go +592 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/entropy_encode_static.go +4399 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/fast_log.go +290 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/find_match_length.go +45 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/LICENSE +27 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/README.md +2 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/gzip.go +65 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/huffman_bit_writer.go +517 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/huffman_code.go +346 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/token.go +80 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/writer.go +66 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/h10.go +287 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/h5.go +214 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/h6.go +216 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash.go +342 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_composite.go +93 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go +252 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go +214 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_rolling.go +168 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/histogram.go +226 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/http.go +189 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/huffman.go +653 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/literal_cost.go +182 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/bargain1.go +212 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/bargain2.go +248 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/bargain3.go +278 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/emitter.go +34 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/m0.go +175 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/m4.go +339 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/matchfinder.go +103 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/pathfinder.go +328 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/textencoder.go +53 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/trio.go +326 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/zdfast.go +258 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/zfast.go +206 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/zm.go +301 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/memory.go +66 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock.go +574 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock_command.go +165 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock_distance.go +165 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock_literal.go +165 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/params.go +37 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/platform.go +103 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/prefix.go +30 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/prefix_dec.go +723 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/quality.go +196 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/reader.go +126 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/ringbuffer.go +134 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/state.go +313 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/static_dict.go +662 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/static_dict_lut.go +75094 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/symbol_list.go +22 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/transform.go +641 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/utf8_util.go +70 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/util.go +7 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/write_bits.go +52 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/writer.go +162 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/.travis.yml +22 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/LICENSE +27 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/README.md +48 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard.go +20 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_darwin.go +52 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_plan9.go +42 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_unix.go +149 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_windows.go +157 -0 generated file: collapsed
A vendor/github.com/aymanbagabas/go-osc52/v2/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/aymanbagabas/go-osc52/v2/README.md +83 -0 generated file: collapsed
A vendor/github.com/aymanbagabas/go-osc52/v2/osc52.go +305 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/bridge.go +779 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_accessibility_handler_gen.go +135 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_app_gen.go +255 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_audio_handler_gen.go +222 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_auth_callback_gen.go +80 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_base_gen.go +13 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_browser_gen.go +1327 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_browser_process_handler_gen.go +280 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_callback_gen.go +173 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_client_gen.go +691 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_command_handler_gen.go +228 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_command_line_gen.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_context_menu_handler_gen.go +633 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_cookie_gen.go +417 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_crash_util_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_devtools_message_observer_gen.go +219 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_dialog_handler_gen.go +186 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_display_handler_gen.go +440 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_dom_gen.go +578 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_download_handler_gen.go +308 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_download_item_gen.go +255 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_drag_data_gen.go +316 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_drag_handler_gen.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_file_util_gen.go +74 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_find_handler_gen.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_focus_handler_gen.go +162 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_frame_gen.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_frame_handler_gen.go +214 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_i18n_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_image_gen.go +228 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_jsdialog_handler_gen.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_keyboard_handler_gen.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_life_span_handler_gen.go +261 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_load_handler_gen.go +198 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_media_router_gen.go +788 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_menu_model_delegate_gen.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_menu_model_gen.go +594 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_navigation_entry_gen.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_origin_whitelist_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_parser_gen.go +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_path_util_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_permission_handler_gen.go +303 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_preference_gen.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_print_handler_gen.go +364 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_print_settings_gen.go +270 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_process_message_gen.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_process_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_registration_gen.go +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_render_handler_gen.go +562 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_render_process_handler_gen.go +325 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_context_gen.go +502 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_context_handler_gen.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_gen.go +537 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_handler_gen.go +490 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_gen.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_handler_gen.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_handler_gen.go +392 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_request_handler_gen.go +469 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_response_filter_gen.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_response_gen.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_scheme_gen.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_server_gen.go +470 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_shared_memory_region_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_shared_process_message_builder_gen.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_ssl_info_gen.go +84 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_ssl_status_gen.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_stream_gen.go +669 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_string_visitor_gen.go +113 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_task_gen.go +237 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_task_manager_gen.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_thread_gen.go +103 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_trace_gen.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_color_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_content_settings_gen.go +162 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_gen.go +1624 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_geometry_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_linux_gen.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_osr_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_runtime_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_unresponsive_process_callback_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_urlrequest_gen.go +350 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_v8_gen.go +1678 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_values_gen.go +1084 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_waitable_event_gen.go +113 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_x509_certificate_gen.go +300 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_xml_reader_gen.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_zip_reader_gen.go +188 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/doc.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/init.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/.gitkeep +0 -0
no textual change.
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_app.go +261 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser.go +929 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser_process_handler.go +345 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_client.go +934 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_context_menu_handler.go +487 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_dialog_handler.go +130 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_display_handler.go +743 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_focus_handler.go +180 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_frame.go +1093 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_keyboard_handler.go +169 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_life_span_handler.go +407 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_load_handler.go +263 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_process_message.go +307 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_client.go +934 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_life_span_handler.go +409 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_handler.go +959 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_process_handler.go +491 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_request.go +1010 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_context.go +1167 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_handler.go +760 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_response.go +768 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/opaque_types.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/string_list.go +46 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_api_version_test__gen.go +2176 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_test_helpers_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_test_server_gen.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_translator_test__gen.go +1492 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_box_layout_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_delegate_gen.go +348 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_gen.go +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_button_delegate_gen.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_button_gen.go +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_display_gen.go +182 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_fill_layout_gen.go +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_label_button_gen.go +163 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_layout_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_delegate_gen.go +160 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_gen.go +84 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_overlay_controller_gen.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_panel_delegate_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_panel_gen.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_scroll_view_gen.go +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_delegate_gen.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_gen.go +338 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_view_delegate_gen.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_view_gen.go +515 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_window_delegate_gen.go +682 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_window_gen.go +423 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/window_info_helpers.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/bridge.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_accessibility_handler_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_app_gen.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_audio_handler_gen.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_auth_callback_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_base_gen.go +77 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_gen.go +1091 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_process_handler_gen.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_callback_gen.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_client_gen.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_command_handler_gen.go +80 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_command_line_gen.go +255 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_context_menu_handler_gen.go +381 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_cookie_gen.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_crash_util_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_devtools_message_observer_gen.go +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_dialog_handler_gen.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_display_handler_gen.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_dom_gen.go +478 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_download_handler_gen.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_download_item_gen.go +237 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_data_gen.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_handler_gen.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_file_util_gen.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_find_handler_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_focus_handler_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_gen.go +303 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_handler_gen.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_i18n_util_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_image_gen.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_jsdialog_handler_gen.go +77 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_keyboard_handler_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_life_span_handler_gen.go +83 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_load_handler_gen.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_media_router_gen.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_delegate_gen.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_gen.go +637 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_navigation_entry_gen.go +127 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_origin_whitelist_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_parser_gen.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_path_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_permission_handler_gen.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_preference_gen.go +127 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_print_handler_gen.go +126 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_print_settings_gen.go +265 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_process_message_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_process_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_registration_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_render_handler_gen.go +212 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_render_process_handler_gen.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_gen.go +326 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_handler_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_gen.go +444 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_handler_gen.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_handler_gen.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_handler_gen.go +126 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_request_handler_gen.go +148 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_response_filter_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_response_gen.go +208 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_scheme_gen.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_server_gen.go +257 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_memory_region_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_process_message_builder_gen.go +65 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_info_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_status_gen.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_stream_gen.go +268 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_string_visitor_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_task_gen.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_task_manager_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_thread_gen.go +65 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_trace_gen.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_color_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_content_settings_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_gen.go +482 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_geometry_gen.go +37 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_linux_gen.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_osr_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_runtime_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_unresponsive_process_callback_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_urlrequest_gen.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_v8_gen.go +1093 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_values_gen.go +1002 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_waitable_event_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_x509_certificate_gen.go +217 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_xml_reader_gen.go +340 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_zip_reader_gen.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/doc.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_gen.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_darwin_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_default_gen.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_linux_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_windows_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_api_version_test__gen.go +1231 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_helpers_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_server_gen.go +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_translator_test__gen.go +967 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_box_layout_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_delegate_gen.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_gen.go +68 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_delegate_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_gen.go +83 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_display_gen.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_fill_layout_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_label_button_gen.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_layout_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_delegate_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_overlay_controller_gen.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_delegate_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_gen.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_scroll_view_gen.go +102 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_delegate_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_gen.go +366 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_delegate_gen.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_gen.go +589 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_delegate_gen.go +278 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_gen.go +485 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/engine.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/helpers.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/init.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/marshal.go +146 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/refcount.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/loader/loader.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_accessibility_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_app_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_audio_handler_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_auth_callback_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_base_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_gen.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_process_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_client_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_handler_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_line_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_context_menu_handler_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_cookie_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_devtools_message_observer_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dialog_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_display_handler_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dom_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_handler_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_item_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_data_gen.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_find_handler_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_focus_handler_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_handler_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_image_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_jsdialog_handler_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_keyboard_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_life_span_handler_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_load_handler_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_media_router_gen.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_delegate_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_gen.go +63 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_navigation_entry_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_permission_handler_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_preference_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_handler_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_settings_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_process_message_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_registration_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_handler_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_process_handler_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_gen.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_handler_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_handler_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_request_handler_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_filter_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_scheme_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_server_gen.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_memory_region_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_process_message_builder_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_info_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_status_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_stream_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_string_visitor_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_manager_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_thread_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_trace_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_color_gen.go +5 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_content_settings_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_gen.go +256 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_geometry_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_linux_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_osr_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_runtime_gen.go +5 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_unresponsive_process_callback_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_urlrequest_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_v8_gen.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_values_gen.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_waitable_event_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_x509_certificate_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_xml_reader_gen.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_zip_reader_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/opaque_types.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_api_version_test__gen.go +160 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_test_server_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_translator_test__gen.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_box_layout_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_delegate_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_delegate_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_display_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_fill_layout_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_label_button_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_layout_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_delegate_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_overlay_controller_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_delegate_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_scroll_view_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_delegate_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_gen.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_delegate_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_gen.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_delegate_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_gen.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/capi.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_app_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_auth_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_browser_gen.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_command_line_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_context_menu_handler_gen.go +44 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_cookie_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_crash_util_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dialog_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dom_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_handler_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_item_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_drag_data_gen.go +44 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_file_util_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_frame_gen.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_i18n_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_image_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_jsdialog_handler_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_media_router_gen.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_menu_model_gen.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_navigation_entry_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_origin_whitelist_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_parser_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_path_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_permission_handler_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_preference_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_handler_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_settings_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_message_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_registration_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_context_gen.go +42 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_gen.go +64 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_handler_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_bundle_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_handler_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_response_gen.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_scheme_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_server_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_memory_region_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_process_message_builder_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_info_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_status_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_stream_gen.go +35 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_manager_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_thread_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_trace_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_types_linux_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_unresponsive_process_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_urlrequest_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_v8_gen.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_values_gen.go +119 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_waitable_event_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_x509_certificate_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_xml_reader_gen.go +46 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_zip_reader_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_api_version_test__gen.go +146 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_helpers_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_server_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_translator_test__gen.go +119 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_box_layout_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_browser_view_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_button_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_display_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_fill_layout_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_label_button_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_layout_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_delegate_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_overlay_controller_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_panel_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_scroll_view_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_textfield_gen.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_view_gen.go +64 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_window_gen.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/.gitignore +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/Makefile +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/README.md +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/browser_settings.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/command_line.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/diagnostics.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/doc.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/handlers.go +197 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/input.go +277 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/accelerated_paint.go +85 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/command_line.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/window_info.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cutil/cstring.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/format.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/frame.go +125 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/modifier.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/attrs.go +82 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/display.go +70 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/extensions.go +47 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/importer.go +165 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/loader.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/types.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gl/copy.go +513 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gl/loader.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gl/timer_query.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgdk/renderer.go +922 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/accelerated_renderer.go +470 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/context.go +172 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/gl.go +95 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/glib.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/input_bridge.go +1037 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/main_thread.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/render_signal.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/profile/recorder.go +352 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/options.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/osr_backing_scale.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/profile.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/refresh_rate.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/render_stack.go +68 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/size_observation.go +88 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/view.go +966 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/window_info.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/.gitkeep +0 -0
no textual change.
A vendor/github.com/bnema/purego-pipewire/internal/capi/adapters_gen.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/init_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/loop_gen.go +53 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/loop_lock.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/register.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/register_all.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/stream_ops.go +272 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/stream_params.go +172 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/stream_playback_gen.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/context.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/core.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/loop.go +35 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/player.go +435 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/player_rt.go +203 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/player_state.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/pwbuffer.go +139 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/registry.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/runtime.go +82 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/stream.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/loader/loader.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/.gitkeep +0 -0
no textual change.
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi.go +5 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/init_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/loop_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_ops.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_playback_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/context.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/core.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/interfaces.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/player.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/registry.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/runtime.go +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/stream.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/driver/driver.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/driver/register.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/bridge.go +1461 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/enums_gen.go +863 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/functions_gen.go +358 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/register_gen.go +377 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/variadic_gen.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/db.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/errors.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/rows.go +181 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/stmt.go +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/loader/loader.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/in/ports_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/auth_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/backup_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/bind_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/blob_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/capi_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/column_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/config_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/context_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/exec_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/func_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/hook_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/lifecycle_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/memory_gen.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/metadata_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/misc_gen.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/prepare_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/result_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/serialize_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/str_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/trace_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/value_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/vfs_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/vtab_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/wal_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/sqlite/sqlite_gen.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/.gitignore +1 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/LICENSE +201 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/README.md +147 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/abi_amd64.h +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/abi_arm64.h +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/abi_loong64.h +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/cgo.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlerror.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_android.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_darwin.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_freebsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_linux.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_netbsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_nocgo_freebsd.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_nocgo_linux.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_nocgo_netbsd.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_playground.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_stubs.s +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/func.go +677 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/gen.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/go_runtime.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/hostlayout_go123.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/hostlayout_nogo123.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/cgo/dlfcn_cgo_unix.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/cgo/empty.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/cgo/syscall_cgo_unix.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_amd64.h +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_arm64.h +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_loong64.h +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_ppc64x.h +195 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_riscv64.h +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_386.s +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_amd64.s +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_arm.s +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_arm64.s +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_loong64.s +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_ppc64le.s +82 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_riscv64.s +37 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_s390x.s +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/callbacks.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/doc.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/fakecgo.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/freebsd.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_darwin.go +88 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_freebsd.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_libinit.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_linux.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_netbsd.go +85 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_setenv.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_util.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/iscgo.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_darwin.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_freebsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_linux.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_netbsd.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/linux.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/netbsd.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/setenv.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_386.s +121 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_amd64.s +107 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm.s +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm64.s +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_386.s +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_amd64.s +69 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm.s +69 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm64.s +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_loong64.s +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_ppc64le.s +69 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_riscv64.s +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_loong64.s +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_ppc64le.s +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_riscv64.s +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols.go +165 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_darwin.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_freebsd.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_linux.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_netbsd.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_darwin.s +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_freebsd.s +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_linux.s +46 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_netbsd.s +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_stubs.s +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/strings/strings.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/xreflect/reflect_go124.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/xreflect/reflect_go125.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/is_ios.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/nocgo.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_386.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_abi_helpers.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_amd64.go +443 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_arm.go +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_arm64.go +759 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_loong64.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_ppc64le.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_riscv64.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_s390x.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_386.s +147 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_amd64.s +170 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_arm.s +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_arm64.s +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_loong64.s +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_ppc64le.s +120 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_riscv64.s +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_s390x.s +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_386.s +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_arm.s +89 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_arm64.s +75 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_loong64.s +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_ppc64le.s +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_riscv64.s +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_s390x.s +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_32bit.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_cgo_linux.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_notstackargs.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_stackargs.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_unix.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_windows.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_386.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_amd64.s +2014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_arm.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_arm64.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_loong64.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_ppc64le.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_riscv64.s +4051 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_s390x.s +4015 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/internal/core/core.go +322 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/pkg/core/core.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +2021 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +2050 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +88 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +808 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +1195 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +330 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +390 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +977 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +505 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +596 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +707 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +393 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +1010 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +532 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +566 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +572 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +580 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +410 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +409 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +861 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +264 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +610 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +553 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +815 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +947 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +154 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +1070 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +309 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +784 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +1036 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +812 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +572 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +389 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +157 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +1283 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +70 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +1199 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +565 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +855 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +1895 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +989 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +701 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +522 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +588 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +667 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +607 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +713 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +488 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +452 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +287 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +255 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +553 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +389 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +1142 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +1112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +300 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +392 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +884 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +473 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +179 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +966 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +563 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +423 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +516 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +275 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +501 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +799 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +540 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +962 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +2291 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +385 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +452 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +712 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +1183 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +933 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +1874 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +479 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +554 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +603 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +490 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +451 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +925 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +676 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/cairo/main.go +990 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +160 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +334 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +412 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +279 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +248 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +522 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +280 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +340 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +616 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +733 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +309 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +613 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder_extra.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +374 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +58 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +178 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +297 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +876 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +1447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +476 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +165 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +420 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +329 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +502 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkkeysyms.go +4904 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +315 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +453 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +382 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +545 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +67 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +193 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +307 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +192 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +272 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +704 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +720 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +660 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +197 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +830 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +752 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +107 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-features.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +547 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +561 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +1760 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gaction.go +635 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +795 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +422 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +2114 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +2189 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +711 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +559 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +321 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +197 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +618 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +239 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +263 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +360 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +244 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +481 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +678 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +425 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +209 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +1898 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +541 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +581 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +729 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +387 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +136 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +272 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +383 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +726 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +275 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +181 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +273 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +1098 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +317 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +211 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +371 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +1327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +176 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +914 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +186 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +206 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfile.go +6341 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +769 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +202 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +1628 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +519 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +623 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +394 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +251 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +618 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gicon.go +371 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +550 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +289 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +202 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +865 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +2321 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +68 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +350 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giostream.go +727 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +1134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +328 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +232 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +420 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +177 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +616 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +760 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmenuexporter.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +995 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmount.go +1293 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +1009 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +155 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +94 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +346 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +394 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +279 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +283 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +1258 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +443 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +297 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +370 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +132 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +337 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +307 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +357 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +294 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +290 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +183 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +1045 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gresource.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +302 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +1830 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +681 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +587 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +442 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +498 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +612 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +75 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +454 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +1992 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +257 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +260 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +945 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +296 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +404 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +626 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +414 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +632 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +409 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtask.go +1334 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +234 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +300 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +319 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +463 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +768 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +293 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +826 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +883 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +130 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +522 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +330 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +222 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +378 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +349 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +704 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +1055 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +1190 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +316 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +225 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/garray.go +794 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +431 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +395 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +187 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +950 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gcache.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +460 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +278 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdate.go +812 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +1043 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdir.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/genviron.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gerror.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +799 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghash.go +714 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +208 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghook.go +258 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +90 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +1123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +1164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/glibconfig.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/glist.go +57 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmacros.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmain.go +2504 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +780 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmem.go +519 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +1005 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gnode.go +424 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/goption.go +652 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +314 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +209 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +86 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +35 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +121 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +45 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gquark.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +471 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grand.go +223 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +198 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gregex.go +1610 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grel.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +473 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +578 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gshell.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gslice.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gslist.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +618 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +375 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +1120 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstring.go +596 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +179 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +1439 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gthread.go +2438 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +277 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +377 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +94 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtree.go +503 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +258 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +1656 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/guri.go +1099 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gutils.go +745 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/guuid.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +3035 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +712 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gversion.go +44 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gversionmacros.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/main.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more.go +366 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more_other.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more_sysv.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more_windows.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +172 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gmodule/gmoduleconf.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gmodule/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +369 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +65 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +543 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/genums.go +290 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +227 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +2233 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +924 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +1324 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +810 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +268 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +1648 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +383 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +895 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +214 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvaluecollector.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/main.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/more.go +154 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/types/types.go +3 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +391 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-config.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +399 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +163 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-macros.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +830 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +198 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +231 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +319 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +268 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +464 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +194 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +240 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-types.go +53 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +396 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +410 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +97 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +90 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +130 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +100 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +91 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +102 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +569 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +667 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +148 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +120 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +80 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +129 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +195 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +236 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrenderreplay.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +139 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +125 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +111 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +2087 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +1284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +764 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +495 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +579 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +344 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +466 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +600 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +400 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +657 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +561 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +681 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +1025 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +952 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +520 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +1041 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +95 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +324 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +156 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +591 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +717 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +1021 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +356 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +910 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +829 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +1864 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +249 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +432 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +612 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +1046 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +180 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +174 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +221 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +125 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +774 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +230 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +696 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +565 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +271 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +873 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +573 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +305 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +521 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +426 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +247 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +491 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +927 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +219 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +469 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +180 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +1327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +652 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +366 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +559 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcssenums.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcsslocation.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +267 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +203 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +119 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +111 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +107 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +1022 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +58 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +418 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +532 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +391 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +604 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +237 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +756 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +539 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +347 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +1008 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +695 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +474 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +2253 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +666 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +764 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +2312 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +264 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +209 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +243 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +118 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +214 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +291 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +730 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +992 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +602 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +945 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +670 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +1095 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +706 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +494 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +407 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +453 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +207 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +1627 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +763 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +692 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +654 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +543 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +411 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +712 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +564 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +646 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +199 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +194 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +190 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +232 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +299 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +133 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +1000 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +499 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +780 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +488 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +758 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +637 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +359 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +538 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +1772 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +879 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +1251 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimmodule.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +238 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +703 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +873 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +1725 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +118 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +413 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +713 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +591 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +1777 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +188 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +381 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +100 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +938 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +815 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +582 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +321 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +388 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +566 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +1149 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +905 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +761 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +294 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +531 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +475 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +367 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +1549 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +147 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +494 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +234 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +507 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +928 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +364 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +765 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +832 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +923 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +526 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +634 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +416 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +489 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +556 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +473 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +1910 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +442 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +968 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +754 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +658 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +957 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +902 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +169 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +544 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +143 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +735 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +730 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +234 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +417 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +1157 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +539 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +973 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +219 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +564 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +1343 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +662 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +427 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +424 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +520 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +532 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +607 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +617 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +252 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +510 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +250 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +64 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +823 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +491 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +407 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +1409 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +405 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +1385 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +382 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +405 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +471 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +248 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +404 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +207 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +513 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +67 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +875 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +606 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +177 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +1730 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +2252 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +246 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +1393 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +259 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +1583 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +246 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +2802 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +674 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +169 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +395 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +615 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +599 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +136 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +1750 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +742 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +326 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +890 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +2663 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +994 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +513 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +182 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +632 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +512 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +377 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +5627 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +2140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowcontrols.go +556 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowgroup.go +239 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowhandle.go +394 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCClass.go +524 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCContext.go +417 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCException.go +256 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCOptions.go +228 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCValue.go +1072 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVersion.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVirtualMachine.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCWeakValue.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/layershell/gtk4-layer-shell.go +340 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-attributes.go +1798 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-bidi-type.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-break.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-color.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-context.go +422 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-coverage.go +211 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-direction.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-features.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-font.go +2313 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-fontmap.go +580 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-fontset-simple.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-fontset.go +374 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-glyph-item.go +308 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-glyph.go +439 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-gravity.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-item.go +257 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-language.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-layout.go +1777 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-markup.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-matrix.go +246 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-renderer.go +782 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-script.go +427 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-tabs.go +281 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-types.go +250 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-utils.go +293 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-basic.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-digest.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-basic.go +152 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-digest.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain.go +403 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-manager.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-negotiate.go +74 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-ntlm.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth.go +536 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cache.go +249 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-content-decoder.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-content-sniffer.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-db.go +121 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-text.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar.go +466 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-date-utils.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-form.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-headers.go +245 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer-db.go +118 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer.go +313 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-policy.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-logger.go +273 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-message-body.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-message-headers.go +626 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-message.go +1419 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-multipart-input-stream.go +264 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-multipart.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-server-message.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-server.go +996 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-session-feature.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-session.go +1383 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-status.go +204 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-tld.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-types.go +816 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-uri-utils.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-version.go +111 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-connection.go +630 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-deflate.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-manager.go +63 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension.go +333 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitApplicationInfo.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitAuthenticationRequest.go +342 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitAutomationSession.go +222 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardList.go +250 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardListItem.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitClipboardPermissionRequest.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitColorChooserRequest.go +189 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenu.go +346 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuActions.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuItem.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitCookieManager.go +353 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitCredential.go +188 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitDeviceInfoPermissionRequest.go +74 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitDownload.go +433 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditingCommands.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditorState.go +200 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitError.go +335 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFaviconDatabase.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFeature.go +325 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFileChooserRequest.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFindController.go +356 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFormSubmissionRequest.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationManager.go +285 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationPermissionRequest.go +89 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitHitTestResult.go +355 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitImage.go +275 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitInputMethodContext.go +1260 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitMediaKeySystemPermissionRequest.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitMemoryPressureSettings.go +211 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationAction.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationPolicyDecision.go +103 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkProxySettings.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkSession.go +425 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotification.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotificationPermissionRequest.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenu.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenuItem.go +129 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionRequest.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionStateQuery.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPointerLockPermissionRequest.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPolicyDecision.go +348 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPrintOperation.go +283 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitResponsePolicyDecision.go +148 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitScriptDialog.go +178 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityManager.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityOrigin.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitSettings.go +2513 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIRequest.go +157 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIResponse.go +200 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeRequest.go +201 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeResponse.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIUtilities.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContent.go +329 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentFilterStore.go +295 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentManager.go +430 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMediaPermissionRequest.go +139 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMessage.go +241 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitVersion.go +84 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebContext.go +649 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtension.go +608 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtensionMatchPattern.go +261 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebInspector.go +392 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebResource.go +290 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebView.go +4693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewBase.go +433 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewGtk4.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewSessionState.go +103 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteData.go +127 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataAccessPermissionRequest.go +113 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataManager.go +544 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsitePolicies.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWindowProperties.go +342 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitXRPermissionRequest.go +247 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/more.go +228 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/.gitignore +25 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/LICENSE +20 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/README.md +30 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/backoff.go +66 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/context.go +62 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/exponential.go +216 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/retry.go +146 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/ticker.go +97 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/timer.go +35 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/tries.go +38 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/cursor/cursor.go +221 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/help/help.go +240 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/key/key.go +140 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/README.md +71 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/defaultitem.go +229 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/keys.go +97 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/list.go +1330 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/style.go +99 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/paginator/paginator.go +214 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/runeutil/runeutil.go +102 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/spinner/spinner.go +224 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/table/table.go +450 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/textinput/textinput.go +890 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/viewport/keymap.go +60 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/viewport/viewport.go +544 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.gitattributes +1 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.gitignore +23 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.golangci.yml +44 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.goreleaser.yml +5 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/README.md +400 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/Taskfile.yaml +14 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/commands.go +222 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/exec.go +133 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/focus.go +9 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/inputreader_other.go +19 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/inputreader_windows.go +129 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key.go +715 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key_other.go +13 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key_sequences.go +130 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key_windows.go +441 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/logging.go +53 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/mouse.go +308 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/nil_renderer.go +29 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/options.go +252 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/renderer.go +88 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/screen.go +248 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/signals_unix.go +33 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/signals_windows.go +10 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/standard_renderer.go +790 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tea.go +941 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tea_init.go +22 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tty.go +141 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tty_unix.go +49 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tty_windows.go +68 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/.golangci.yml +47 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/.goreleaser.yml +6 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/README.md +109 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/doc.go +4 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/env.go +294 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/env_other.go +8 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/env_windows.go +40 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/profile.go +108 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/writer.go +171 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/.golangci.yml +41 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/.goreleaser.yml +5 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/README.md +815 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/Taskfile.yaml +19 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/align.go +83 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/ansi_unix.go +7 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/ansi_windows.go +22 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/borders.go +490 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/color.go +172 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/get.go +556 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/join.go +175 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/position.go +154 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/ranges.go +48 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/renderer.go +181 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/runes.go +43 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/set.go +799 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/size.go +41 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/style.go +588 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/unset.go +331 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/whitespace.go +83 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/ansi.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/ascii.go +8 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/background.go +178 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/c0.go +79 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/c1.go +72 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/charset.go +55 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/clipboard.go +75 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/color.go +784 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/ctrl.go +156 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/cursor.go +637 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/cwd.go +26 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/doc.go +7 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/finalterm.go +67 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/focus.go +9 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/graphics.go +62 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/hyperlink.go +28 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/inband.go +24 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/iterm2.go +18 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/keypad.go +28 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/kitty.go +90 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/method.go +196 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/mode.go +690 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/mode_deprecated.go +495 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/modes.go +65 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/mouse.go +172 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/notification.go +32 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/palette.go +34 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser.go +417 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser/const.go +79 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser/seq.go +136 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser/transition_table.go +273 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser_decode.go +525 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser_handler.go +60 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser_sync.go +29 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/passthrough.go +60 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/paste.go +7 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/progress.go +49 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/reset.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/screen.go +410 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/sgr.go +79 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/status.go +168 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/style.go +819 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/termcap.go +41 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/title.go +48 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/truncate.go +290 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/urxvt.go +17 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/util.go +92 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/width.go +107 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/winop.go +59 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/wrap.go +472 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/xterm.go +138 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/buffer.go +474 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/cell.go +487 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/errors.go +6 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/geom.go +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/hardscroll.go +273 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/hashmap.go +301 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/link.go +14 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/pen.go +92 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/screen.go +1514 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/sequence.go +131 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/style.go +31 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/tabstop.go +137 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/utils.go +24 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/wrap.go +191 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/writer.go +340 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term.go +51 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_other.go +39 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_plan9.go +118 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_unix.go +96 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_unix_bsd.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_unix_other.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_windows.go +87 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/terminal.go +12 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/util.go +47 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/LICENSE +23 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/README.md +20 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser.go +57 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_darwin.go +5 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_freebsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_linux.go +21 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_netbsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_openbsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_unsupported.go +12 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_windows.go +7 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/.gitignore +3 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/AGENTS.md +51 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/CHANGELOG.md +129 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/README.md +190 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/gen.go +3 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/graphemes.go +73 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/options.go +30 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/trie.go +1699 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/truncate.go +149 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/width.go +239 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/README.md +120 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi.go +138 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi8.go +79 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/iterator.go +144 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/reader.go +25 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/splitfunc.go +205 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/trie.go +1717 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md +21 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/md2man/debug.go +62 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go +24 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go +416 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/LICENSE +15 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/bypass.go +145 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/bypasssafe.go +38 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/common.go +341 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/config.go +306 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/doc.go +211 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/dump.go +509 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/format.go +419 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/spew.go +148 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/.golangci.yml +24 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/README.md +2 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/keycodes.go +205 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/mode.go +82 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/read.go +154 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/records.go +486 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/LICENSE.md +20 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/README.md +189 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/color.go +733 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/color_windows.go +22 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/doc.go +134 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/.gitignore +10 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/.mailmap +2 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/CHANGELOG.md +651 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md +147 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/LICENSE +25 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/README.md +214 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_fen.go +469 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_inotify.go +597 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_kqueue.go +735 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_other.go +22 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_windows.go +702 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/fsnotify.go +526 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/darwin.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go +15 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go +15 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go +32 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_linux.go +56 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go +16 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_solaris.go +45 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_windows.go +40 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/freebsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/internal.go +2 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/unix.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/unix2.go +25 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/windows.go +40 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/shared.go +64 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/staticcheck.conf +3 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/system_bsd.go +7 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/system_darwin.go +8 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.editorconfig +24 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.envrc +7 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.gitignore +10 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.golangci.yaml +48 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/CHANGELOG.md +104 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/README.md +81 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/decode_hooks.go +714 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/devenv.lock +103 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/devenv.nix +14 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/devenv.yaml +4 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/errors.go +244 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/internal/errors/errors.go +11 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/internal/errors/join.go +9 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/internal/errors/join_go1_19.go +61 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/mapstructure.go +1948 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/reflect_go1_19.go +44 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/reflect_go1_20.go +10 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/.cirrus.yml +11 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/.golangci.yml +13 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/CONTRIBUTING.md +50 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/LICENSE +25 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/MAINTAINERS +3 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/README.md +47 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/SECURITY.md +13 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth.go +257 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_anonymous.go +16 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_default_other.go +7 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_default_windows.go +5 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_external.go +26 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_sha1_windows.go +109 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/call.go +66 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn.go +1009 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_darwin.go +36 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_other.go +83 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_unix.go +40 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_windows.go +13 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/dbus.go +427 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/decoder.go +376 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/default_handler.go +338 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/doc.go +70 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/encoder.go +235 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/escape.go +84 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/export.go +484 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/match.go +89 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/message.go +393 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/object.go +181 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/sequence.go +24 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/sequential_handler.go +125 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/server_interfaces.go +107 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/sig.go +298 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_darwin.go +6 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_generic.go +52 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_nonce_tcp.go +41 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_tcp.go +41 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unix.go +291 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_dragonfly.go +95 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go +94 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_linux.go +25 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_openbsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_zos.go +6 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/variant.go +169 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/variant_lexer.go +284 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/variant_parser.go +815 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/LICENSE +201 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/README.md +23 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/trap_others.go +16 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/trap_windows.go +42 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/.gitignore +101 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/CHANGELOG.md +72 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/LICENSE +7 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/README.md +490 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/colorgens.go +67 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/colors.go +1156 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/happy_palettegen.go +29 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/hexcolor.go +91 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/hsluv-snapshot-rev4.json +1 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/hsluv.go +208 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/rand.go +22 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/soft_palettegen.go +192 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/sort.go +191 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/warm_palettegen.go +29 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/widegamut.go +290 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/README.md +48 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/colorable_others.go +38 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/colorable_windows.go +1047 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/go.test.sh +12 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/noncolorable.go +57 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/LICENSE +9 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/README.md +50 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/doc.go +2 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/go.test.sh +12 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_bsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_others.go +17 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_plan9.go +23 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_solaris.go +21 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_tcgets.go +20 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_windows.go +136 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/README.md +23 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/localereader.go +19 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/localereader_unix.go +11 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/localereader_windows.go +85 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/README.md +27 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/benchstat.txt +43 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/new.txt +54 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/old.txt +54 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth.go +420 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_appengine.go +9 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_js.go +9 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_posix.go +81 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_table.go +488 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_windows.go +34 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/LICENSE.txt +24 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/README.md +85 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/env.go +53 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/interpolate.go +213 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/parser.go +281 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/.golangci.yml +27 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/README.md +31 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/ansi.go +7 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/buffer.go +40 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/compressor/writer.go +132 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/writer.go +76 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/.golangci-soft.yml +47 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/.golangci.yml +29 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/README.md +64 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader.go +93 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_bsd.go +146 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_default.go +12 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_linux.go +154 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_select.go +136 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_unix.go +18 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_windows.go +244 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/.golangci-soft.yml +43 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/.golangci.yml +28 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/README.md +431 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/ansi_compat.md +65 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/ansicolors.go +281 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/color.go +205 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_linux.go +8 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_solaris.go +8 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_unix.go +13 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_zos.go +8 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/copy.go +37 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/hyperlink.go +11 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/notification.go +11 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/output.go +205 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/profile.go +112 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/screen.go +590 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/style.go +126 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/templatehelper.go +88 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv.go +115 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_other.go +30 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_posix.go +17 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_solaris.go +22 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_unix.go +301 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_windows.go +140 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/.gitignore +24 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/README.md +35 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/atomic.go +73 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/file_unix.go +14 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/file_windows.go +33 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/zfile_windows.go +27 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.dockerignore +2 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.gitattributes +4 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.gitignore +8 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.golangci.toml +76 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.goreleaser.yaml +128 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/AGENTS.md +73 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/CONTRIBUTING.md +254 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/Dockerfile +6 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/README.md +327 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/SECURITY.md +16 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/capability_baseline.txt +1 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/caps.sh +101 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/ci.sh +293 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/decode.go +538 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/decode_fused.go +362 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/doc.go +2 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/errors.go +233 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/parserbridge/parserbridge.go +37 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/tracker/key.go +49 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/tracker/seen.go +450 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go +2 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/localtime.go +121 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/marshaler.go +1697 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/strict.go +108 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/test-go-versions.sh +597 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/toml.abnf +246 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/types.go +24 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unmarshaler.go +2396 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/ast.go +124 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/bridge.go +21 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/doc.go +3 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/kind.go +83 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/marshaler.go +29 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/parser.go +1686 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go +43 -0 collapsed to keep the page light
A vendor/github.com/pmezard/go-difflib/LICENSE +27 -0 collapsed to keep the page light
A vendor/github.com/pmezard/go-difflib/difflib/difflib.go +772 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/.gitignore +22 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/.golangci.yaml +31 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/.goreleaser.yaml +37 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/CHANGELOG.md +350 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/Makefile +150 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/README.md +500 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/create.go +116 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/dialect/querier.go +25 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/dialect/querier_extended.go +22 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/dialects.go +214 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/doc.go +14 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/sql_extended.go +23 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/store.go +66 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/store_extended.go +33 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/db.go +48 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/dialect.go +74 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/down.go +107 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/fix.go +54 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/globals.go +104 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/goose.go +141 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/helpers.go +84 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/install.sh +37 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/controller/store.go +37 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/clickhouse.go +53 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/dsql.go +66 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/mysql.go +62 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/postgres.go +70 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/redshift.go +52 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/spanner.go +50 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/sqlite3.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/sqlserver.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/starrocks.go +54 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/tidb.go +52 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/turso.go +14 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/vertica.go +54 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/ydb.go +72 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/gooseutil/resolve.go +118 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/legacystore/legacystore.go +173 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/sqlparser/parse.go +59 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/sqlparser/parser.go +394 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/store/postgres.go +282 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/store/store.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/table/config.go +28 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/table/locker.go +237 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/locker.go +32 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/postgres.go +165 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/session_locker_options.go +98 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/table_locker_options.go +136 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/log.go +36 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/migrate.go +379 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/migration.go +398 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/migration_sql.go +115 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/osfs.go +28 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider.go +669 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_collect.go +196 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_errors.go +48 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_options.go +280 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_run.go +535 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_types.go +91 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/redo.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/register.go +133 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/reset.go +64 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/status.go +64 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/up.go +221 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/version.go +52 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/LICENSE.txt +21 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/README.md +137 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/doc.go +108 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/eastasianwidth.go +2588 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/emojipresentation.go +295 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/gen_breaktest.go +215 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/gen_properties.go +261 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/grapheme.go +331 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/graphemeproperties.go +1915 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/graphemerules.go +176 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/line.go +134 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/lineproperties.go +3554 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/linerules.go +626 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/properties.go +208 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/sentence.go +90 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/sentenceproperties.go +2845 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/sentencerules.go +276 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/step.go +242 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/width.go +61 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/word.go +89 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/wordproperties.go +1883 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/wordrules.go +282 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/.gitignore +27 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/README.md +858 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/array.go +276 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/console.go +535 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/context.go +535 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/ctx.go +51 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/encoder.go +56 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/encoder_cbor.go +45 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/encoder_json.go +51 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/event.go +919 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/example.jsonl +7 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/fields.go +312 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/globals.go +208 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/globals_118.go +30 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/go112.go +7 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/hook.go +64 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/README.md +56 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/base.go +19 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/cbor.go +102 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +654 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/string.go +117 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/time.go +111 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/types.go +524 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/base.go +19 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/bytes.go +85 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/string.go +149 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/time.go +124 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/types.go +466 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/log.go +528 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/not_go112.go +5 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/pretty.png +0 -0 binary file: no text diff
binary file: no text diff
A vendor/github.com/rs/zerolog/sampler.go +137 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/slog.go +247 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/syslog.go +89 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/writer.go +355 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/.gitignore +8 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/.travis.yml +17 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/LICENSE.txt +29 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/README.md +335 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/block.go +1612 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/doc.go +46 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/entities.go +2236 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/esc.go +70 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/html.go +952 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/inline.go +1228 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/markdown.go +950 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/node.go +360 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/smartypants.go +457 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.editorconfig +21 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.envrc +4 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.gitignore +5 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.golangci.yaml +37 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/LICENSE +19 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/README.md +37 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/devenv.lock +103 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/devenv.nix +17 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/devenv.yaml +4 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/file_type.go +32 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/finder.go +171 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/glob.go +5 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/glob_windows.go +8 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/helpers.go +41 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/internal/queue/eager.go +53 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go +8 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/justfile +14 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/.editorconfig +18 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/CONTRIBUTING.md +1 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/Makefile +59 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/README.md +186 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/fuzzy.go +263 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/LICENSE +202 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/README.md +185 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff.go +134 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff_constant.go +25 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff_exponential.go +47 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff_fibonacci.go +56 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/rand.go +54 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/retry.go +104 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/.editorconfig +15 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/.golangci.yaml +48 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/LICENSE.txt +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/README.md +474 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/afero.go +111 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/appveyor.yml +10 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/basepath.go +222 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/cacheOnReadFs.go +315 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/const_bsds.go +23 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/const_win_unix.go +22 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/copyOnWriteFs.go +332 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/httpFs.go +114 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/internal/common/adapters.go +27 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/iofs.go +302 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/ioutil.go +243 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/lstater.go +27 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/match.go +110 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/mem/dir.go +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/mem/dirmap.go +43 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/mem/file.go +373 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/memmap.go +463 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/os.go +113 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/path.go +106 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/readonlyfs.go +96 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/regexpfs.go +223 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/symlink.go +55 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/unionFile.go +331 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/util.go +329 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/.editorconfig +15 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/.gitignore +25 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/.golangci.yaml +39 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/Makefile +40 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/README.md +79 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/alias.go +69 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/basic.go +131 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/cast.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/indirect.go +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/internal/time.go +79 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/internal/timeformattype_string.go +27 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/map.go +212 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/number.go +549 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/slice.go +106 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/time.go +116 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/zz_generated.go +261 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/.gitignore +39 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/.golangci.yml +66 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/.mailmap +3 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/CONDUCT.md +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/CONTRIBUTING.md +50 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/LICENSE.txt +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/MAINTAINERS +13 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/Makefile +35 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/README.md +133 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/SECURITY.md +105 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/active_help.go +60 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/args.go +131 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/bash_completions.go +709 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/bash_completionsV2.go +484 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/cobra.go +246 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/command.go +2072 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/command_notwin.go +20 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/command_win.go +41 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/completions.go +1020 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/man_docs.go +246 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/md_docs.go +158 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/rest_docs.go +186 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/util.go +52 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/yaml_docs.go +175 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/fish_completions.go +292 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/flag_groups.go +290 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/powershell_completions.go +350 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/shell_completions.go +98 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/zsh_completions.go +308 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.editorconfig +12 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.golangci.yaml +4 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.travis.yml +22 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/LICENSE +28 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/README.md +323 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bool.go +94 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bool_func.go +40 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bool_slice.go +185 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bytes.go +209 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/count.go +96 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/duration.go +86 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/duration_slice.go +166 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/errors.go +149 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/flag.go +1289 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float32.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float32_slice.go +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float64.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float64_slice.go +166 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/func.go +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/golangflag.go +161 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int16.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int32.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int32_slice.go +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int64.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int64_slice.go +166 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int8.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int_slice.go +158 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ip.go +97 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ip_slice.go +186 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ipmask.go +122 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ipnet.go +98 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ipnet_slice.go +147 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string.go +80 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_array.go +125 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_slice.go +163 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_to_int.go +149 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_to_int64.go +149 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_to_string.go +168 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/text.go +81 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/time.go +124 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint16.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint32.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint64.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint8.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint_slice.go +168 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.editorconfig +21 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.envrc +4 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.gitignore +8 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.golangci.yaml +118 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.yamlignore +2 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.yamllint.yaml +6 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/Makefile +87 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/README.md +931 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/TROUBLESHOOTING.md +32 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/UPGRADE.md +147 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/encoding.go +181 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/experimental.go +8 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/file.go +104 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/finder.go +55 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/flags.go +57 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/flake.lock +255 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/flake.nix +61 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/dotenv/codec.go +61 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/dotenv/map_utils.go +41 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/json/codec.go +17 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/toml/codec.go +16 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go +14 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/bind_struct.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/bind_struct_default.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/finder.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/finder_default.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/logger.go +31 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/remote.go +259 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/util.go +211 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/viper.go +2077 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/.codeclimate.yml +21 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/.gitignore +11 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/README.md +91 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/Taskfile.yml +27 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/accessors.go +197 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/conversions.go +280 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/doc.go +66 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/map.go +214 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/mutations.go +77 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/security.go +12 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/tests.go +17 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/type_specific.go +346 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/type_specific_codegen.go +2261 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/value.go +159 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_compare.go +495 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_format.go +866 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl +5 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_forward.go +1723 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl +5 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_order.go +81 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertions.go +2295 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/doc.go +50 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/errors.go +10 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/forward_assertions.go +16 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/http_assertions.go +165 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/yaml/yaml_custom.go +24 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/yaml/yaml_default.go +36 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/yaml/yaml_fail.go +17 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/mock/doc.go +44 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/mock/mock.go +1298 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/doc.go +31 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/forward_requirements.go +16 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require.go +2180 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require.go.tmpl +6 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require_forward.go +1724 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require_forward.go.tmpl +5 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/requirements.go +29 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.env +1 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.env.invalid +1 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.gitignore +4 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.golangci.yaml +7 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/CHANGELOG.md +105 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/README.md +129 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/gotenv.go +409 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/.gitignore +9 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/README.md +139 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/caps.go +31 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/capvals.go +1525 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/color.go +88 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/dec.go +245 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/load.go +64 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/param.go +405 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/stack.go +48 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/terminfo.go +479 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/.codecov.yml +15 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/.gitignore +4 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/CHANGELOG.md +95 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/LICENSE.txt +19 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/Makefile +38 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/README.md +43 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/error.go +646 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/error_post_go120.go +48 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/error_pre_go120.go +79 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/LICENSE +50 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/NOTICE +13 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/README.md +171 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/apic.go +747 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/decode.go +1018 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/emitterc.go +2054 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/encode.go +577 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/parserc.go +1274 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/readerc.go +434 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/resolve.go +326 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/scannerc.go +3040 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/sorter.go +134 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/writerc.go +48 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/yaml.go +703 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/yamlh.go +811 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/yamlprivateh.go +198 -0 collapsed to keep the page light
A vendor/golang.org/x/image/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/image/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/image/draw/draw.go +67 -0 collapsed to keep the page light
A vendor/golang.org/x/image/draw/impl.go +8426 -0 collapsed to keep the page light
A vendor/golang.org/x/image/draw/scale.go +525 -0 collapsed to keep the page light
A vendor/golang.org/x/image/math/f64/f64.go +37 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go +78 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/print.go +184 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/read.go +962 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/rule.go +1951 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/work.go +333 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/module/module.go +840 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/module/pseudo.go +250 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/semver/semver.go +407 -0 collapsed to keep the page light
A vendor/golang.org/x/net/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/net/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/atom/atom.go +78 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/atom/table.go +785 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/const.go +111 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/doc.go +122 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/doctype.go +156 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/entity.go +2252 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/escape.go +379 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/foreign.go +221 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/iter.go +54 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/node.go +230 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/nodetype_string.go +31 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/parse.go +2378 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/render.go +316 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/token.go +1322 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/idna.go +880 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/punycode.go +220 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/tables15.0.0.go +5144 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/tables17.0.0.go +5302 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/trie.go +51 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/trieval.go +119 -0 collapsed to keep the page light
A vendor/golang.org/x/net/publicsuffix/data/children +0 -0 binary file: no text diff
binary file: no text diff
A vendor/golang.org/x/net/publicsuffix/data/nodes +0 -0 binary file: no text diff
binary file: no text diff
A vendor/golang.org/x/net/publicsuffix/data/text +1 -0 collapsed to keep the page light
A vendor/golang.org/x/net/publicsuffix/list.go +210 -0 collapsed to keep the page light
A vendor/golang.org/x/net/publicsuffix/table.go +70 -0 collapsed to keep the page light
A vendor/golang.org/x/sync/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sync/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/sync/errgroup/errgroup.go +151 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/.gitignore +2 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/README.md +184 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/affinity_linux.go +189 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/aliases.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_aix_ppc64.s +17 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_bsd_386.s +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_bsd_amd64.s +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_bsd_arm.s +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_bsd_arm64.s +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +29 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_386.s +65 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_amd64.s +57 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_arm.s +56 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_arm64.s +50 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_loong64.s +51 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_mips64x.s +54 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_mipsx.s +52 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s +42 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_riscv64.s +47 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_linux_s390x.s +54 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s +29 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_solaris_amd64.s +17 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/asm_zos_s390x.s +382 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/auxv.go +36 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/auxv_unsupported.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/bluetooth_linux.go +36 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/bpxsvc_zos.go +657 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/bpxsvc_zos.s +192 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/cap_freebsd.go +195 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/constants.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dev_aix_ppc.go +26 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dev_aix_ppc64.go +28 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dev_darwin.go +24 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dev_dragonfly.go +30 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dev_freebsd.go +30 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dev_linux.go +42 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dev_netbsd.go +29 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dev_openbsd.go +29 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dev_zos.go +28 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/dirent.go +102 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/endian_big.go +9 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/endian_little.go +9 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/env_unix.go +31 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/fcntl.go +36 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/fcntl_darwin.go +24 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/fdset.go +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/gccgo.go +59 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/gccgo_c.c +44 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go +20 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ifreq_linux.go +139 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ioctl_linux.go +334 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ioctl_signed.go +74 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ioctl_unsigned.go +74 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ioctl_zos.go +71 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/mkall.sh +250 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/mkerrors.sh +814 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/mmap_nomremap.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/mremap.go +57 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/pagesize_unix.go +15 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/pledge_openbsd.go +111 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ptrace_darwin.go +11 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ptrace_ios.go +11 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/race.go +30 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/race0.go +25 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/readdirent_getdents.go +12 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/readdirent_getdirentries.go +19 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/readv_unix.go +103 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go +16 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/sockcmsg_linux.go +85 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/sockcmsg_unix.go +106 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go +46 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/sockcmsg_zos.go +58 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s +75 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall.go +86 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_aix.go +582 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_aix_ppc.go +52 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go +83 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_bsd.go +609 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_darwin.go +711 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go +50 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go +50 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go +26 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_dragonfly.go +359 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +56 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_freebsd.go +455 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +64 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +64 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +60 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +60 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +60 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_hurd.go +30 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_hurd_386.go +28 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_illumos.go +78 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux.go +2574 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_386.go +313 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +12 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +144 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go +12 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_arm.go +218 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +188 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_gc.go +14 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go +16 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go +30 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go +20 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +220 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +187 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +173 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +203 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +114 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +193 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +295 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +111 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_netbsd.go +388 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_netbsd_386.go +37 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +37 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go +37 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go +37 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_openbsd.go +346 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_openbsd_386.go +41 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go +41 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go +41 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go +41 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +26 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +39 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +41 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +41 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_solaris.go +1183 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_unix.go +619 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_unix_gc.go +14 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go +22 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +3213 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/sysvshm_linux.go +20 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/sysvshm_unix.go +51 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/timestruct.go +76 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/unveil_openbsd.go +51 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/vgetrandom_linux.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go +11 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/xattr_bsd.go +280 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go +1384 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go +1385 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +1922 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +1922 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go +1737 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +2042 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +2039 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +2033 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +2033 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +2147 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux.go +4207 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_386.go +883 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +883 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +888 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +885 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +875 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +889 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +889 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +889 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +889 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +941 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +945 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +945 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +885 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +944 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +987 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go +1779 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go +1769 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go +1758 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go +1769 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +1905 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go +1905 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +1905 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go +1905 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go +1905 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +1904 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +1903 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go +1556 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go +990 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go +40 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go +17 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go +49 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go +49 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zptrace_x86_linux.go +79 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s +364 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +1461 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +1420 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +1188 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +1069 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +2728 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +799 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +2728 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +799 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +1666 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +1886 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +1886 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +1886 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +1886 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +1886 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +101 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux.go +2267 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +469 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +636 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +584 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +535 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +469 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +636 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +630 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +619 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +636 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +641 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +687 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +687 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +531 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +478 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +631 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +1848 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +1848 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +1848 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +1848 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +2407 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +719 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +2407 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +719 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +2407 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +719 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +2407 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +719 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +2407 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s +719 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +2407 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +862 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +2407 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +719 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +2217 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go +3458 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go +280 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go +280 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go +280 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go +280 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go +280 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +280 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +281 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go +439 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go +437 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go +316 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +393 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +393 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +393 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +393 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +393 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +470 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +394 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +434 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +337 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +334 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +454 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +384 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +384 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +454 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +461 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +433 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +433 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +338 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +399 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +413 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go +274 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go +274 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go +274 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go +274 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +219 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go +219 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +219 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +218 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go +221 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +217 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +218 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go +2852 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go +353 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go +357 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +878 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +878 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go +473 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +651 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +656 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +642 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +636 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +638 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux.go +6475 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_386.go +717 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +731 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +711 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +710 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +711 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +716 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +713 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +713 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +716 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +724 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +719 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +719 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +798 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +733 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +714 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go +585 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go +593 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go +590 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go +593 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +568 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +568 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +575 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +568 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +568 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +570 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +570 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +516 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +552 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/aliases.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/dll_windows.go +380 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/env_windows.go +57 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/eventlog.go +20 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/exec_windows.go +248 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/memory_windows.go +48 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/mkerrors.bash +70 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/mkknownfolderids.bash +27 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/mksyscall.go +9 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/race.go +30 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/race0.go +25 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/security_windows.go +1537 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/service.go +257 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/setupapi_windows.go +1425 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/str.go +22 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/syscall.go +104 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/syscall_windows.go +1952 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/types_windows.go +4057 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/types_windows_386.go +35 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/types_windows_amd64.go +34 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/types_windows_arm.go +35 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/types_windows_arm64.go +34 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/zerrors_windows.go +9468 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/zknownfolderids_windows.go +149 -0 collapsed to keep the page light
A vendor/golang.org/x/sys/windows/zsyscall_windows.go +4828 -0 collapsed to keep the page light
A vendor/golang.org/x/text/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/text/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/text/encoding/encoding.go +335 -0 collapsed to keep the page light
A vendor/golang.org/x/text/encoding/internal/identifier/identifier.go +81 -0 collapsed to keep the page light
A vendor/golang.org/x/text/encoding/internal/identifier/mib.go +1627 -0 collapsed to keep the page light
A vendor/golang.org/x/text/encoding/internal/internal.go +75 -0 collapsed to keep the page light
A vendor/golang.org/x/text/encoding/unicode/override.go +82 -0 collapsed to keep the page light
A vendor/golang.org/x/text/encoding/unicode/unicode.go +512 -0 collapsed to keep the page light
A vendor/golang.org/x/text/internal/utf8internal/utf8internal.go +87 -0 collapsed to keep the page light
A vendor/golang.org/x/text/runes/cond.go +187 -0 collapsed to keep the page light
A vendor/golang.org/x/text/runes/runes.go +355 -0 collapsed to keep the page light
A vendor/golang.org/x/text/secure/bidirule/bidirule.go +340 -0 collapsed to keep the page light
A vendor/golang.org/x/text/transform/transform.go +709 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/bidi/bidi.go +359 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/bidi/bracket.go +335 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/bidi/core.go +1064 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/bidi/prop.go +206 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/bidi/tables15.0.0.go +2042 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/bidi/tables17.0.0.go +2135 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/bidi/trieval.go +48 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/composition.go +512 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/forminfo.go +296 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/input.go +109 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/iter.go +454 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/normalize.go +610 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/readwriter.go +125 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/tables15.0.0.go +7907 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/tables17.0.0.go +8104 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/transform.go +88 -0 collapsed to keep the page light
A vendor/golang.org/x/text/unicode/norm/trie.go +54 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/astutil/enclosing.go +663 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/astutil/imports.go +487 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/astutil/rewrite.go +490 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/astutil/util.go +13 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/edge/edge.go +299 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/inspector/cursor.go +551 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/inspector/inspector.go +311 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/inspector/iter.go +113 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/inspector/typeof.go +227 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/ast/inspector/walk.go +341 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go +236 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/gcexportdata/importer.go +75 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/packages/doc.go +253 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/packages/external.go +153 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/packages/golist.go +1126 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/packages/golist_overlay.go +83 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/packages/loadmode_string.go +56 -0 collapsed to keep the page light
A vendor/golang.org/x/tools/go/packages/packages.go +1605 -0
| @@ -0,0 +1,1605 @@ | |||
| 1 | + | // Copyright 2018 The Go Authors. All rights reserved. | |
| 2 | + | // Use of this source code is governed by a BSD-style | |
| 3 | + | // license that can be found in the LICENSE file. | |
| 4 | + | ||
| 5 | + | package packages | |
| 6 | + | ||
| 7 | + | // See doc.go for package documentation and implementation notes. | |
| 8 | + | ||
| 9 | + | import ( | |
| 10 | + | "context" | |
| 11 | + | "encoding/json" | |
| 12 | + | "errors" | |
| 13 | + | "fmt" | |
| 14 | + | "go/ast" | |
| 15 | + | "go/parser" | |
| 16 | + | "go/scanner" | |
| 17 | + | "go/token" | |
| 18 | + | "go/types" | |
| 19 | + | "log" | |
| 20 | + | "os" | |
| 21 | + | "path/filepath" | |
| 22 | + | "runtime" | |
| 23 | + | "strings" | |
| 24 | + | "sync" | |
| 25 | + | "sync/atomic" | |
| 26 | + | "time" | |
| 27 | + | ||
| 28 | + | "golang.org/x/sync/errgroup" | |
| 29 | + | ||
| 30 | + | "golang.org/x/tools/go/gcexportdata" | |
| 31 | + | "golang.org/x/tools/internal/gocommand" | |
| 32 | + | "golang.org/x/tools/internal/packagesinternal" | |
| 33 | + | "golang.org/x/tools/internal/typesinternal" | |
| 34 | + | ) | |
| 35 | + | ||
| 36 | + | // A LoadMode controls the amount of detail to return when loading. | |
| 37 | + | // The bits below can be combined to specify which fields should be | |
| 38 | + | // filled in the result packages. | |
| 39 | + | // | |
| 40 | + | // The zero value is a special case, equivalent to combining | |
| 41 | + | // the NeedName, NeedFiles, and NeedCompiledGoFiles bits. | |
| 42 | + | // | |
| 43 | + | // ID and Errors (if present) will always be filled. | |
| 44 | + | // [Load] may return more information than requested. | |
| 45 | + | // | |
| 46 | + | // The Mode flag is a union of several bits named NeedName, | |
| 47 | + | // NeedFiles, and so on, each of which determines whether | |
| 48 | + | // a given field of Package (Name, Files, etc) should be | |
| 49 | + | // populated. | |
| 50 | + | // | |
| 51 | + | // For convenience, we provide named constants for the most | |
| 52 | + | // common combinations of Need flags: | |
| 53 | + | // | |
| 54 | + | // [LoadFiles] lists of files in each package | |
| 55 | + | // [LoadImports] ... plus imports | |
| 56 | + | // [LoadTypes] ... plus type information | |
| 57 | + | // [LoadSyntax] ... plus type-annotated syntax | |
| 58 | + | // [LoadAllSyntax] ... for all dependencies | |
| 59 | + | // | |
| 60 | + | // Unfortunately there are a number of open bugs related to | |
| 61 | + | // interactions among the LoadMode bits: | |
| 62 | + | // - https://go.dev/issue/56633 | |
| 63 | + | // - https://go.dev/issue/56677 | |
| 64 | + | // - https://go.dev/issue/58726 | |
| 65 | + | // - https://go.dev/issue/63517 | |
| 66 | + | type LoadMode int | |
| 67 | + | ||
| 68 | + | const ( | |
| 69 | + | // NeedName adds Name and PkgPath. | |
| 70 | + | NeedName LoadMode = 1 << iota | |
| 71 | + | ||
| 72 | + | // NeedFiles adds Dir, GoFiles, OtherFiles, and IgnoredFiles | |
| 73 | + | NeedFiles | |
| 74 | + | ||
| 75 | + | // NeedCompiledGoFiles adds CompiledGoFiles. | |
| 76 | + | NeedCompiledGoFiles | |
| 77 | + | ||
| 78 | + | // NeedImports adds Imports. If NeedDeps is not set, the Imports field will contain | |
| 79 | + | // "placeholder" Packages with only the ID set. | |
| 80 | + | NeedImports | |
| 81 | + | ||
| 82 | + | // NeedDeps adds the fields requested by the LoadMode in the packages in Imports. | |
| 83 | + | NeedDeps | |
| 84 | + | ||
| 85 | + | // NeedExportFile adds ExportFile. | |
| 86 | + | NeedExportFile | |
| 87 | + | ||
| 88 | + | // NeedTypes adds Types, Fset, and IllTyped. | |
| 89 | + | NeedTypes | |
| 90 | + | ||
| 91 | + | // NeedSyntax adds Syntax and Fset. | |
| 92 | + | NeedSyntax | |
| 93 | + | ||
| 94 | + | // NeedTypesInfo adds TypesInfo and Fset. | |
| 95 | + | NeedTypesInfo | |
| 96 | + | ||
| 97 | + | // NeedTypesSizes adds TypesSizes. | |
| 98 | + | NeedTypesSizes | |
| 99 | + | ||
| 100 | + | // needInternalDepsErrors adds the internal deps errors field for use by gopls. | |
| 101 | + | needInternalDepsErrors | |
| 102 | + | ||
| 103 | + | // NeedForTest adds ForTest. | |
| 104 | + | // | |
| 105 | + | // Tests must also be set on the context for this field to be populated. | |
| 106 | + | NeedForTest | |
| 107 | + | ||
| 108 | + | // typecheckCgo enables full support for type checking cgo. Requires Go 1.15+. | |
| 109 | + | // Modifies CompiledGoFiles and Types, and has no effect on its own. | |
| 110 | + | typecheckCgo | |
| 111 | + | ||
| 112 | + | // NeedModule adds Module. | |
| 113 | + | NeedModule | |
| 114 | + | ||
| 115 | + | // NeedEmbedFiles adds EmbedFiles. | |
| 116 | + | NeedEmbedFiles | |
| 117 | + | ||
| 118 | + | // NeedEmbedPatterns adds EmbedPatterns. | |
| 119 | + | NeedEmbedPatterns | |
| 120 | + | ||
| 121 | + | // NeedTarget adds Target. | |
| 122 | + | NeedTarget | |
| 123 | + | ||
| 124 | + | // Be sure to update loadmode_string.go when adding new items! | |
| 125 | + | ) | |
| 126 | + | ||
| 127 | + | const ( | |
| 128 | + | // LoadFiles loads the name and file names for the initial packages. | |
| 129 | + | LoadFiles = NeedName | NeedFiles | NeedCompiledGoFiles | |
| 130 | + | ||
| 131 | + | // LoadImports loads the name, file names, and import mapping for the initial packages. | |
| 132 | + | LoadImports = LoadFiles | NeedImports | |
| 133 | + | ||
| 134 | + | // LoadTypes loads exported type information for the initial packages. | |
| 135 | + | LoadTypes = LoadImports | NeedTypes | NeedTypesSizes | |
| 136 | + | ||
| 137 | + | // LoadSyntax loads typed syntax for the initial packages. | |
| 138 | + | LoadSyntax = LoadTypes | NeedSyntax | NeedTypesInfo | |
| 139 | + | ||
| 140 | + | // LoadAllSyntax loads typed syntax for the initial packages and all dependencies. | |
| 141 | + | LoadAllSyntax = LoadSyntax | NeedDeps | |
| 142 | + | ||
| 143 | + | // Deprecated: NeedExportsFile is a historical misspelling of NeedExportFile. | |
| 144 | + | // | |
| 145 | + | //go:fix inline | |
| 146 | + | NeedExportsFile = NeedExportFile | |
| 147 | + | ) | |
| 148 | + | ||
| 149 | + | // A Config specifies details about how packages should be loaded. | |
| 150 | + | // The zero value is a valid configuration. | |
| 151 | + | // | |
| 152 | + | // Calls to [Load] do not modify this struct. | |
| 153 | + | type Config struct { | |
| 154 | + | // Mode controls the level of information returned for each package. | |
| 155 | + | Mode LoadMode | |
| 156 | + | ||
| 157 | + | // Context specifies the context for the load operation. | |
| 158 | + | // Cancelling the context may cause [Load] to abort and | |
| 159 | + | // return an error. | |
| 160 | + | Context context.Context | |
| 161 | + | ||
| 162 | + | // Logf is the logger for the config. | |
| 163 | + | // If the user provides a logger, debug logging is enabled. | |
| 164 | + | // If the GOPACKAGESDEBUG environment variable is set to true, | |
| 165 | + | // but the logger is nil, default to log.Printf. | |
| 166 | + | Logf func(format string, args ...any) | |
| 167 | + | ||
| 168 | + | // Dir is the directory in which to run the build system's query tool | |
| 169 | + | // that provides information about the packages. | |
| 170 | + | // If Dir is empty, the tool is run in the current directory. | |
| 171 | + | Dir string | |
| 172 | + | ||
| 173 | + | // Env is the environment to use when invoking the build system's query tool. | |
| 174 | + | // If Env is nil, the current environment is used. | |
| 175 | + | // As in os/exec's Cmd, only the last value in the slice for | |
| 176 | + | // each environment key is used. To specify the setting of only | |
| 177 | + | // a few variables, append to the current environment, as in: | |
| 178 | + | // | |
| 179 | + | // opt.Env = append(os.Environ(), "GOOS=plan9", "GOARCH=386") | |
| 180 | + | // | |
| 181 | + | Env []string | |
| 182 | + | ||
| 183 | + | // BuildFlags is a list of command-line flags to be passed through to | |
| 184 | + | // the build system's query tool. | |
| 185 | + | BuildFlags []string | |
| 186 | + | ||
| 187 | + | // Fset provides source position information for syntax trees and types. | |
| 188 | + | // If Fset is nil, Load will use a new fileset, but preserve Fset's value. | |
| 189 | + | Fset *token.FileSet | |
| 190 | + | ||
| 191 | + | // ParseFile is called to read and parse each file | |
| 192 | + | // when preparing a package's type-checked syntax tree. | |
| 193 | + | // It must be safe to call ParseFile simultaneously from multiple goroutines. | |
| 194 | + | // If ParseFile is nil, the loader will uses parser.ParseFile. | |
| 195 | + | // | |
| 196 | + | // ParseFile should parse the source from src and use filename only for | |
| 197 | + | // recording position information. | |
| 198 | + | // | |
| 199 | + | // An application may supply a custom implementation of ParseFile | |
| 200 | + | // to change the effective file contents or the behavior of the parser, | |
| 201 | + | // or to modify the syntax tree. For example, selectively eliminating | |
| 202 | + | // unwanted function bodies can significantly accelerate type checking. | |
| 203 | + | ParseFile func(fset *token.FileSet, filename string, src []byte) (*ast.File, error) | |
| 204 | + | ||
| 205 | + | // If Tests is set, the loader includes not just the packages | |
| 206 | + | // matching a particular pattern but also any related test packages, | |
| 207 | + | // including test-only variants of the package and the test executable. | |
| 208 | + | // | |
| 209 | + | // For example, when using the go command, loading "fmt" with Tests=true | |
| 210 | + | // returns four packages, with IDs "fmt" (the standard package), | |
| 211 | + | // "fmt [fmt.test]" (the package as compiled for the test), | |
| 212 | + | // "fmt_test" (the test functions from source files in package fmt_test), | |
| 213 | + | // and "fmt.test" (the test binary). | |
| 214 | + | // | |
| 215 | + | // In build systems with explicit names for tests, | |
| 216 | + | // setting Tests may have no effect. | |
| 217 | + | Tests bool | |
| 218 | + | ||
| 219 | + | // Overlay is a mapping from absolute file paths to file contents. | |
| 220 | + | // | |
| 221 | + | // For each map entry, [Load] uses the alternative file | |
| 222 | + | // contents provided by the overlay mapping instead of reading | |
| 223 | + | // from the file system. This mechanism can be used to enable | |
| 224 | + | // editor-integrated tools to correctly analyze the contents | |
| 225 | + | // of modified but unsaved buffers, for example. | |
| 226 | + | // | |
| 227 | + | // The overlay mapping is passed to the build system's driver | |
| 228 | + | // (see "The driver protocol") so that it too can report | |
| 229 | + | // consistent package metadata about unsaved files. However, | |
| 230 | + | // drivers may vary in their level of support for overlays. | |
| 231 | + | Overlay map[string][]byte | |
| 232 | + | } | |
| 233 | + | ||
| 234 | + | // Load loads and returns the Go packages named by the given patterns. | |
| 235 | + | // | |
| 236 | + | // The cfg parameter specifies loading options; nil behaves the same as an empty [Config]. | |
| 237 | + | // | |
| 238 | + | // The [Config.Mode] field is a set of bits that determine what kinds | |
| 239 | + | // of information should be computed and returned. Modes that require | |
| 240 | + | // more information tend to be slower. See [LoadMode] for details | |
| 241 | + | // and important caveats. Its zero value is equivalent to | |
| 242 | + | // [NeedName] | [NeedFiles] | [NeedCompiledGoFiles]. | |
| 243 | + | // | |
| 244 | + | // Each call to Load returns a new set of [Package] instances. | |
| 245 | + | // The Packages and their Imports form a directed acyclic graph. | |
| 246 | + | // | |
| 247 | + | // If the [NeedTypes] mode flag was set, each call to Load uses a new | |
| 248 | + | // [types.Importer], so [types.Object] and [types.Type] values from | |
| 249 | + | // different calls to Load must not be mixed as they will have | |
| 250 | + | // inconsistent notions of type identity. | |
| 251 | + | // | |
| 252 | + | // If any of the patterns was invalid as defined by the | |
| 253 | + | // underlying build system, Load returns an error. | |
| 254 | + | // It may return an empty list of packages without an error, | |
| 255 | + | // for instance for an empty expansion of a valid wildcard. | |
| 256 | + | // Errors associated with a particular package are recorded in the | |
| 257 | + | // corresponding Package's Errors list, and do not cause Load to | |
| 258 | + | // return an error. Clients may need to handle such errors before | |
| 259 | + | // proceeding with further analysis. The [PrintErrors] function is | |
| 260 | + | // provided for convenient display of all errors. | |
| 261 | + | func Load(cfg *Config, patterns ...string) ([]*Package, error) { | |
| 262 | + | ld := newLoader(cfg) | |
| 263 | + | response, external, err := defaultDriver(&ld.Config, patterns...) | |
| 264 | + | if err != nil { | |
| 265 | + | return nil, err | |
| 266 | + | } | |
| 267 | + | ||
| 268 | + | ld.sizes = types.SizesFor(response.Compiler, response.Arch) | |
| 269 | + | if ld.sizes == nil && ld.Config.Mode&(NeedTypes|NeedTypesSizes|NeedTypesInfo) != 0 { | |
| 270 | + | // Type size information is needed but unavailable. | |
| 271 | + | if external { | |
| 272 | + | // An external driver may fail to populate the Compiler/GOARCH fields, | |
| 273 | + | // especially since they are relatively new (see #63700). | |
| 274 | + | // Provide a sensible fallback in this case. | |
| 275 | + | ld.sizes = types.SizesFor("gc", runtime.GOARCH) | |
| 276 | + | if ld.sizes == nil { // gccgo-only arch | |
| 277 | + | ld.sizes = types.SizesFor("gc", "amd64") | |
| 278 | + | } | |
| 279 | + | } else { | |
| 280 | + | // Go list should never fail to deliver accurate size information. | |
| 281 | + | // Reject the whole Load since the error is the same for every package. | |
| 282 | + | return nil, fmt.Errorf("can't determine type sizes for compiler %q on GOARCH %q", | |
| 283 | + | response.Compiler, response.Arch) | |
| 284 | + | } | |
| 285 | + | } | |
| 286 | + | ||
| 287 | + | ld.externalDriver = external | |
| 288 | + | ||
| 289 | + | return ld.refine(response) | |
| 290 | + | } | |
| 291 | + | ||
| 292 | + | // defaultDriver is a driver that implements go/packages' fallback behavior. | |
| 293 | + | // It will try to request to an external driver, if one exists. If there's | |
| 294 | + | // no external driver, or the driver returns a response with NotHandled set, | |
| 295 | + | // defaultDriver will fall back to the go list driver. | |
| 296 | + | // The boolean result indicates that an external driver handled the request. | |
| 297 | + | func defaultDriver(cfg *Config, patterns ...string) (*DriverResponse, bool, error) { | |
| 298 | + | const ( | |
| 299 | + | // windowsArgMax specifies the maximum command line length for | |
| 300 | + | // the Windows' CreateProcess function. | |
| 301 | + | windowsArgMax = 32767 | |
| 302 | + | // maxEnvSize is a very rough estimation of the maximum environment | |
| 303 | + | // size of a user. | |
| 304 | + | maxEnvSize = 16384 | |
| 305 | + | // safeArgMax specifies the maximum safe command line length to use | |
| 306 | + | // by the underlying driver excl. the environment. We choose the Windows' | |
| 307 | + | // ARG_MAX as the starting point because it's one of the lowest ARG_MAX | |
| 308 | + | // constants out of the different supported platforms, | |
| 309 | + | // e.g., https://www.in-ulm.de/~mascheck/various/argmax/#results. | |
| 310 | + | safeArgMax = windowsArgMax - maxEnvSize | |
| 311 | + | ) | |
| 312 | + | chunks, err := splitIntoChunks(patterns, safeArgMax) | |
| 313 | + | if err != nil { | |
| 314 | + | return nil, false, err | |
| 315 | + | } | |
| 316 | + | ||
| 317 | + | if driver := findExternalDriver(cfg); driver != nil { | |
| 318 | + | response, err := callDriverOnChunks(driver, cfg, chunks) | |
| 319 | + | if err != nil { | |
| 320 | + | return nil, false, err | |
| 321 | + | } else if !response.NotHandled { | |
| 322 | + | return response, true, nil | |
| 323 | + | } | |
| 324 | + | // not handled: fall through | |
| 325 | + | } | |
| 326 | + | ||
| 327 | + | // go list fallback | |
| 328 | + | ||
| 329 | + | // Write overlays once, as there are many calls | |
| 330 | + | // to 'go list' (one per chunk plus others too). | |
| 331 | + | overlayFile, cleanupOverlay, err := gocommand.WriteOverlays(cfg.Overlay) | |
| 332 | + | if err != nil { | |
| 333 | + | return nil, false, err | |
| 334 | + | } | |
| 335 | + | defer cleanupOverlay() | |
| 336 | + | ||
| 337 | + | var runner gocommand.Runner // (shared across many 'go list' calls) | |
| 338 | + | driver := func(cfg *Config, patterns []string) (*DriverResponse, error) { | |
| 339 | + | return goListDriver(cfg, &runner, overlayFile, patterns) | |
| 340 | + | } | |
| 341 | + | response, err := callDriverOnChunks(driver, cfg, chunks) | |
| 342 | + | if err != nil { | |
| 343 | + | return nil, false, err | |
| 344 | + | } | |
| 345 | + | return response, false, err | |
| 346 | + | } | |
| 347 | + | ||
| 348 | + | // splitIntoChunks chunks the slice so that the total number of characters | |
| 349 | + | // in a chunk is no longer than argMax. | |
| 350 | + | func splitIntoChunks(patterns []string, argMax int) ([][]string, error) { | |
| 351 | + | if argMax <= 0 { | |
| 352 | + | return nil, errors.New("failed to split patterns into chunks, negative safe argMax value") | |
| 353 | + | } | |
| 354 | + | var chunks [][]string | |
| 355 | + | charsInChunk := 0 | |
| 356 | + | nextChunkStart := 0 | |
| 357 | + | for i, v := range patterns { | |
| 358 | + | vChars := len(v) | |
| 359 | + | if vChars > argMax { | |
| 360 | + | // a single pattern is longer than the maximum safe ARG_MAX, hardly should happen | |
| 361 | + | return nil, errors.New("failed to split patterns into chunks, a pattern is too long") | |
| 362 | + | } | |
| 363 | + | charsInChunk += vChars + 1 // +1 is for a whitespace between patterns that has to be counted too | |
| 364 | + | if charsInChunk > argMax { | |
| 365 | + | chunks = append(chunks, patterns[nextChunkStart:i]) | |
| 366 | + | nextChunkStart = i | |
| 367 | + | charsInChunk = vChars | |
| 368 | + | } | |
| 369 | + | } | |
| 370 | + | // add the last chunk | |
| 371 | + | if nextChunkStart < len(patterns) { | |
| 372 | + | chunks = append(chunks, patterns[nextChunkStart:]) | |
| 373 | + | } | |
| 374 | + | return chunks, nil | |
| 375 | + | } | |
| 376 | + | ||
| 377 | + | func callDriverOnChunks(driver driver, cfg *Config, chunks [][]string) (*DriverResponse, error) { | |
| 378 | + | if len(chunks) == 0 { | |
| 379 | + | return driver(cfg, nil) | |
| 380 | + | } | |
| 381 | + | responses := make([]*DriverResponse, len(chunks)) | |
| 382 | + | errNotHandled := errors.New("driver returned NotHandled") | |
| 383 | + | var g errgroup.Group | |
| 384 | + | for i, chunk := range chunks { | |
| 385 | + | g.Go(func() (err error) { | |
| 386 | + | responses[i], err = driver(cfg, chunk) | |
| 387 | + | if responses[i] != nil && responses[i].NotHandled { | |
| 388 | + | err = errNotHandled | |
| 389 | + | } | |
| 390 | + | return err | |
| 391 | + | }) | |
| 392 | + | } | |
| 393 | + | if err := g.Wait(); err != nil { | |
| 394 | + | if errors.Is(err, errNotHandled) { | |
| 395 | + | return &DriverResponse{NotHandled: true}, nil | |
| 396 | + | } | |
| 397 | + | return nil, err | |
| 398 | + | } | |
| 399 | + | return mergeResponses(responses...), nil | |
| 400 | + | } | |
| 401 | + | ||
| 402 | + | func mergeResponses(responses ...*DriverResponse) *DriverResponse { | |
| 403 | + | if len(responses) == 0 { | |
| 404 | + | return nil | |
| 405 | + | } | |
| 406 | + | // No dedup needed | |
| 407 | + | if len(responses) == 1 { | |
| 408 | + | return responses[0] | |
| 409 | + | } | |
| 410 | + | response := newDeduper() | |
| 411 | + | response.dr.NotHandled = false | |
| 412 | + | response.dr.Compiler = responses[0].Compiler | |
| 413 | + | response.dr.Arch = responses[0].Arch | |
| 414 | + | response.dr.GoVersion = responses[0].GoVersion | |
| 415 | + | for _, v := range responses { | |
| 416 | + | response.addAll(v) | |
| 417 | + | } | |
| 418 | + | return response.dr | |
| 419 | + | } | |
| 420 | + | ||
| 421 | + | // A Package describes a loaded Go package. | |
| 422 | + | // | |
| 423 | + | // It also defines part of the JSON schema of [DriverResponse]. | |
| 424 | + | // See the package documentation for an overview. | |
| 425 | + | type Package struct { | |
| 426 | + | // ID is a unique identifier for a package, | |
| 427 | + | // in a syntax provided by the underlying build system. | |
| 428 | + | // | |
| 429 | + | // Because the syntax varies based on the build system, | |
| 430 | + | // clients should treat IDs as opaque and not attempt to | |
| 431 | + | // interpret them. | |
| 432 | + | ID string | |
| 433 | + | ||
| 434 | + | // Name is the package name as it appears in the package source code. | |
| 435 | + | Name string | |
| 436 | + | ||
| 437 | + | // PkgPath is the package path as used by the go/types package. | |
| 438 | + | PkgPath string | |
| 439 | + | ||
| 440 | + | // Dir is the directory associated with the package, if it exists. | |
| 441 | + | // | |
| 442 | + | // For packages listed by the go command, this is the directory containing | |
| 443 | + | // the package files. | |
| 444 | + | Dir string | |
| 445 | + | ||
| 446 | + | // Errors contains any errors encountered querying the metadata | |
| 447 | + | // of the package, or while parsing or type-checking its files. | |
| 448 | + | Errors []Error | |
| 449 | + | ||
| 450 | + | // TypeErrors contains the subset of errors produced during type checking. | |
| 451 | + | TypeErrors []types.Error | |
| 452 | + | ||
| 453 | + | // GoFiles lists the absolute file paths of the package's Go source files. | |
| 454 | + | // It may include files that should not be compiled, for example because | |
| 455 | + | // they contain non-matching build tags, are documentary pseudo-files such as | |
| 456 | + | // unsafe/unsafe.go or builtin/builtin.go, or are subject to cgo preprocessing. | |
| 457 | + | GoFiles []string | |
| 458 | + | ||
| 459 | + | // CompiledGoFiles lists the absolute file paths of the package's source | |
| 460 | + | // files that are suitable for type checking. | |
| 461 | + | // This may differ from GoFiles if files are processed before compilation. | |
| 462 | + | CompiledGoFiles []string | |
| 463 | + | ||
| 464 | + | // OtherFiles lists the absolute file paths of the package's non-Go source files, | |
| 465 | + | // including assembly, C, C++, Fortran, Objective-C, SWIG, and so on. | |
| 466 | + | OtherFiles []string | |
| 467 | + | ||
| 468 | + | // EmbedFiles lists the absolute file paths of the package's files | |
| 469 | + | // embedded with go:embed. | |
| 470 | + | EmbedFiles []string | |
| 471 | + | ||
| 472 | + | // EmbedPatterns lists the absolute file patterns of the package's | |
| 473 | + | // files embedded with go:embed. | |
| 474 | + | EmbedPatterns []string | |
| 475 | + | ||
| 476 | + | // IgnoredFiles lists source files that are not part of the package | |
| 477 | + | // using the current build configuration but that might be part of | |
| 478 | + | // the package using other build configurations. | |
| 479 | + | IgnoredFiles []string | |
| 480 | + | ||
| 481 | + | // ExportFile is the absolute path to a file containing type | |
| 482 | + | // information for the package as provided by the build system. | |
| 483 | + | ExportFile string | |
| 484 | + | ||
| 485 | + | // Target is the absolute install path of the .a file, for libraries, | |
| 486 | + | // and of the executable file, for binaries. | |
| 487 | + | Target string | |
| 488 | + | ||
| 489 | + | // Imports maps import paths appearing in the package's Go source files | |
| 490 | + | // to corresponding loaded Packages. | |
| 491 | + | Imports map[string]*Package | |
| 492 | + | ||
| 493 | + | // Module is the module information for the package if it exists. | |
| 494 | + | // | |
| 495 | + | // Note: it may be missing for std and cmd; see Go issue #65816. | |
| 496 | + | Module *Module | |
| 497 | + | ||
| 498 | + | // -- The following fields are not part of the driver JSON schema. -- | |
| 499 | + | ||
| 500 | + | // Types provides type information for the package. | |
| 501 | + | // The NeedTypes LoadMode bit sets this field for packages matching the | |
| 502 | + | // patterns; type information for dependencies may be missing or incomplete, | |
| 503 | + | // unless NeedDeps and NeedImports are also set. | |
| 504 | + | // | |
| 505 | + | // Each call to [Load] returns a consistent set of type | |
| 506 | + | // symbols, as defined by the comment at [types.Identical]. | |
| 507 | + | // Avoid mixing type information from two or more calls to [Load]. | |
| 508 | + | Types *types.Package `json:"-"` | |
| 509 | + | ||
| 510 | + | // Fset provides position information for Types, TypesInfo, and Syntax. | |
| 511 | + | // It is set only when Types is set. | |
| 512 | + | Fset *token.FileSet `json:"-"` | |
| 513 | + | ||
| 514 | + | // IllTyped indicates whether the package or any dependency contains errors. | |
| 515 | + | // It is set only when Types is set. | |
| 516 | + | IllTyped bool `json:"-"` | |
| 517 | + | ||
| 518 | + | // Syntax is the package's syntax trees, for the files listed in CompiledGoFiles. | |
| 519 | + | // | |
| 520 | + | // The NeedSyntax LoadMode bit populates this field for packages matching the patterns. | |
| 521 | + | // If NeedDeps and NeedImports are also set, this field will also be populated | |
| 522 | + | // for dependencies. | |
| 523 | + | // | |
| 524 | + | // Syntax is kept in the same order as CompiledGoFiles, with the caveat that nils are | |
| 525 | + | // removed. If parsing returned nil, Syntax may be shorter than CompiledGoFiles. | |
| 526 | + | Syntax []*ast.File `json:"-"` | |
| 527 | + | ||
| 528 | + | // TypesInfo provides type information about the package's syntax trees. | |
| 529 | + | // It is set only when Syntax is set. | |
| 530 | + | TypesInfo *types.Info `json:"-"` | |
| 531 | + | ||
| 532 | + | // TypesSizes provides the effective size function for types in TypesInfo. | |
| 533 | + | TypesSizes types.Sizes `json:"-"` | |
| 534 | + | ||
| 535 | + | // -- internal -- | |
| 536 | + | ||
| 537 | + | // ForTest is the package under test, if any. | |
| 538 | + | ForTest string | |
| 539 | + | ||
| 540 | + | // depsErrors is the DepsErrors field from the go list response, if any. | |
| 541 | + | depsErrors []*packagesinternal.PackageError | |
| 542 | + | ||
| 543 | + | // exportDataError is the error encountered reading export data, if any. | |
| 544 | + | // Decoding export data should ordinarily be infallible, so this typically | |
| 545 | + | // indicates a producer/consumer version skew. | |
| 546 | + | exportDataError error | |
| 547 | + | } | |
| 548 | + | ||
| 549 | + | // Module provides module information for a package. | |
| 550 | + | // | |
| 551 | + | // It also defines part of the JSON schema of [DriverResponse]. | |
| 552 | + | // See the package documentation for an overview. | |
| 553 | + | type Module struct { | |
| 554 | + | Path string // module path | |
| 555 | + | Version string // module version | |
| 556 | + | Replace *Module // replaced by this module | |
| 557 | + | Time *time.Time // time version was created | |
| 558 | + | Main bool // is this the main module? | |
| 559 | + | Indirect bool // is this module only an indirect dependency of main module? | |
| 560 | + | Dir string // directory holding files for this module, if any | |
| 561 | + | GoMod string // path to go.mod file used when loading this module, if any | |
| 562 | + | GoVersion string // go version used in module | |
| 563 | + | Error *ModuleError // error loading module | |
| 564 | + | } | |
| 565 | + | ||
| 566 | + | // ModuleError holds errors loading a module. | |
| 567 | + | type ModuleError struct { | |
| 568 | + | Err string // the error itself | |
| 569 | + | } | |
| 570 | + | ||
| 571 | + | func init() { | |
| 572 | + | packagesinternal.GetDepsErrors = func(p any) []*packagesinternal.PackageError { | |
| 573 | + | return p.(*Package).depsErrors | |
| 574 | + | } | |
| 575 | + | packagesinternal.TypecheckCgo = int(typecheckCgo) | |
| 576 | + | packagesinternal.DepsErrors = int(needInternalDepsErrors) | |
| 577 | + | } | |
| 578 | + | ||
| 579 | + | // An Error describes a problem with a package's metadata, syntax, or types. | |
| 580 | + | type Error struct { | |
| 581 | + | Pos string // "file:line:col" or "file:line" or "" or "-" | |
| 582 | + | Msg string | |
| 583 | + | Kind ErrorKind | |
| 584 | + | } | |
| 585 | + | ||
| 586 | + | // ErrorKind describes the source of the error, allowing the user to | |
| 587 | + | // differentiate between errors generated by the driver, the parser, or the | |
| 588 | + | // type-checker. | |
| 589 | + | type ErrorKind int | |
| 590 | + | ||
| 591 | + | const ( | |
| 592 | + | UnknownError ErrorKind = iota | |
| 593 | + | ListError | |
| 594 | + | ParseError | |
| 595 | + | TypeError | |
| 596 | + | ) | |
| 597 | + | ||
| 598 | + | func (err Error) Error() string { | |
| 599 | + | pos := err.Pos | |
| 600 | + | if pos == "" { | |
| 601 | + | pos = "-" // like token.Position{}.String() | |
| 602 | + | } | |
| 603 | + | return pos + ": " + err.Msg | |
| 604 | + | } | |
| 605 | + | ||
| 606 | + | // flatPackage is the JSON form of Package | |
| 607 | + | // It drops all the type and syntax fields, and transforms the Imports | |
| 608 | + | // | |
| 609 | + | // TODO(adonovan): identify this struct with Package, effectively | |
| 610 | + | // publishing the JSON protocol. | |
| 611 | + | type flatPackage struct { | |
| 612 | + | ID string | |
| 613 | + | Name string `json:",omitempty"` | |
| 614 | + | PkgPath string `json:",omitempty"` | |
| 615 | + | Errors []Error `json:",omitempty"` | |
| 616 | + | GoFiles []string `json:",omitempty"` | |
| 617 | + | CompiledGoFiles []string `json:",omitempty"` | |
| 618 | + | OtherFiles []string `json:",omitempty"` | |
| 619 | + | EmbedFiles []string `json:",omitempty"` | |
| 620 | + | EmbedPatterns []string `json:",omitempty"` | |
| 621 | + | IgnoredFiles []string `json:",omitempty"` | |
| 622 | + | ExportFile string `json:",omitempty"` | |
| 623 | + | Imports map[string]string `json:",omitempty"` | |
| 624 | + | } | |
| 625 | + | ||
| 626 | + | // MarshalJSON returns the Package in its JSON form. | |
| 627 | + | // For the most part, the structure fields are written out unmodified, and | |
| 628 | + | // the type and syntax fields are skipped. | |
| 629 | + | // The imports are written out as just a map of path to package id. | |
| 630 | + | // The errors are written using a custom type that tries to preserve the | |
| 631 | + | // structure of error types we know about. | |
| 632 | + | // | |
| 633 | + | // This method exists to enable support for additional build systems. It is | |
| 634 | + | // not intended for use by clients of the API and we may change the format. | |
| 635 | + | func (p *Package) MarshalJSON() ([]byte, error) { | |
| 636 | + | flat := &flatPackage{ | |
| 637 | + | ID: p.ID, | |
| 638 | + | Name: p.Name, | |
| 639 | + | PkgPath: p.PkgPath, | |
| 640 | + | Errors: p.Errors, | |
| 641 | + | GoFiles: p.GoFiles, | |
| 642 | + | CompiledGoFiles: p.CompiledGoFiles, | |
| 643 | + | OtherFiles: p.OtherFiles, | |
| 644 | + | EmbedFiles: p.EmbedFiles, | |
| 645 | + | EmbedPatterns: p.EmbedPatterns, | |
| 646 | + | IgnoredFiles: p.IgnoredFiles, | |
| 647 | + | ExportFile: p.ExportFile, | |
| 648 | + | } | |
| 649 | + | if len(p.Imports) > 0 { | |
| 650 | + | flat.Imports = make(map[string]string, len(p.Imports)) | |
| 651 | + | for path, ipkg := range p.Imports { | |
| 652 | + | flat.Imports[path] = ipkg.ID | |
| 653 | + | } | |
| 654 | + | } | |
| 655 | + | return json.Marshal(flat) | |
| 656 | + | } | |
| 657 | + | ||
| 658 | + | // UnmarshalJSON reads in a Package from its JSON format. | |
| 659 | + | // See MarshalJSON for details about the format accepted. | |
| 660 | + | func (p *Package) UnmarshalJSON(b []byte) error { | |
| 661 | + | flat := &flatPackage{} | |
| 662 | + | if err := json.Unmarshal(b, &flat); err != nil { | |
| 663 | + | return err | |
| 664 | + | } | |
| 665 | + | *p = Package{ | |
| 666 | + | ID: flat.ID, | |
| 667 | + | Name: flat.Name, | |
| 668 | + | PkgPath: flat.PkgPath, | |
| 669 | + | Errors: flat.Errors, | |
| 670 | + | GoFiles: flat.GoFiles, | |
| 671 | + | CompiledGoFiles: flat.CompiledGoFiles, | |
| 672 | + | OtherFiles: flat.OtherFiles, | |
| 673 | + | EmbedFiles: flat.EmbedFiles, | |
| 674 | + | EmbedPatterns: flat.EmbedPatterns, | |
| 675 | + | IgnoredFiles: flat.IgnoredFiles, | |
| 676 | + | ExportFile: flat.ExportFile, | |
| 677 | + | } | |
| 678 | + | if len(flat.Imports) > 0 { | |
| 679 | + | p.Imports = make(map[string]*Package, len(flat.Imports)) | |
| 680 | + | for path, id := range flat.Imports { | |
| 681 | + | p.Imports[path] = &Package{ID: id} | |
| 682 | + | } | |
| 683 | + | } | |
| 684 | + | return nil | |
| 685 | + | } | |
| 686 | + | ||
| 687 | + | func (p *Package) String() string { return p.ID } | |
| 688 | + | ||
| 689 | + | // loaderPackage augments Package with state used during the loading phase | |
| 690 | + | type loaderPackage struct { | |
| 691 | + | *Package | |
| 692 | + | importErrors map[string]error // maps each bad import to its error | |
| 693 | + | preds []*loaderPackage // packages that import this one | |
| 694 | + | unfinishedSuccs atomic.Int32 // number of direct imports not yet loaded | |
| 695 | + | color uint8 // for cycle detection | |
| 696 | + | needsrc bool // load from source (Mode >= LoadTypes) | |
| 697 | + | needtypes bool // type information is either requested or depended on | |
| 698 | + | initial bool // package was matched by a pattern | |
| 699 | + | goVersion int // minor version number of go command on PATH | |
| 700 | + | } | |
| 701 | + | ||
| 702 | + | // loader holds the working state of a single call to load. | |
| 703 | + | type loader struct { | |
| 704 | + | pkgs map[string]*loaderPackage // keyed by Package.ID | |
| 705 | + | Config | |
| 706 | + | sizes types.Sizes // non-nil if needed by mode | |
| 707 | + | parseCache map[string]*parseValue | |
| 708 | + | parseCacheMu sync.Mutex | |
| 709 | + | exportMu sync.Mutex // enforces mutual exclusion of exportdata operations | |
| 710 | + | externalDriver bool // true if an external GOPACKAGESDRIVER handled the request | |
| 711 | + | ||
| 712 | + | // Config.Mode contains the implied mode (see impliedLoadMode). | |
| 713 | + | // Implied mode contains all the fields we need the data for. | |
| 714 | + | // In requestedMode there are the actually requested fields. | |
| 715 | + | // We'll zero them out before returning packages to the user. | |
| 716 | + | // This makes it easier for us to get the conditions where | |
| 717 | + | // we need certain modes right. | |
| 718 | + | requestedMode LoadMode | |
| 719 | + | } | |
| 720 | + | ||
| 721 | + | type parseValue struct { | |
| 722 | + | f *ast.File | |
| 723 | + | err error | |
| 724 | + | ready chan struct{} | |
| 725 | + | } | |
| 726 | + | ||
| 727 | + | func newLoader(cfg *Config) *loader { | |
| 728 | + | ld := &loader{ | |
| 729 | + | parseCache: map[string]*parseValue{}, | |
| 730 | + | } | |
| 731 | + | if cfg != nil { | |
| 732 | + | ld.Config = *cfg | |
| 733 | + | // If the user has provided a logger, use it. | |
| 734 | + | ld.Config.Logf = cfg.Logf | |
| 735 | + | } | |
| 736 | + | if ld.Config.Logf == nil { | |
| 737 | + | // If the GOPACKAGESDEBUG environment variable is set to true, | |
| 738 | + | // but the user has not provided a logger, default to log.Printf. | |
| 739 | + | if debug { | |
| 740 | + | ld.Config.Logf = log.Printf | |
| 741 | + | } else { | |
| 742 | + | ld.Config.Logf = func(format string, args ...any) {} | |
| 743 | + | } | |
| 744 | + | } | |
| 745 | + | if ld.Config.Mode == 0 { | |
| 746 | + | ld.Config.Mode = NeedName | NeedFiles | NeedCompiledGoFiles // Preserve zero behavior of Mode for backwards compatibility. | |
| 747 | + | } | |
| 748 | + | if ld.Config.Env == nil { | |
| 749 | + | ld.Config.Env = os.Environ() | |
| 750 | + | } | |
| 751 | + | if ld.Context == nil { | |
| 752 | + | ld.Context = context.Background() | |
| 753 | + | } | |
| 754 | + | if ld.Dir == "" { | |
| 755 | + | if dir, err := os.Getwd(); err == nil { | |
| 756 | + | ld.Dir = dir | |
| 757 | + | } | |
| 758 | + | } | |
| 759 | + | ||
| 760 | + | // Save the actually requested fields. We'll zero them out before returning packages to the user. | |
| 761 | + | ld.requestedMode = ld.Mode | |
| 762 | + | ld.Mode = impliedLoadMode(ld.Mode) | |
| 763 | + | ||
| 764 | + | if ld.Mode&(NeedSyntax|NeedTypes|NeedTypesInfo) != 0 { | |
| 765 | + | if ld.Fset == nil { | |
| 766 | + | ld.Fset = token.NewFileSet() | |
| 767 | + | } | |
| 768 | + | ||
| 769 | + | // ParseFile is required even in LoadTypes mode | |
| 770 | + | // because we load source if export data is missing. | |
| 771 | + | if ld.ParseFile == nil { | |
| 772 | + | ld.ParseFile = func(fset *token.FileSet, filename string, src []byte) (*ast.File, error) { | |
| 773 | + | // We implicitly promise to keep doing ast.Object resolution. :( | |
| 774 | + | const mode = parser.AllErrors | parser.ParseComments | |
| 775 | + | return parser.ParseFile(fset, filename, src, mode) | |
| 776 | + | } | |
| 777 | + | } | |
| 778 | + | } | |
| 779 | + | ||
| 780 | + | return ld | |
| 781 | + | } | |
| 782 | + | ||
| 783 | + | // refine connects the supplied packages into a graph and then adds type | |
| 784 | + | // and syntax information as requested by the LoadMode. | |
| 785 | + | func (ld *loader) refine(response *DriverResponse) ([]*Package, error) { | |
| 786 | + | roots := response.Roots | |
| 787 | + | rootMap := make(map[string]int, len(roots)) | |
| 788 | + | for i, root := range roots { | |
| 789 | + | rootMap[root] = i | |
| 790 | + | } | |
| 791 | + | ld.pkgs = make(map[string]*loaderPackage) | |
| 792 | + | // first pass, fixup and build the map and roots | |
| 793 | + | var initial = make([]*loaderPackage, len(roots)) | |
| 794 | + | for _, pkg := range response.Packages { | |
| 795 | + | rootIndex := -1 | |
| 796 | + | if i, found := rootMap[pkg.ID]; found { | |
| 797 | + | rootIndex = i | |
| 798 | + | } | |
| 799 | + | ||
| 800 | + | // Overlays can invalidate export data. | |
| 801 | + | // TODO(matloob): make this check fine-grained based on dependencies on overlaid files | |
| 802 | + | exportDataInvalid := len(ld.Overlay) > 0 || pkg.ExportFile == "" && pkg.PkgPath != "unsafe" | |
| 803 | + | // This package needs type information if the caller requested types and the package is | |
| 804 | + | // either a root, or it's a non-root and the user requested dependencies ... | |
| 805 | + | needtypes := (ld.Mode&(NeedTypes|NeedTypesInfo) != 0 && (rootIndex >= 0 || ld.Mode&NeedDeps != 0)) | |
| 806 | + | // This package needs source if the call requested source (or types info, which implies source) | |
| 807 | + | // and the package is either a root, or itas a non- root and the user requested dependencies... | |
| 808 | + | needsrc := ((ld.Mode&(NeedSyntax|NeedTypesInfo) != 0 && (rootIndex >= 0 || ld.Mode&NeedDeps != 0)) || | |
| 809 | + | // ... or if we need types and the exportData is invalid. We fall back to (incompletely) | |
| 810 | + | // typechecking packages from source if they fail to compile. | |
| 811 | + | (ld.Mode&(NeedTypes|NeedTypesInfo) != 0 && exportDataInvalid)) && pkg.PkgPath != "unsafe" | |
| 812 | + | lpkg := &loaderPackage{ | |
| 813 | + | Package: pkg, | |
| 814 | + | needtypes: needtypes, | |
| 815 | + | needsrc: needsrc, | |
| 816 | + | goVersion: response.GoVersion, | |
| 817 | + | } | |
| 818 | + | // Don't trust the driver to respond with duplicate-free | |
| 819 | + | // package names (go.dev/issue/63822). | |
| 820 | + | if _, ok := ld.pkgs[lpkg.ID]; ok { | |
| 821 | + | return nil, fmt.Errorf("%s response contained duplicate packages for ID %q", | |
| 822 | + | cond(ld.externalDriver, "go/packages driver", "go list"), lpkg.ID) | |
| 823 | + | } | |
| 824 | + | ld.pkgs[lpkg.ID] = lpkg | |
| 825 | + | if rootIndex >= 0 { | |
| 826 | + | initial[rootIndex] = lpkg | |
| 827 | + | lpkg.initial = true | |
| 828 | + | } | |
| 829 | + | } | |
| 830 | + | for i, root := range roots { | |
| 831 | + | if initial[i] == nil { | |
| 832 | + | return nil, fmt.Errorf("root package %v is missing", root) | |
| 833 | + | } | |
| 834 | + | } | |
| 835 | + | ||
| 836 | + | // Materialize the import graph if it is needed (NeedImports), | |
| 837 | + | // or if we'll be using loadPackages (Need{Syntax|Types|TypesInfo}). | |
| 838 | + | var leaves []*loaderPackage // packages with no unfinished successors | |
| 839 | + | if ld.Mode&(NeedImports|NeedSyntax|NeedTypes|NeedTypesInfo) != 0 { | |
| 840 | + | const ( | |
| 841 | + | white = 0 // new | |
| 842 | + | grey = 1 // in progress | |
| 843 | + | black = 2 // complete | |
| 844 | + | ) | |
| 845 | + | ||
| 846 | + | // visit traverses the import graph, depth-first, | |
| 847 | + | // and materializes the graph as Packages.Imports. | |
| 848 | + | // | |
| 849 | + | // Valid imports are saved in the Packages.Import map. | |
| 850 | + | // Invalid imports (cycles and missing nodes) are saved in the importErrors map. | |
| 851 | + | // Thus, even in the presence of both kinds of errors, | |
| 852 | + | // the Import graph remains a DAG. | |
| 853 | + | // | |
| 854 | + | // visit returns whether the package needs src or has a transitive | |
| 855 | + | // dependency on a package that does. These are the only packages | |
| 856 | + | // for which we load source code. | |
| 857 | + | var stack []*loaderPackage | |
| 858 | + | var visit func(from, lpkg *loaderPackage) bool | |
| 859 | + | visit = func(from, lpkg *loaderPackage) bool { | |
| 860 | + | if lpkg.color == grey { | |
| 861 | + | panic("internal error: grey node") | |
| 862 | + | } | |
| 863 | + | if lpkg.color == white { | |
| 864 | + | lpkg.color = grey | |
| 865 | + | stack = append(stack, lpkg) // push | |
| 866 | + | stubs := lpkg.Imports // the structure form has only stubs with the ID in the Imports | |
| 867 | + | lpkg.Imports = make(map[string]*Package, len(stubs)) | |
| 868 | + | for importPath, ipkg := range stubs { | |
| 869 | + | var importErr error | |
| 870 | + | imp := ld.pkgs[ipkg.ID] | |
| 871 | + | if imp == nil { | |
| 872 | + | // (includes package "C" when DisableCgo) | |
| 873 | + | importErr = fmt.Errorf("missing package: %q", ipkg.ID) | |
| 874 | + | } else if imp.color == grey { | |
| 875 | + | importErr = fmt.Errorf("import cycle: %s", stack) | |
| 876 | + | } | |
| 877 | + | if importErr != nil { | |
| 878 | + | if lpkg.importErrors == nil { | |
| 879 | + | lpkg.importErrors = make(map[string]error) | |
| 880 | + | } | |
| 881 | + | lpkg.importErrors[importPath] = importErr | |
| 882 | + | continue | |
| 883 | + | } | |
| 884 | + | ||
| 885 | + | if visit(lpkg, imp) { | |
| 886 | + | lpkg.needsrc = true | |
| 887 | + | } | |
| 888 | + | lpkg.Imports[importPath] = imp.Package | |
| 889 | + | } | |
| 890 | + | ||
| 891 | + | // -- postorder -- | |
| 892 | + | ||
| 893 | + | // Complete type information is required for the | |
| 894 | + | // immediate dependencies of each source package. | |
| 895 | + | if lpkg.needsrc && ld.Mode&NeedTypes != 0 { | |
| 896 | + | for _, ipkg := range lpkg.Imports { | |
| 897 | + | ld.pkgs[ipkg.ID].needtypes = true | |
| 898 | + | } | |
| 899 | + | } | |
| 900 | + | ||
| 901 | + | // NeedTypeSizes causes TypeSizes to be set even | |
| 902 | + | // on packages for which types aren't needed. | |
| 903 | + | if ld.Mode&NeedTypesSizes != 0 { | |
| 904 | + | lpkg.TypesSizes = ld.sizes | |
| 905 | + | } | |
| 906 | + | ||
| 907 | + | // Add packages with no imports directly to the queue of leaves. | |
| 908 | + | if len(lpkg.Imports) == 0 { | |
| 909 | + | leaves = append(leaves, lpkg) | |
| 910 | + | } | |
| 911 | + | ||
| 912 | + | stack = stack[:len(stack)-1] // pop | |
| 913 | + | lpkg.color = black | |
| 914 | + | } | |
| 915 | + | ||
| 916 | + | // Add edge from predecessor. | |
| 917 | + | if from != nil { | |
| 918 | + | from.unfinishedSuccs.Add(+1) // incref | |
| 919 | + | lpkg.preds = append(lpkg.preds, from) | |
| 920 | + | } | |
| 921 | + | ||
| 922 | + | return lpkg.needsrc | |
| 923 | + | } | |
| 924 | + | ||
| 925 | + | // For each initial package, create its import DAG. | |
| 926 | + | for _, lpkg := range initial { | |
| 927 | + | visit(nil, lpkg) | |
| 928 | + | } | |
| 929 | + | ||
| 930 | + | } else { | |
| 931 | + | // !NeedImports: drop the stub (ID-only) import packages | |
| 932 | + | // that we are not even going to try to resolve. | |
| 933 | + | for _, lpkg := range initial { | |
| 934 | + | lpkg.Imports = nil | |
| 935 | + | } | |
| 936 | + | } | |
| 937 | + | ||
| 938 | + | // Load type data and syntax if needed, starting at | |
| 939 | + | // the initial packages (roots of the import DAG). | |
| 940 | + | if ld.Mode&(NeedSyntax|NeedTypes|NeedTypesInfo) != 0 { | |
| 941 | + | ||
| 942 | + | // We avoid using g.SetLimit to limit concurrency as | |
| 943 | + | // it makes g.Go stop accepting work, which prevents | |
| 944 | + | // workers from enqeuing, and thus finishing, and thus | |
| 945 | + | // allowing the group to make progress: deadlock. | |
| 946 | + | // | |
| 947 | + | // Instead we use the ioLimit and cpuLimit semaphores. | |
| 948 | + | g, _ := errgroup.WithContext(ld.Context) | |
| 949 | + | ||
| 950 | + | // enqueues adds a package to the type-checking queue. | |
| 951 | + | // It must have no unfinished successors. | |
| 952 | + | var enqueue func(*loaderPackage) | |
| 953 | + | enqueue = func(lpkg *loaderPackage) { | |
| 954 | + | g.Go(func() error { | |
| 955 | + | // Parse and type-check. | |
| 956 | + | ld.loadPackage(lpkg) | |
| 957 | + | ||
| 958 | + | // Notify each waiting predecessor, | |
| 959 | + | // and enqueue it when it becomes a leaf. | |
| 960 | + | for _, pred := range lpkg.preds { | |
| 961 | + | if pred.unfinishedSuccs.Add(-1) == 0 { // decref | |
| 962 | + | enqueue(pred) | |
| 963 | + | } | |
| 964 | + | } | |
| 965 | + | ||
| 966 | + | return nil | |
| 967 | + | }) | |
| 968 | + | } | |
| 969 | + | ||
| 970 | + | // Load leaves first, adding new packages | |
| 971 | + | // to the queue as they become leaves. | |
| 972 | + | for _, leaf := range leaves { | |
| 973 | + | enqueue(leaf) | |
| 974 | + | } | |
| 975 | + | ||
| 976 | + | if err := g.Wait(); err != nil { | |
| 977 | + | return nil, err // cancelled | |
| 978 | + | } | |
| 979 | + | } | |
| 980 | + | ||
| 981 | + | // If the context is done, return its error and | |
| 982 | + | // throw out [likely] incomplete packages. | |
| 983 | + | if err := ld.Context.Err(); err != nil { | |
| 984 | + | return nil, err | |
| 985 | + | } | |
| 986 | + | ||
| 987 | + | result := make([]*Package, len(initial)) | |
| 988 | + | for i, lpkg := range initial { | |
| 989 | + | result[i] = lpkg.Package | |
| 990 | + | } | |
| 991 | + | for i := range ld.pkgs { | |
| 992 | + | // Clear all unrequested fields, | |
| 993 | + | // to catch programs that use more than they request. | |
| 994 | + | if ld.requestedMode&NeedName == 0 { | |
| 995 | + | ld.pkgs[i].Name = "" | |
| 996 | + | ld.pkgs[i].PkgPath = "" | |
| 997 | + | } | |
| 998 | + | if ld.requestedMode&NeedFiles == 0 { | |
| 999 | + | ld.pkgs[i].GoFiles = nil | |
| 1000 | + | ld.pkgs[i].OtherFiles = nil | |
| 1001 | + | ld.pkgs[i].IgnoredFiles = nil | |
| 1002 | + | } | |
| 1003 | + | if ld.requestedMode&NeedEmbedFiles == 0 { | |
| 1004 | + | ld.pkgs[i].EmbedFiles = nil | |
| 1005 | + | } | |
| 1006 | + | if ld.requestedMode&NeedEmbedPatterns == 0 { | |
| 1007 | + | ld.pkgs[i].EmbedPatterns = nil | |
| 1008 | + | } | |
| 1009 | + | if ld.requestedMode&NeedCompiledGoFiles == 0 { | |
| 1010 | + | ld.pkgs[i].CompiledGoFiles = nil | |
| 1011 | + | } | |
| 1012 | + | if ld.requestedMode&NeedImports == 0 { | |
| 1013 | + | ld.pkgs[i].Imports = nil | |
| 1014 | + | } | |
| 1015 | + | if ld.requestedMode&NeedExportFile == 0 { | |
| 1016 | + | ld.pkgs[i].ExportFile = "" | |
| 1017 | + | } | |
| 1018 | + | if ld.requestedMode&NeedTypes == 0 { | |
| 1019 | + | ld.pkgs[i].Types = nil | |
| 1020 | + | ld.pkgs[i].IllTyped = false | |
| 1021 | + | } | |
| 1022 | + | if ld.requestedMode&NeedSyntax == 0 { | |
| 1023 | + | ld.pkgs[i].Syntax = nil | |
| 1024 | + | } | |
| 1025 | + | if ld.requestedMode&(NeedSyntax|NeedTypes|NeedTypesInfo) == 0 { | |
| 1026 | + | ld.pkgs[i].Fset = nil | |
| 1027 | + | } | |
| 1028 | + | if ld.requestedMode&NeedTypesInfo == 0 { | |
| 1029 | + | ld.pkgs[i].TypesInfo = nil | |
| 1030 | + | } | |
| 1031 | + | if ld.requestedMode&NeedTypesSizes == 0 { | |
| 1032 | + | ld.pkgs[i].TypesSizes = nil | |
| 1033 | + | } | |
| 1034 | + | if ld.requestedMode&NeedModule == 0 { | |
| 1035 | + | ld.pkgs[i].Module = nil | |
| 1036 | + | } | |
| 1037 | + | } | |
| 1038 | + | ||
| 1039 | + | return result, nil | |
| 1040 | + | } | |
| 1041 | + | ||
| 1042 | + | // loadPackage loads/parses/typechecks the specified package. | |
| 1043 | + | // It must be called only once per Package, | |
| 1044 | + | // after immediate dependencies are loaded. | |
| 1045 | + | // Precondition: ld.Mode&(NeedSyntax|NeedTypes|NeedTypesInfo) != 0. | |
| 1046 | + | func (ld *loader) loadPackage(lpkg *loaderPackage) { | |
| 1047 | + | if lpkg.PkgPath == "unsafe" { | |
| 1048 | + | // To avoid surprises, fill in the blanks consistent | |
| 1049 | + | // with other packages. (For example, some analyzers | |
| 1050 | + | // assert that each needed types.Info map is non-nil | |
| 1051 | + | // even when there is no syntax that would cause them | |
| 1052 | + | // to consult the map.) | |
| 1053 | + | lpkg.Types = types.Unsafe | |
| 1054 | + | lpkg.Fset = ld.Fset | |
| 1055 | + | lpkg.Syntax = []*ast.File{} | |
| 1056 | + | lpkg.TypesInfo = ld.newTypesInfo() | |
| 1057 | + | lpkg.TypesSizes = ld.sizes | |
| 1058 | + | return | |
| 1059 | + | } | |
| 1060 | + | ||
| 1061 | + | // Call NewPackage directly with explicit name. | |
| 1062 | + | // This avoids skew between golist and go/types when the files' | |
| 1063 | + | // package declarations are inconsistent. | |
| 1064 | + | lpkg.Types = types.NewPackage(lpkg.PkgPath, lpkg.Name) | |
| 1065 | + | lpkg.Fset = ld.Fset | |
| 1066 | + | ||
| 1067 | + | // Start shutting down if the context is done and do not load | |
| 1068 | + | // source or export data files. | |
| 1069 | + | // Packages that import this one will have ld.Context.Err() != nil. | |
| 1070 | + | // ld.Context.Err() will be returned later by refine. | |
| 1071 | + | if ld.Context.Err() != nil { | |
| 1072 | + | return | |
| 1073 | + | } | |
| 1074 | + | ||
| 1075 | + | // Subtle: we populate all Types fields with an empty Package | |
| 1076 | + | // before loading export data so that export data processing | |
| 1077 | + | // never has to create a types.Package for an indirect dependency, | |
| 1078 | + | // which would then require that such created packages be explicitly | |
| 1079 | + | // inserted back into the Import graph as a final step after export data loading. | |
| 1080 | + | // (Hence this return is after the Types assignment.) | |
| 1081 | + | // The Diamond test exercises this case. | |
| 1082 | + | if !lpkg.needtypes && !lpkg.needsrc { | |
| 1083 | + | return | |
| 1084 | + | } | |
| 1085 | + | ||
| 1086 | + | // TODO(adonovan): this condition looks wrong: | |
| 1087 | + | // I think it should be lpkg.needtypes && !lpkg.needsrc, | |
| 1088 | + | // so that NeedSyntax without NeedTypes can be satisfied by export data. | |
| 1089 | + | if !lpkg.needsrc { | |
| 1090 | + | if err := ld.loadFromExportData(lpkg); err != nil { | |
| 1091 | + | lpkg.exportDataError = err | |
| 1092 | + | lpkg.Errors = append(lpkg.Errors, Error{ | |
| 1093 | + | Pos: "-", | |
| 1094 | + | Msg: err.Error(), | |
| 1095 | + | Kind: UnknownError, // e.g. can't find/open/parse export data | |
| 1096 | + | }) | |
| 1097 | + | } | |
| 1098 | + | return // not a source package, don't get syntax trees | |
| 1099 | + | } | |
| 1100 | + | ||
| 1101 | + | appendError := func(err error) { | |
| 1102 | + | // Convert various error types into the one true Error. | |
| 1103 | + | var errs []Error | |
| 1104 | + | switch err := err.(type) { | |
| 1105 | + | case Error: | |
| 1106 | + | // from driver | |
| 1107 | + | errs = append(errs, err) | |
| 1108 | + | ||
| 1109 | + | case *os.PathError: | |
| 1110 | + | // from parser | |
| 1111 | + | errs = append(errs, Error{ | |
| 1112 | + | Pos: err.Path + ":1", | |
| 1113 | + | Msg: err.Err.Error(), | |
| 1114 | + | Kind: ParseError, | |
| 1115 | + | }) | |
| 1116 | + | ||
| 1117 | + | case scanner.ErrorList: | |
| 1118 | + | // from parser | |
| 1119 | + | for _, err := range err { | |
| 1120 | + | errs = append(errs, Error{ | |
| 1121 | + | Pos: err.Pos.String(), | |
| 1122 | + | Msg: err.Msg, | |
| 1123 | + | Kind: ParseError, | |
| 1124 | + | }) | |
| 1125 | + | } | |
| 1126 | + | ||
| 1127 | + | case types.Error: | |
| 1128 | + | // from type checker | |
| 1129 | + | lpkg.TypeErrors = append(lpkg.TypeErrors, err) | |
| 1130 | + | errs = append(errs, Error{ | |
| 1131 | + | Pos: err.Fset.Position(err.Pos).String(), | |
| 1132 | + | Msg: err.Msg, | |
| 1133 | + | Kind: TypeError, | |
| 1134 | + | }) | |
| 1135 | + | ||
| 1136 | + | default: | |
| 1137 | + | // unexpected impoverished error from parser? | |
| 1138 | + | errs = append(errs, Error{ | |
| 1139 | + | Pos: "-", | |
| 1140 | + | Msg: err.Error(), | |
| 1141 | + | Kind: UnknownError, | |
| 1142 | + | }) | |
| 1143 | + | ||
| 1144 | + | // If you see this error message, please file a bug. | |
| 1145 | + | log.Printf("internal error: error %q (%T) without position", err, err) | |
| 1146 | + | } | |
| 1147 | + | ||
| 1148 | + | lpkg.Errors = append(lpkg.Errors, errs...) | |
| 1149 | + | } | |
| 1150 | + | ||
| 1151 | + | // If the go command on the PATH is newer than the runtime, | |
| 1152 | + | // then the go/{scanner,ast,parser,types} packages from the | |
| 1153 | + | // standard library may be unable to process the files | |
| 1154 | + | // selected by go list. | |
| 1155 | + | // | |
| 1156 | + | // There is currently no way to downgrade the effective | |
| 1157 | + | // version of the go command (see issue 52078), so we proceed | |
| 1158 | + | // with the newer go command but, in case of parse or type | |
| 1159 | + | // errors, we emit an additional diagnostic. | |
| 1160 | + | // | |
| 1161 | + | // See: | |
| 1162 | + | // - golang.org/issue/52078 (flag to set release tags) | |
| 1163 | + | // - golang.org/issue/50825 (gopls legacy version support) | |
| 1164 | + | // - golang.org/issue/55883 (go/packages confusing error) | |
| 1165 | + | // | |
| 1166 | + | // Should we assert a hard minimum of (currently) go1.16 here? | |
| 1167 | + | var runtimeVersion int | |
| 1168 | + | if _, err := fmt.Sscanf(runtime.Version(), "go1.%d", &runtimeVersion); err == nil && runtimeVersion < lpkg.goVersion { | |
| 1169 | + | defer func() { | |
| 1170 | + | if len(lpkg.Errors) > 0 { | |
| 1171 | + | appendError(Error{ | |
| 1172 | + | Pos: "-", | |
| 1173 | + | Msg: fmt.Sprintf("This application uses version go1.%d of the source-processing packages but runs version go1.%d of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.", runtimeVersion, lpkg.goVersion), | |
| 1174 | + | Kind: UnknownError, | |
| 1175 | + | }) | |
| 1176 | + | } | |
| 1177 | + | }() | |
| 1178 | + | } | |
| 1179 | + | ||
| 1180 | + | if ld.Config.Mode&NeedTypes != 0 && len(lpkg.CompiledGoFiles) == 0 && lpkg.ExportFile != "" { | |
| 1181 | + | // The config requested loading sources and types, but sources are missing. | |
| 1182 | + | // Add an error to the package and fall back to loading from export data. | |
| 1183 | + | appendError(Error{"-", fmt.Sprintf("sources missing for package %s", lpkg.ID), ParseError}) | |
| 1184 | + | _ = ld.loadFromExportData(lpkg) // ignore any secondary errors | |
| 1185 | + | ||
| 1186 | + | return // can't get syntax trees for this package | |
| 1187 | + | } | |
| 1188 | + | ||
| 1189 | + | files, errs := ld.parseFiles(lpkg.CompiledGoFiles) | |
| 1190 | + | for _, err := range errs { | |
| 1191 | + | appendError(err) | |
| 1192 | + | } | |
| 1193 | + | ||
| 1194 | + | lpkg.Syntax = files | |
| 1195 | + | if ld.Config.Mode&(NeedTypes|NeedTypesInfo) == 0 { | |
| 1196 | + | return | |
| 1197 | + | } | |
| 1198 | + | ||
| 1199 | + | // Start shutting down if the context is done and do not type check. | |
| 1200 | + | // Packages that import this one will have ld.Context.Err() != nil. | |
| 1201 | + | // ld.Context.Err() will be returned later by refine. | |
| 1202 | + | if ld.Context.Err() != nil { | |
| 1203 | + | return | |
| 1204 | + | } | |
| 1205 | + | ||
| 1206 | + | lpkg.TypesInfo = ld.newTypesInfo() | |
| 1207 | + | lpkg.TypesSizes = ld.sizes | |
| 1208 | + | ||
| 1209 | + | importer := importerFunc(func(path string) (*types.Package, error) { | |
| 1210 | + | if path == "unsafe" { | |
| 1211 | + | return types.Unsafe, nil | |
| 1212 | + | } | |
| 1213 | + | ||
| 1214 | + | // The imports map is keyed by import path. | |
| 1215 | + | ipkg := lpkg.Imports[path] | |
| 1216 | + | if ipkg == nil { | |
| 1217 | + | if err := lpkg.importErrors[path]; err != nil { | |
| 1218 | + | return nil, err | |
| 1219 | + | } | |
| 1220 | + | // There was skew between the metadata and the | |
| 1221 | + | // import declarations, likely due to an edit | |
| 1222 | + | // race, or because the ParseFile feature was | |
| 1223 | + | // used to supply alternative file contents. | |
| 1224 | + | return nil, fmt.Errorf("no metadata for %s", path) | |
| 1225 | + | } | |
| 1226 | + | ||
| 1227 | + | if ipkg.Types != nil && ipkg.Types.Complete() { | |
| 1228 | + | return ipkg.Types, nil | |
| 1229 | + | } | |
| 1230 | + | ||
| 1231 | + | // If types are unavailable, there must be an export data error. | |
| 1232 | + | if ipkg.exportDataError != nil { | |
| 1233 | + | return nil, ipkg.exportDataError | |
| 1234 | + | } | |
| 1235 | + | ||
| 1236 | + | log.Fatalf("internal error: expected complete types for package %q", path) | |
| 1237 | + | panic("unreachable") | |
| 1238 | + | }) | |
| 1239 | + | ||
| 1240 | + | // type-check | |
| 1241 | + | tc := &types.Config{ | |
| 1242 | + | Importer: importer, | |
| 1243 | + | ||
| 1244 | + | // Type-check bodies of functions only in initial packages. | |
| 1245 | + | // Example: for import graph A->B->C and initial packages {A,C}, | |
| 1246 | + | // we can ignore function bodies in B. | |
| 1247 | + | IgnoreFuncBodies: ld.Mode&NeedDeps == 0 && !lpkg.initial, | |
| 1248 | + | ||
| 1249 | + | Error: appendError, | |
| 1250 | + | Sizes: ld.sizes, // may be nil | |
| 1251 | + | } | |
| 1252 | + | if lpkg.Module != nil && lpkg.Module.GoVersion != "" { | |
| 1253 | + | tc.GoVersion = "go" + lpkg.Module.GoVersion | |
| 1254 | + | } else if ld.externalDriver && lpkg.goVersion != 0 { | |
| 1255 | + | // Module information is missing when GOPACKAGESDRIVER is used, | |
| 1256 | + | // so use the go version from the driver response. | |
| 1257 | + | tc.GoVersion = fmt.Sprintf("go1.%d", lpkg.goVersion) | |
| 1258 | + | } | |
| 1259 | + | if (ld.Mode & typecheckCgo) != 0 { | |
| 1260 | + | if !typesinternal.SetUsesCgo(tc) { | |
| 1261 | + | appendError(Error{ | |
| 1262 | + | Msg: "typecheckCgo requires Go 1.15+", | |
| 1263 | + | Kind: ListError, | |
| 1264 | + | }) | |
| 1265 | + | return | |
| 1266 | + | } | |
| 1267 | + | } | |
| 1268 | + | ||
| 1269 | + | // Type-checking is CPU intensive. | |
| 1270 | + | cpuLimit <- unit{} // acquire a token | |
| 1271 | + | defer func() { <-cpuLimit }() // release a token | |
| 1272 | + | ||
| 1273 | + | typErr := types.NewChecker(tc, ld.Fset, lpkg.Types, lpkg.TypesInfo).Files(lpkg.Syntax) | |
| 1274 | + | lpkg.importErrors = nil // no longer needed | |
| 1275 | + | ||
| 1276 | + | // In go/types go1.21 and go1.22, Checker.Files failed fast with a | |
| 1277 | + | // a "too new" error, without calling tc.Error and without | |
| 1278 | + | // proceeding to type-check the package (#66525). | |
| 1279 | + | // We rely on the runtimeVersion error to give the suggested remedy. | |
| 1280 | + | if typErr != nil && len(lpkg.Errors) == 0 && len(lpkg.Syntax) > 0 { | |
| 1281 | + | if msg := typErr.Error(); strings.HasPrefix(msg, "package requires newer Go version") { | |
| 1282 | + | appendError(types.Error{ | |
| 1283 | + | Fset: ld.Fset, | |
| 1284 | + | Pos: lpkg.Syntax[0].Package, | |
| 1285 | + | Msg: msg, | |
| 1286 | + | }) | |
| 1287 | + | } | |
| 1288 | + | } | |
| 1289 | + | ||
| 1290 | + | // If !Cgo, the type-checker uses FakeImportC mode, so | |
| 1291 | + | // it doesn't invoke the importer for import "C", | |
| 1292 | + | // nor report an error for the import, | |
| 1293 | + | // or for any undefined C.f reference. | |
| 1294 | + | // We must detect this explicitly and correctly | |
| 1295 | + | // mark the package as IllTyped (by reporting an error). | |
| 1296 | + | // TODO(adonovan): if these errors are annoying, | |
| 1297 | + | // we could just set IllTyped quietly. | |
| 1298 | + | if tc.FakeImportC { | |
| 1299 | + | outer: | |
| 1300 | + | for _, f := range lpkg.Syntax { | |
| 1301 | + | for _, imp := range f.Imports { | |
| 1302 | + | if imp.Path.Value == `"C"` { | |
| 1303 | + | err := types.Error{Fset: ld.Fset, Pos: imp.Pos(), Msg: `import "C" ignored`} | |
| 1304 | + | appendError(err) | |
| 1305 | + | break outer | |
| 1306 | + | } | |
| 1307 | + | } | |
| 1308 | + | } | |
| 1309 | + | } | |
| 1310 | + | ||
| 1311 | + | // If types.Checker.Files had an error that was unreported, | |
| 1312 | + | // make sure to report the unknown error so the package is illTyped. | |
| 1313 | + | if typErr != nil && len(lpkg.Errors) == 0 { | |
| 1314 | + | appendError(typErr) | |
| 1315 | + | } | |
| 1316 | + | ||
| 1317 | + | // Record accumulated errors. | |
| 1318 | + | illTyped := len(lpkg.Errors) > 0 | |
| 1319 | + | if !illTyped { | |
| 1320 | + | for _, imp := range lpkg.Imports { | |
| 1321 | + | if imp.IllTyped { | |
| 1322 | + | illTyped = true | |
| 1323 | + | break | |
| 1324 | + | } | |
| 1325 | + | } | |
| 1326 | + | } | |
| 1327 | + | lpkg.IllTyped = illTyped | |
| 1328 | + | } | |
| 1329 | + | ||
| 1330 | + | func (ld *loader) newTypesInfo() *types.Info { | |
| 1331 | + | // Populate TypesInfo only if needed, as it | |
| 1332 | + | // causes the type checker to work much harder. | |
| 1333 | + | if ld.Config.Mode&NeedTypesInfo == 0 { | |
| 1334 | + | return nil | |
| 1335 | + | } | |
| 1336 | + | return &types.Info{ | |
| 1337 | + | Types: make(map[ast.Expr]types.TypeAndValue), | |
| 1338 | + | Defs: make(map[*ast.Ident]types.Object), | |
| 1339 | + | Uses: make(map[*ast.Ident]types.Object), | |
| 1340 | + | Implicits: make(map[ast.Node]types.Object), | |
| 1341 | + | Instances: make(map[*ast.Ident]types.Instance), | |
| 1342 | + | Scopes: make(map[ast.Node]*types.Scope), | |
| 1343 | + | Selections: make(map[*ast.SelectorExpr]*types.Selection), | |
| 1344 | + | FileVersions: make(map[*ast.File]string), | |
| 1345 | + | } | |
| 1346 | + | } | |
| 1347 | + | ||
| 1348 | + | // An importFunc is an implementation of the single-method | |
| 1349 | + | // types.Importer interface based on a function value. | |
| 1350 | + | type importerFunc func(path string) (*types.Package, error) | |
| 1351 | + | ||
| 1352 | + | func (f importerFunc) Import(path string) (*types.Package, error) { return f(path) } | |
| 1353 | + | ||
| 1354 | + | // We use a counting semaphore to limit | |
| 1355 | + | // the number of parallel I/O calls or CPU threads per process. | |
| 1356 | + | var ( | |
| 1357 | + | ioLimit = make(chan unit, 20) | |
| 1358 | + | cpuLimit = make(chan unit, runtime.GOMAXPROCS(0)) | |
| 1359 | + | ) | |
| 1360 | + | ||
| 1361 | + | func (ld *loader) parseFile(filename string) (*ast.File, error) { | |
| 1362 | + | ld.parseCacheMu.Lock() | |
| 1363 | + | v, ok := ld.parseCache[filename] | |
| 1364 | + | if ok { | |
| 1365 | + | // cache hit | |
| 1366 | + | ld.parseCacheMu.Unlock() | |
| 1367 | + | <-v.ready | |
| 1368 | + | } else { | |
| 1369 | + | // cache miss | |
| 1370 | + | v = &parseValue{ready: make(chan struct{})} | |
| 1371 | + | ld.parseCache[filename] = v | |
| 1372 | + | ld.parseCacheMu.Unlock() | |
| 1373 | + | ||
| 1374 | + | var src []byte | |
| 1375 | + | for f, contents := range ld.Config.Overlay { | |
| 1376 | + | // TODO(adonovan): Inefficient for large overlays. | |
| 1377 | + | // Do an exact name-based map lookup | |
| 1378 | + | // (for nonexistent files) followed by a | |
| 1379 | + | // FileID-based map lookup (for existing ones). | |
| 1380 | + | if sameFile(f, filename) { | |
| 1381 | + | src = contents | |
| 1382 | + | break | |
| 1383 | + | } | |
| 1384 | + | } | |
| 1385 | + | var err error | |
| 1386 | + | if src == nil { | |
| 1387 | + | ioLimit <- unit{} // acquire a token | |
| 1388 | + | src, err = os.ReadFile(filename) | |
| 1389 | + | <-ioLimit // release a token | |
| 1390 | + | } | |
| 1391 | + | if err != nil { | |
| 1392 | + | v.err = err | |
| 1393 | + | } else { | |
| 1394 | + | // Parsing is CPU intensive. | |
| 1395 | + | cpuLimit <- unit{} // acquire a token | |
| 1396 | + | v.f, v.err = ld.ParseFile(ld.Fset, filename, src) | |
| 1397 | + | <-cpuLimit // release a token | |
| 1398 | + | } | |
| 1399 | + | ||
| 1400 | + | close(v.ready) | |
| 1401 | + | } | |
| 1402 | + | return v.f, v.err | |
| 1403 | + | } | |
| 1404 | + | ||
| 1405 | + | // parseFiles reads and parses the Go source files and returns the ASTs | |
| 1406 | + | // of the ones that could be at least partially parsed, along with a | |
| 1407 | + | // list of I/O and parse errors encountered. | |
| 1408 | + | // | |
| 1409 | + | // Because files are scanned in parallel, the token.Pos | |
| 1410 | + | // positions of the resulting ast.Files are not ordered. | |
| 1411 | + | func (ld *loader) parseFiles(filenames []string) ([]*ast.File, []error) { | |
| 1412 | + | var ( | |
| 1413 | + | n = len(filenames) | |
| 1414 | + | parsed = make([]*ast.File, n) | |
| 1415 | + | errors = make([]error, n) | |
| 1416 | + | ) | |
| 1417 | + | var g errgroup.Group | |
| 1418 | + | for i, filename := range filenames { | |
| 1419 | + | // This creates goroutines unnecessarily in the | |
| 1420 | + | // cache-hit case, but that case is uncommon. | |
| 1421 | + | g.Go(func() error { | |
| 1422 | + | parsed[i], errors[i] = ld.parseFile(filename) | |
| 1423 | + | return nil | |
| 1424 | + | }) | |
| 1425 | + | } | |
| 1426 | + | g.Wait() | |
| 1427 | + | ||
| 1428 | + | // Eliminate nils, preserving order. | |
| 1429 | + | var o int | |
| 1430 | + | for _, f := range parsed { | |
| 1431 | + | if f != nil { | |
| 1432 | + | parsed[o] = f | |
| 1433 | + | o++ | |
| 1434 | + | } | |
| 1435 | + | } | |
| 1436 | + | parsed = parsed[:o] | |
| 1437 | + | ||
| 1438 | + | o = 0 | |
| 1439 | + | for _, err := range errors { | |
| 1440 | + | if err != nil { | |
| 1441 | + | errors[o] = err | |
| 1442 | + | o++ | |
| 1443 | + | } | |
| 1444 | + | } | |
| 1445 | + | errors = errors[:o] | |
| 1446 | + | ||
| 1447 | + | return parsed, errors | |
| 1448 | + | } | |
| 1449 | + | ||
| 1450 | + | // sameFile returns true if x and y have the same basename and denote | |
| 1451 | + | // the same file. | |
| 1452 | + | func sameFile(x, y string) bool { | |
| 1453 | + | if x == y { | |
| 1454 | + | // It could be the case that y doesn't exist. | |
| 1455 | + | // For instance, it may be an overlay file that | |
| 1456 | + | // hasn't been written to disk. To handle that case | |
| 1457 | + | // let x == y through. (We added the exact absolute path | |
| 1458 | + | // string to the CompiledGoFiles list, so the unwritten | |
| 1459 | + | // overlay case implies x==y.) | |
| 1460 | + | return true | |
| 1461 | + | } | |
| 1462 | + | if strings.EqualFold(filepath.Base(x), filepath.Base(y)) { // (optimisation) | |
| 1463 | + | if xi, err := os.Stat(x); err == nil { | |
| 1464 | + | if yi, err := os.Stat(y); err == nil { | |
| 1465 | + | return os.SameFile(xi, yi) | |
| 1466 | + | } | |
| 1467 | + | } | |
| 1468 | + | } | |
| 1469 | + | return false | |
| 1470 | + | } | |
| 1471 | + | ||
| 1472 | + | // loadFromExportData ensures that type information is present for the specified | |
| 1473 | + | // package, loading it from an export data file on the first request. | |
| 1474 | + | // On success it sets lpkg.Types to a new Package. | |
| 1475 | + | func (ld *loader) loadFromExportData(lpkg *loaderPackage) error { | |
| 1476 | + | if lpkg.PkgPath == "" { | |
| 1477 | + | log.Fatalf("internal error: Package %s has no PkgPath", lpkg) | |
| 1478 | + | } | |
| 1479 | + | ||
| 1480 | + | // Because gcexportdata.Read has the potential to create or | |
| 1481 | + | // modify the types.Package for each node in the transitive | |
| 1482 | + | // closure of dependencies of lpkg, all exportdata operations | |
| 1483 | + | // must be sequential. (Finer-grained locking would require | |
| 1484 | + | // changes to the gcexportdata API.) | |
| 1485 | + | // | |
| 1486 | + | // The exportMu lock guards the lpkg.Types field and the | |
| 1487 | + | // types.Package it points to, for each loaderPackage in the graph. | |
| 1488 | + | // | |
| 1489 | + | // Not all accesses to Package.Pkg need to be protected by exportMu: | |
| 1490 | + | // graph ordering ensures that direct dependencies of source | |
| 1491 | + | // packages are fully loaded before the importer reads their Pkg field. | |
| 1492 | + | ld.exportMu.Lock() | |
| 1493 | + | defer ld.exportMu.Unlock() | |
| 1494 | + | ||
| 1495 | + | if tpkg := lpkg.Types; tpkg != nil && tpkg.Complete() { | |
| 1496 | + | return nil // cache hit | |
| 1497 | + | } | |
| 1498 | + | ||
| 1499 | + | lpkg.IllTyped = true // fail safe | |
| 1500 | + | ||
| 1501 | + | if lpkg.ExportFile == "" { | |
| 1502 | + | // Errors while building export data will have been printed to stderr. | |
| 1503 | + | return fmt.Errorf("no export data file") | |
| 1504 | + | } | |
| 1505 | + | f, err := os.Open(lpkg.ExportFile) | |
| 1506 | + | if err != nil { | |
| 1507 | + | return err | |
| 1508 | + | } | |
| 1509 | + | defer f.Close() | |
| 1510 | + | ||
| 1511 | + | // Read gc export data. | |
| 1512 | + | // | |
| 1513 | + | // We don't currently support gccgo export data because all | |
| 1514 | + | // underlying workspaces use the gc toolchain. (Even build | |
| 1515 | + | // systems that support gccgo don't use it for workspace | |
| 1516 | + | // queries.) | |
| 1517 | + | r, err := gcexportdata.NewReader(f) | |
| 1518 | + | if err != nil { | |
| 1519 | + | return fmt.Errorf("reading %s: %v", lpkg.ExportFile, err) | |
| 1520 | + | } | |
| 1521 | + | ||
| 1522 | + | // Build the view. | |
| 1523 | + | // | |
| 1524 | + | // The gcexportdata machinery has no concept of package ID. | |
| 1525 | + | // It identifies packages by their PkgPath, which although not | |
| 1526 | + | // globally unique is unique within the scope of one invocation | |
| 1527 | + | // of the linker, type-checker, or gcexportdata. | |
| 1528 | + | // | |
| 1529 | + | // So, we must build a PkgPath-keyed view of the global | |
| 1530 | + | // (conceptually ID-keyed) cache of packages and pass it to | |
| 1531 | + | // gcexportdata. The view must contain every existing | |
| 1532 | + | // package that might possibly be mentioned by the | |
| 1533 | + | // current package---its transitive closure. | |
| 1534 | + | // | |
| 1535 | + | // In loadPackage, we unconditionally create a types.Package for | |
| 1536 | + | // each dependency so that export data loading does not | |
| 1537 | + | // create new ones. | |
| 1538 | + | // | |
| 1539 | + | // TODO(adonovan): it would be simpler and more efficient | |
| 1540 | + | // if the export data machinery invoked a callback to | |
| 1541 | + | // get-or-create a package instead of a map. | |
| 1542 | + | // | |
| 1543 | + | view := make(map[string]*types.Package) // view seen by gcexportdata | |
| 1544 | + | seen := make(map[*loaderPackage]bool) // all visited packages | |
| 1545 | + | var visit func(pkgs map[string]*Package) | |
| 1546 | + | visit = func(pkgs map[string]*Package) { | |
| 1547 | + | for _, p := range pkgs { | |
| 1548 | + | lpkg := ld.pkgs[p.ID] | |
| 1549 | + | if !seen[lpkg] { | |
| 1550 | + | seen[lpkg] = true | |
| 1551 | + | view[lpkg.PkgPath] = lpkg.Types | |
| 1552 | + | visit(lpkg.Imports) | |
| 1553 | + | } | |
| 1554 | + | } | |
| 1555 | + | } | |
| 1556 | + | visit(lpkg.Imports) | |
| 1557 | + | ||
| 1558 | + | viewLen := len(view) + 1 // adding the self package | |
| 1559 | + | // Parse the export data. | |
| 1560 | + | // (May modify incomplete packages in view but not create new ones.) | |
| 1561 | + | tpkg, err := gcexportdata.Read(r, ld.Fset, view, lpkg.PkgPath) | |
| 1562 | + | if err != nil { | |
| 1563 | + | return fmt.Errorf("reading %s: %v", lpkg.ExportFile, err) | |
| 1564 | + | } | |
| 1565 | + | if _, ok := view["go.shape"]; ok { | |
| 1566 | + | // Account for the pseudopackage "go.shape" that gets | |
| 1567 | + | // created by generic code. | |
| 1568 | + | viewLen++ | |
| 1569 | + | } | |
| 1570 | + | if viewLen != len(view) { | |
| 1571 | + | log.Panicf("golang.org/x/tools/go/packages: unexpected new packages during load of %s", lpkg.PkgPath) | |
| 1572 | + | } | |
| 1573 | + | ||
| 1574 | + | lpkg.Types = tpkg | |
| 1575 | + | lpkg.IllTyped = false | |
| 1576 | + | return nil | |
| 1577 | + | } | |
| 1578 | + | ||
| 1579 | + | // impliedLoadMode returns loadMode with its dependencies. | |
| 1580 | + | func impliedLoadMode(loadMode LoadMode) LoadMode { | |
| 1581 | + | if loadMode&(NeedDeps|NeedTypes|NeedTypesInfo) != 0 { | |
| 1582 | + | // All these things require knowing the import graph. | |
| 1583 | + | loadMode |= NeedImports | |
| 1584 | + | } | |
| 1585 | + | if loadMode&NeedTypes != 0 { | |
| 1586 | + | // Types require the GoVersion from Module. | |
| 1587 | + | loadMode |= NeedModule | |
| 1588 | + | } | |
| 1589 | + | ||
| 1590 | + | return loadMode | |
| 1591 | + | } | |
| 1592 | + | ||
| 1593 | + | func usesExportData(cfg *Config) bool { | |
| 1594 | + | return cfg.Mode&NeedExportFile != 0 || cfg.Mode&NeedTypes != 0 && cfg.Mode&NeedDeps == 0 | |
| 1595 | + | } | |
| 1596 | + | ||
| 1597 | + | type unit struct{} | |
| 1598 | + | ||
| 1599 | + | func cond[T any](cond bool, t, f T) T { | |
| 1600 | + | if cond { | |
| 1601 | + | return t | |
| 1602 | + | } else { | |
| 1603 | + | return f | |
| 1604 | + | } | |
| 1605 | + | } | |
| @@ -0,0 +1,1605 @@ | |||||
| 1 | + | // Copyright 2018 The Go Authors. All rights reserved. | |||
| 2 | + | // Use of this source code is governed by a BSD-style | |||
| 3 | + | // license that can be found in the LICENSE file. | |||
| 4 | + | ||||
| 5 | + | package packages | |||
| 6 | + | ||||
| 7 | + | // See doc.go for package documentation and implementation notes. | |||
| 8 | + | ||||
| 9 | + | import ( | |||
| 10 | + | "context" | |||
| 11 | + | "encoding/json" | |||
| 12 | + | "errors" | |||
| 13 | + | "fmt" | |||
| 14 | + | "go/ast" | |||
| 15 | + | "go/parser" | |||
| 16 | + | "go/scanner" | |||
| 17 | + | "go/token" | |||
| 18 | + | "go/types" | |||
| 19 | + | "log" | |||
| 20 | + | "os" | |||
| 21 | + | "path/filepath" | |||
| 22 | + | "runtime" | |||
| 23 | + | "strings" | |||
| 24 | + | "sync" | |||
| 25 | + | "sync/atomic" | |||
| 26 | + | "time" | |||
| 27 | + | ||||
| 28 | + | "golang.org/x/sync/errgroup" | |||
| 29 | + | ||||
| 30 | + | "golang.org/x/tools/go/gcexportdata" | |||
| 31 | + | "golang.org/x/tools/internal/gocommand" | |||
| 32 | + | "golang.org/x/tools/internal/packagesinternal" | |||
| 33 | + | "golang.org/x/tools/internal/typesinternal" | |||
| 34 | + | ) | |||
| 35 | + | ||||
| 36 | + | // A LoadMode controls the amount of detail to return when loading. | |||
| 37 | + | // The bits below can be combined to specify which fields should be | |||
| 38 | + | // filled in the result packages. | |||
| 39 | + | // | |||
| 40 | + | // The zero value is a special case, equivalent to combining | |||
| 41 | + | // the NeedName, NeedFiles, and NeedCompiledGoFiles bits. | |||
| 42 | + | // | |||
| 43 | + | // ID and Errors (if present) will always be filled. | |||
| 44 | + | // [Load] may return more information than requested. | |||
| 45 | + | // | |||
| 46 | + | // The Mode flag is a union of several bits named NeedName, | |||
| 47 | + | // NeedFiles, and so on, each of which determines whether | |||
| 48 | + | // a given field of Package (Name, Files, etc) should be | |||
| 49 | + | // populated. | |||
| 50 | + | // | |||
| 51 | + | // For convenience, we provide named constants for the most | |||
| 52 | + | // common combinations of Need flags: | |||
| 53 | + | // | |||
| 54 | + | // [LoadFiles] lists of files in each package | |||
| 55 | + | // [LoadImports] ... plus imports | |||
| 56 | + | // [LoadTypes] ... plus type information | |||
| 57 | + | // [LoadSyntax] ... plus type-annotated syntax | |||
| 58 | + | // [LoadAllSyntax] ... for all dependencies | |||
| 59 | + | // | |||
| 60 | + | // Unfortunately there are a number of open bugs related to | |||
| 61 | + | // interactions among the LoadMode bits: | |||
| 62 | + | // - https://go.dev/issue/56633 | |||
| 63 | + | // - https://go.dev/issue/56677 | |||
| 64 | + | // - https://go.dev/issue/58726 | |||
| 65 | + | // - https://go.dev/issue/63517 | |||
| 66 | + | type LoadMode int | |||
| 67 | + | ||||
| 68 | + | const ( | |||
| 69 | + | // NeedName adds Name and PkgPath. | |||
| 70 | + | NeedName LoadMode = 1 << iota | |||
| 71 | + | ||||
| 72 | + | // NeedFiles adds Dir, GoFiles, OtherFiles, and IgnoredFiles | |||
| 73 | + | NeedFiles | |||
| 74 | + | ||||
| 75 | + | // NeedCompiledGoFiles adds CompiledGoFiles. | |||
| 76 | + | NeedCompiledGoFiles | |||
| 77 | + | ||||
| 78 | + | // NeedImports adds Imports. If NeedDeps is not set, the Imports field will contain | |||
| 79 | + | // "placeholder" Packages with only the ID set. | |||
| 80 | + | NeedImports | |||
| 81 | + | ||||
| 82 | + | // NeedDeps adds the fields requested by the LoadMode in the packages in Imports. | |||
| 83 | + | NeedDeps | |||
| 84 | + | ||||
| 85 | + | // NeedExportFile adds ExportFile. | |||
| 86 | + | NeedExportFile | |||
| 87 | + | ||||
| 88 | + | // NeedTypes adds Types, Fset, and IllTyped. | |||
| 89 | + | NeedTypes | |||
| 90 | + | ||||
| 91 | + | // NeedSyntax adds Syntax and Fset. | |||
| 92 | + | NeedSyntax | |||
| 93 | + | ||||
| 94 | + | // NeedTypesInfo adds TypesInfo and Fset. | |||
| 95 | + | NeedTypesInfo | |||
| 96 | + | ||||
| 97 | + | // NeedTypesSizes adds TypesSizes. | |||
| 98 | + | NeedTypesSizes | |||
| 99 | + | ||||
| 100 | + | // needInternalDepsErrors adds the internal deps errors field for use by gopls. | |||
| 101 | + | needInternalDepsErrors | |||
| 102 | + | ||||
| 103 | + | // NeedForTest adds ForTest. | |||
| 104 | + | // | |||
| 105 | + | // Tests must also be set on the context for this field to be populated. | |||
| 106 | + | NeedForTest | |||
| 107 | + | ||||
| 108 | + | // typecheckCgo enables full support for type checking cgo. Requires Go 1.15+. | |||
| 109 | + | // Modifies CompiledGoFiles and Types, and has no effect on its own. | |||
| 110 | + | typecheckCgo | |||
| 111 | + | ||||
| 112 | + | // NeedModule adds Module. | |||
| 113 | + | NeedModule | |||
| 114 | + | ||||
| 115 | + | // NeedEmbedFiles adds EmbedFiles. | |||
| 116 | + | NeedEmbedFiles | |||
| 117 | + | ||||
| 118 | + | // NeedEmbedPatterns adds EmbedPatterns. | |||
| 119 | + | NeedEmbedPatterns | |||
| 120 | + | ||||
| 121 | + | // NeedTarget adds Target. | |||
| 122 | + | NeedTarget | |||
| 123 | + | ||||
| 124 | + | // Be sure to update loadmode_string.go when adding new items! | |||
| 125 | + | ) | |||
| 126 | + | ||||
| 127 | + | const ( | |||
| 128 | + | // LoadFiles loads the name and file names for the initial packages. | |||
| 129 | + | LoadFiles = NeedName | NeedFiles | NeedCompiledGoFiles | |||
| 130 | + | ||||
| 131 | + | // LoadImports loads the name, file names, and import mapping for the initial packages. | |||
| 132 | + | LoadImports = LoadFiles | NeedImports | |||
| 133 | + | ||||
| 134 | + | // LoadTypes loads exported type information for the initial packages. | |||
| 135 | + | LoadTypes = LoadImports | NeedTypes | NeedTypesSizes | |||
| 136 | + | ||||
| 137 | + | // LoadSyntax loads typed syntax for the initial packages. | |||
| 138 | + | LoadSyntax = LoadTypes | NeedSyntax | NeedTypesInfo | |||
| 139 | + | ||||
| 140 | + | // LoadAllSyntax loads typed syntax for the initial packages and all dependencies. | |||
| 141 | + | LoadAllSyntax = LoadSyntax | NeedDeps | |||
| 142 | + | ||||
| 143 | + | // Deprecated: NeedExportsFile is a historical misspelling of NeedExportFile. | |||
| 144 | + | // | |||
| 145 | + | //go:fix inline | |||
| 146 | + | NeedExportsFile = NeedExportFile | |||
| 147 | + | ) | |||
| 148 | + | ||||
| 149 | + | // A Config specifies details about how packages should be loaded. | |||
| 150 | + | // The zero value is a valid configuration. | |||
| 151 | + | // | |||
| 152 | + | // Calls to [Load] do not modify this struct. | |||
| 153 | + | type Config struct { | |||
| 154 | + | // Mode controls the level of information returned for each package. | |||
| 155 | + | Mode LoadMode | |||
| 156 | + | ||||
| 157 | + | // Context specifies the context for the load operation. | |||
| 158 | + | // Cancelling the context may cause [Load] to abort and | |||
| 159 | + | // return an error. | |||
| 160 | + | Context context.Context | |||
| 161 | + | ||||
| 162 | + | // Logf is the logger for the config. | |||
| 163 | + | // If the user provides a logger, debug logging is enabled. | |||
| 164 | + | // If the GOPACKAGESDEBUG environment variable is set to true, | |||
| 165 | + | // but the logger is nil, default to log.Printf. | |||
| 166 | + | Logf func(format string, args ...any) | |||
| 167 | + | ||||
| 168 | + | // Dir is the directory in which to run the build system's query tool | |||
| 169 | + | // that provides information about the packages. | |||
| 170 | + | // If Dir is empty, the tool is run in the current directory. | |||
| 171 | + | Dir string | |||
| 172 | + | ||||
| 173 | + | // Env is the environment to use when invoking the build system's query tool. | |||
| 174 | + | // If Env is nil, the current environment is used. | |||
| 175 | + | // As in os/exec's Cmd, only the last value in the slice for | |||
| 176 | + | // each environment key is used. To specify the setting of only | |||
| 177 | + | // a few variables, append to the current environment, as in: | |||
| 178 | + | // | |||
| 179 | + | // opt.Env = append(os.Environ(), "GOOS=plan9", "GOARCH=386") | |||
| 180 | + | // | |||
| 181 | + | Env []string | |||
| 182 | + | ||||
| 183 | + | // BuildFlags is a list of command-line flags to be passed through to | |||
| 184 | + | // the build system's query tool. | |||
| 185 | + | BuildFlags []string | |||
| 186 | + | ||||
| 187 | + | // Fset provides source position information for syntax trees and types. | |||
| 188 | + | // If Fset is nil, Load will use a new fileset, but preserve Fset's value. | |||
| 189 | + | Fset *token.FileSet | |||
| 190 | + | ||||
| 191 | + | // ParseFile is called to read and parse each file | |||
| 192 | + | // when preparing a package's type-checked syntax tree. | |||
| 193 | + | // It must be safe to call ParseFile simultaneously from multiple goroutines. | |||
| 194 | + | // If ParseFile is nil, the loader will uses parser.ParseFile. | |||
| 195 | + | // | |||
| 196 | + | // ParseFile should parse the source from src and use filename only for | |||
| 197 | + | // recording position information. | |||
| 198 | + | // | |||
| 199 | + | // An application may supply a custom implementation of ParseFile | |||
| 200 | + | // to change the effective file contents or the behavior of the parser, | |||
| 201 | + | // or to modify the syntax tree. For example, selectively eliminating | |||
| 202 | + | // unwanted function bodies can significantly accelerate type checking. | |||
| 203 | + | ParseFile func(fset *token.FileSet, filename string, src []byte) (*ast.File, error) | |||
| 204 | + | ||||
| 205 | + | // If Tests is set, the loader includes not just the packages | |||
| 206 | + | // matching a particular pattern but also any related test packages, | |||
| 207 | + | // including test-only variants of the package and the test executable. | |||
| 208 | + | // | |||
| 209 | + | // For example, when using the go command, loading "fmt" with Tests=true | |||
| 210 | + | // returns four packages, with IDs "fmt" (the standard package), | |||
| 211 | + | // "fmt [fmt.test]" (the package as compiled for the test), | |||
| 212 | + | // "fmt_test" (the test functions from source files in package fmt_test), | |||
| 213 | + | // and "fmt.test" (the test binary). | |||
| 214 | + | // | |||
| 215 | + | // In build systems with explicit names for tests, | |||
| 216 | + | // setting Tests may have no effect. | |||
| 217 | + | Tests bool | |||
| 218 | + | ||||
| 219 | + | // Overlay is a mapping from absolute file paths to file contents. | |||
| 220 | + | // | |||
| 221 | + | // For each map entry, [Load] uses the alternative file | |||
| 222 | + | // contents provided by the overlay mapping instead of reading | |||
| 223 | + | // from the file system. This mechanism can be used to enable | |||
| 224 | + | // editor-integrated tools to correctly analyze the contents | |||
| 225 | + | // of modified but unsaved buffers, for example. | |||
| 226 | + | // | |||
| 227 | + | // The overlay mapping is passed to the build system's driver | |||
| 228 | + | // (see "The driver protocol") so that it too can report | |||
| 229 | + | // consistent package metadata about unsaved files. However, | |||
| 230 | + | // drivers may vary in their level of support for overlays. | |||
| 231 | + | Overlay map[string][]byte | |||
| 232 | + | } | |||
| 233 | + | ||||
| 234 | + | // Load loads and returns the Go packages named by the given patterns. | |||
| 235 | + | // | |||
| 236 | + | // The cfg parameter specifies loading options; nil behaves the same as an empty [Config]. | |||
| 237 | + | // | |||
| 238 | + | // The [Config.Mode] field is a set of bits that determine what kinds | |||
| 239 | + | // of information should be computed and returned. Modes that require | |||
| 240 | + | // more information tend to be slower. See [LoadMode] for details | |||
| 241 | + | // and important caveats. Its zero value is equivalent to | |||
| 242 | + | // [NeedName] | [NeedFiles] | [NeedCompiledGoFiles]. | |||
| 243 | + | // | |||
| 244 | + | // Each call to Load returns a new set of [Package] instances. | |||
| 245 | + | // The Packages and their Imports form a directed acyclic graph. | |||
| 246 | + | // | |||
| 247 | + | // If the [NeedTypes] mode flag was set, each call to Load uses a new | |||
| 248 | + | // [types.Importer], so [types.Object] and [types.Type] values from | |||
| 249 | + | // different calls to Load must not be mixed as they will have | |||
| 250 | + | // inconsistent notions of type identity. | |||
| 251 | + | // | |||
| 252 | + | // If any of the patterns was invalid as defined by the | |||
| 253 | + | // underlying build system, Load returns an error. | |||
| 254 | + | // It may return an empty list of packages without an error, | |||
| 255 | + | // for instance for an empty expansion of a valid wildcard. | |||
| 256 | + | // Errors associated with a particular package are recorded in the | |||
| 257 | + | // corresponding Package's Errors list, and do not cause Load to | |||
| 258 | + | // return an error. Clients may need to handle such errors before | |||
| 259 | + | // proceeding with further analysis. The [PrintErrors] function is | |||
| 260 | + | // provided for convenient display of all errors. | |||
| 261 | + | func Load(cfg *Config, patterns ...string) ([]*Package, error) { | |||
| 262 | + | ld := newLoader(cfg) | |||
| 263 | + | response, external, err := defaultDriver(&ld.Config, patterns...) | |||
| 264 | + | if err != nil { | |||
| 265 | + | return nil, err | |||
| 266 | + | } | |||
| 267 | + | ||||
| 268 | + | ld.sizes = types.SizesFor(response.Compiler, response.Arch) | |||
| 269 | + | if ld.sizes == nil && ld.Config.Mode&(NeedTypes|NeedTypesSizes|NeedTypesInfo) != 0 { | |||
| 270 | + | // Type size information is needed but unavailable. | |||
| 271 | + | if external { | |||
| 272 | + | // An external driver may fail to populate the Compiler/GOARCH fields, | |||
| 273 | + | // especially since they are relatively new (see #63700). | |||
| 274 | + | // Provide a sensible fallback in this case. | |||
| 275 | + | ld.sizes = types.SizesFor("gc", runtime.GOARCH) | |||
| 276 | + | if ld.sizes == nil { // gccgo-only arch | |||
| 277 | + | ld.sizes = types.SizesFor("gc", "amd64") | |||
| 278 | + | } | |||
| 279 | + | } else { | |||
| 280 | + | // Go list should never fail to deliver accurate size information. | |||
| 281 | + | // Reject the whole Load since the error is the same for every package. | |||
| 282 | + | return nil, fmt.Errorf("can't determine type sizes for compiler %q on GOARCH %q", | |||
| 283 | + | response.Compiler, response.Arch) | |||
| 284 | + | } | |||
| 285 | + | } | |||
| 286 | + | ||||
| 287 | + | ld.externalDriver = external | |||
| 288 | + | ||||
| 289 | + | return ld.refine(response) | |||
| 290 | + | } | |||
| 291 | + | ||||
| 292 | + | // defaultDriver is a driver that implements go/packages' fallback behavior. | |||
| 293 | + | // It will try to request to an external driver, if one exists. If there's | |||
| 294 | + | // no external driver, or the driver returns a response with NotHandled set, | |||
| 295 | + | // defaultDriver will fall back to the go list driver. | |||
| 296 | + | // The boolean result indicates that an external driver handled the request. | |||
| 297 | + | func defaultDriver(cfg *Config, patterns ...string) (*DriverResponse, bool, error) { | |||
| 298 | + | const ( | |||
| 299 | + | // windowsArgMax specifies the maximum command line length for | |||
| 300 | + | // the Windows' CreateProcess function. | |||
| 301 | + | windowsArgMax = 32767 | |||
| 302 | + | // maxEnvSize is a very rough estimation of the maximum environment | |||
| 303 | + | // size of a user. | |||
| 304 | + | maxEnvSize = 16384 | |||
| 305 | + | // safeArgMax specifies the maximum safe command line length to use | |||
| 306 | + | // by the underlying driver excl. the environment. We choose the Windows' | |||
| 307 | + | // ARG_MAX as the starting point because it's one of the lowest ARG_MAX | |||
| 308 | + | // constants out of the different supported platforms, | |||
| 309 | + | // e.g., https://www.in-ulm.de/~mascheck/various/argmax/#results. | |||
| 310 | + | safeArgMax = windowsArgMax - maxEnvSize | |||
| 311 | + | ) | |||
| 312 | + | chunks, err := splitIntoChunks(patterns, safeArgMax) | |||
| 313 | + | if err != nil { | |||
| 314 | + | return nil, false, err | |||
| 315 | + | } | |||
| 316 | + | ||||
| 317 | + | if driver := findExternalDriver(cfg); driver != nil { | |||
| 318 | + | response, err := callDriverOnChunks(driver, cfg, chunks) | |||
| 319 | + | if err != nil { | |||
| 320 | + | return nil, false, err | |||
| 321 | + | } else if !response.NotHandled { | |||
| 322 | + | return response, true, nil | |||
| 323 | + | } | |||
| 324 | + | // not handled: fall through | |||
| 325 | + | } | |||
| 326 | + | ||||
| 327 | + | // go list fallback | |||
| 328 | + | ||||
| 329 | + | // Write overlays once, as there are many calls | |||
| 330 | + | // to 'go list' (one per chunk plus others too). | |||
| 331 | + | overlayFile, cleanupOverlay, err := gocommand.WriteOverlays(cfg.Overlay) | |||
| 332 | + | if err != nil { | |||
| 333 | + | return nil, false, err | |||
| 334 | + | } | |||
| 335 | + | defer cleanupOverlay() | |||
| 336 | + | ||||
| 337 | + | var runner gocommand.Runner // (shared across many 'go list' calls) | |||
| 338 | + | driver := func(cfg *Config, patterns []string) (*DriverResponse, error) { | |||
| 339 | + | return goListDriver(cfg, &runner, overlayFile, patterns) | |||
| 340 | + | } | |||
| 341 | + | response, err := callDriverOnChunks(driver, cfg, chunks) | |||
| 342 | + | if err != nil { | |||
| 343 | + | return nil, false, err | |||
| 344 | + | } | |||
| 345 | + | return response, false, err | |||
| 346 | + | } | |||
| 347 | + | ||||
| 348 | + | // splitIntoChunks chunks the slice so that the total number of characters | |||
| 349 | + | // in a chunk is no longer than argMax. | |||
| 350 | + | func splitIntoChunks(patterns []string, argMax int) ([][]string, error) { | |||
| 351 | + | if argMax <= 0 { | |||
| 352 | + | return nil, errors.New("failed to split patterns into chunks, negative safe argMax value") | |||
| 353 | + | } | |||
| 354 | + | var chunks [][]string | |||
| 355 | + | charsInChunk := 0 | |||
| 356 | + | nextChunkStart := 0 | |||
| 357 | + | for i, v := range patterns { | |||
| 358 | + | vChars := len(v) | |||
| 359 | + | if vChars > argMax { | |||
| 360 | + | // a single pattern is longer than the maximum safe ARG_MAX, hardly should happen | |||
| 361 | + | return nil, errors.New("failed to split patterns into chunks, a pattern is too long") | |||
| 362 | + | } | |||
| 363 | + | charsInChunk += vChars + 1 // +1 is for a whitespace between patterns that has to be counted too | |||
| 364 | + | if charsInChunk > argMax { | |||
| 365 | + | chunks = append(chunks, patterns[nextChunkStart:i]) | |||
| 366 | + | nextChunkStart = i | |||
| 367 | + | charsInChunk = vChars | |||
| 368 | + | } | |||
| 369 | + | } | |||
| 370 | + | // add the last chunk | |||
| 371 | + | if nextChunkStart < len(patterns) { | |||
| 372 | + | chunks = append(chunks, patterns[nextChunkStart:]) | |||
| 373 | + | } | |||
| 374 | + | return chunks, nil | |||
| 375 | + | } | |||
| 376 | + | ||||
| 377 | + | func callDriverOnChunks(driver driver, cfg *Config, chunks [][]string) (*DriverResponse, error) { | |||
| 378 | + | if len(chunks) == 0 { | |||
| 379 | + | return driver(cfg, nil) | |||
| 380 | + | } | |||
| 381 | + | responses := make([]*DriverResponse, len(chunks)) | |||
| 382 | + | errNotHandled := errors.New("driver returned NotHandled") | |||
| 383 | + | var g errgroup.Group | |||
| 384 | + | for i, chunk := range chunks { | |||
| 385 | + | g.Go(func() (err error) { | |||
| 386 | + | responses[i], err = driver(cfg, chunk) | |||
| 387 | + | if responses[i] != nil && responses[i].NotHandled { | |||
| 388 | + | err = errNotHandled | |||
| 389 | + | } | |||
| 390 | + | return err | |||
| 391 | + | }) | |||
| 392 | + | } | |||
| 393 | + | if err := g.Wait(); err != nil { | |||
| 394 | + | if errors.Is(err, errNotHandled) { | |||
| 395 | + | return &DriverResponse{NotHandled: true}, nil | |||
| 396 | + | } | |||
| 397 | + | return nil, err | |||
| 398 | + | } | |||
| 399 | + | return mergeResponses(responses...), nil | |||
| 400 | + | } | |||
| 401 | + | ||||
| 402 | + | func mergeResponses(responses ...*DriverResponse) *DriverResponse { | |||
| 403 | + | if len(responses) == 0 { | |||
| 404 | + | return nil | |||
| 405 | + | } | |||
| 406 | + | // No dedup needed | |||
| 407 | + | if len(responses) == 1 { | |||
| 408 | + | return responses[0] | |||
| 409 | + | } | |||
| 410 | + | response := newDeduper() | |||
| 411 | + | response.dr.NotHandled = false | |||
| 412 | + | response.dr.Compiler = responses[0].Compiler | |||
| 413 | + | response.dr.Arch = responses[0].Arch | |||
| 414 | + | response.dr.GoVersion = responses[0].GoVersion | |||
| 415 | + | for _, v := range responses { | |||
| 416 | + | response.addAll(v) | |||
| 417 | + | } | |||
| 418 | + | return response.dr | |||
| 419 | + | } | |||
| 420 | + | ||||
| 421 | + | // A Package describes a loaded Go package. | |||
| 422 | + | // | |||
| 423 | + | // It also defines part of the JSON schema of [DriverResponse]. | |||
| 424 | + | // See the package documentation for an overview. | |||
| 425 | + | type Package struct { | |||
| 426 | + | // ID is a unique identifier for a package, | |||
| 427 | + | // in a syntax provided by the underlying build system. | |||
| 428 | + | // | |||
| 429 | + | // Because the syntax varies based on the build system, | |||
| 430 | + | // clients should treat IDs as opaque and not attempt to | |||
| 431 | + | // interpret them. | |||
| 432 | + | ID string | |||
| 433 | + | ||||
| 434 | + | // Name is the package name as it appears in the package source code. | |||
| 435 | + | Name string | |||
| 436 | + | ||||
| 437 | + | // PkgPath is the package path as used by the go/types package. | |||
| 438 | + | PkgPath string | |||
| 439 | + | ||||
| 440 | + | // Dir is the directory associated with the package, if it exists. | |||
| 441 | + | // | |||
| 442 | + | // For packages listed by the go command, this is the directory containing | |||
| 443 | + | // the package files. | |||
| 444 | + | Dir string | |||
| 445 | + | ||||
| 446 | + | // Errors contains any errors encountered querying the metadata | |||
| 447 | + | // of the package, or while parsing or type-checking its files. | |||
| 448 | + | Errors []Error | |||
| 449 | + | ||||
| 450 | + | // TypeErrors contains the subset of errors produced during type checking. | |||
| 451 | + | TypeErrors []types.Error | |||
| 452 | + | ||||
| 453 | + | // GoFiles lists the absolute file paths of the package's Go source files. | |||
| 454 | + | // It may include files that should not be compiled, for example because | |||
| 455 | + | // they contain non-matching build tags, are documentary pseudo-files such as | |||
| 456 | + | // unsafe/unsafe.go or builtin/builtin.go, or are subject to cgo preprocessing. | |||
| 457 | + | GoFiles []string | |||
| 458 | + | ||||
| 459 | + | // CompiledGoFiles lists the absolute file paths of the package's source | |||
| 460 | + | // files that are suitable for type checking. | |||
| 461 | + | // This may differ from GoFiles if files are processed before compilation. | |||
| 462 | + | CompiledGoFiles []string | |||
| 463 | + | ||||
| 464 | + | // OtherFiles lists the absolute file paths of the package's non-Go source files, | |||
| 465 | + | // including assembly, C, C++, Fortran, Objective-C, SWIG, and so on. | |||
| 466 | + | OtherFiles []string | |||
| 467 | + | ||||
| 468 | + | // EmbedFiles lists the absolute file paths of the package's files | |||
| 469 | + | // embedded with go:embed. | |||
| 470 | + | EmbedFiles []string | |||
| 471 | + | ||||
| 472 | + | // EmbedPatterns lists the absolute file patterns of the package's | |||
| 473 | + | // files embedded with go:embed. | |||
| 474 | + | EmbedPatterns []string | |||
| 475 | + | ||||
| 476 | + | // IgnoredFiles lists source files that are not part of the package | |||
| 477 | + | // using the current build configuration but that might be part of | |||
| 478 | + | // the package using other build configurations. | |||
| 479 | + | IgnoredFiles []string | |||
| 480 | + | ||||
| 481 | + | // ExportFile is the absolute path to a file containing type | |||
| 482 | + | // information for the package as provided by the build system. | |||
| 483 | + | ExportFile string | |||
| 484 | + | ||||
| 485 | + | // Target is the absolute install path of the .a file, for libraries, | |||
| 486 | + | // and of the executable file, for binaries. | |||
| 487 | + | Target string | |||
| 488 | + | ||||
| 489 | + | // Imports maps import paths appearing in the package's Go source files | |||
| 490 | + | // to corresponding loaded Packages. | |||
| 491 | + | Imports map[string]*Package | |||
| 492 | + | ||||
| 493 | + | // Module is the module information for the package if it exists. | |||
| 494 | + | // | |||
| 495 | + | // Note: it may be missing for std and cmd; see Go issue #65816. | |||
| 496 | + | Module *Module | |||
| 497 | + | ||||
| 498 | + | // -- The following fields are not part of the driver JSON schema. -- | |||
| 499 | + | ||||
| 500 | + | // Types provides type information for the package. | |||
| 501 | + | // The NeedTypes LoadMode bit sets this field for packages matching the | |||
| 502 | + | // patterns; type information for dependencies may be missing or incomplete, | |||
| 503 | + | // unless NeedDeps and NeedImports are also set. | |||
| 504 | + | // | |||
| 505 | + | // Each call to [Load] returns a consistent set of type | |||
| 506 | + | // symbols, as defined by the comment at [types.Identical]. | |||
| 507 | + | // Avoid mixing type information from two or more calls to [Load]. | |||
| 508 | + | Types *types.Package `json:"-"` | |||
| 509 | + | ||||
| 510 | + | // Fset provides position information for Types, TypesInfo, and Syntax. | |||
| 511 | + | // It is set only when Types is set. | |||
| 512 | + | Fset *token.FileSet `json:"-"` | |||
| 513 | + | ||||
| 514 | + | // IllTyped indicates whether the package or any dependency contains errors. | |||
| 515 | + | // It is set only when Types is set. | |||
| 516 | + | IllTyped bool `json:"-"` | |||
| 517 | + | ||||
| 518 | + | // Syntax is the package's syntax trees, for the files listed in CompiledGoFiles. | |||
| 519 | + | // | |||
| 520 | + | // The NeedSyntax LoadMode bit populates this field for packages matching the patterns. | |||
| 521 | + | // If NeedDeps and NeedImports are also set, this field will also be populated | |||
| 522 | + | // for dependencies. | |||
| 523 | + | // | |||
| 524 | + | // Syntax is kept in the same order as CompiledGoFiles, with the caveat that nils are | |||
| 525 | + | // removed. If parsing returned nil, Syntax may be shorter than CompiledGoFiles. | |||
| 526 | + | Syntax []*ast.File `json:"-"` | |||
| 527 | + | ||||
| 528 | + | // TypesInfo provides type information about the package's syntax trees. | |||
| 529 | + | // It is set only when Syntax is set. | |||
| 530 | + | TypesInfo *types.Info `json:"-"` | |||
| 531 | + | ||||
| 532 | + | // TypesSizes provides the effective size function for types in TypesInfo. | |||
| 533 | + | TypesSizes types.Sizes `json:"-"` | |||
| 534 | + | ||||
| 535 | + | // -- internal -- | |||
| 536 | + | ||||
| 537 | + | // ForTest is the package under test, if any. | |||
| 538 | + | ForTest string | |||
| 539 | + | ||||
| 540 | + | // depsErrors is the DepsErrors field from the go list response, if any. | |||
| 541 | + | depsErrors []*packagesinternal.PackageError | |||
| 542 | + | ||||
| 543 | + | // exportDataError is the error encountered reading export data, if any. | |||
| 544 | + | // Decoding export data should ordinarily be infallible, so this typically | |||
| 545 | + | // indicates a producer/consumer version skew. | |||
| 546 | + | exportDataError error | |||
| 547 | + | } | |||
| 548 | + | ||||
| 549 | + | // Module provides module information for a package. | |||
| 550 | + | // | |||
| 551 | + | // It also defines part of the JSON schema of [DriverResponse]. | |||
| 552 | + | // See the package documentation for an overview. | |||
| 553 | + | type Module struct { | |||
| 554 | + | Path string // module path | |||
| 555 | + | Version string // module version | |||
| 556 | + | Replace *Module // replaced by this module | |||
| 557 | + | Time *time.Time // time version was created | |||
| 558 | + | Main bool // is this the main module? | |||
| 559 | + | Indirect bool // is this module only an indirect dependency of main module? | |||
| 560 | + | Dir string // directory holding files for this module, if any | |||
| 561 | + | GoMod string // path to go.mod file used when loading this module, if any | |||
| 562 | + | GoVersion string // go version used in module | |||
| 563 | + | Error *ModuleError // error loading module | |||
| 564 | + | } | |||
| 565 | + | ||||
| 566 | + | // ModuleError holds errors loading a module. | |||
| 567 | + | type ModuleError struct { | |||
| 568 | + | Err string // the error itself | |||
| 569 | + | } | |||
| 570 | + | ||||
| 571 | + | func init() { | |||
| 572 | + | packagesinternal.GetDepsErrors = func(p any) []*packagesinternal.PackageError { | |||
| 573 | + | return p.(*Package).depsErrors | |||
| 574 | + | } | |||
| 575 | + | packagesinternal.TypecheckCgo = int(typecheckCgo) | |||
| 576 | + | packagesinternal.DepsErrors = int(needInternalDepsErrors) | |||
| 577 | + | } | |||
| 578 | + | ||||
| 579 | + | // An Error describes a problem with a package's metadata, syntax, or types. | |||
| 580 | + | type Error struct { | |||
| 581 | + | Pos string // "file:line:col" or "file:line" or "" or "-" | |||
| 582 | + | Msg string | |||
| 583 | + | Kind ErrorKind | |||
| 584 | + | } | |||
| 585 | + | ||||
| 586 | + | // ErrorKind describes the source of the error, allowing the user to | |||
| 587 | + | // differentiate between errors generated by the driver, the parser, or the | |||
| 588 | + | // type-checker. | |||
| 589 | + | type ErrorKind int | |||
| 590 | + | ||||
| 591 | + | const ( | |||
| 592 | + | UnknownError ErrorKind = iota | |||
| 593 | + | ListError | |||
| 594 | + | ParseError | |||
| 595 | + | TypeError | |||
| 596 | + | ) | |||
| 597 | + | ||||
| 598 | + | func (err Error) Error() string { | |||
| 599 | + | pos := err.Pos | |||
| 600 | + | if pos == "" { | |||
| 601 | + | pos = "-" // like token.Position{}.String() | |||
| 602 | + | } | |||
| 603 | + | return pos + ": " + err.Msg | |||
| 604 | + | } | |||
| 605 | + | ||||
| 606 | + | // flatPackage is the JSON form of Package | |||
| 607 | + | // It drops all the type and syntax fields, and transforms the Imports | |||
| 608 | + | // | |||
| 609 | + | // TODO(adonovan): identify this struct with Package, effectively | |||
| 610 | + | // publishing the JSON protocol. | |||
| 611 | + | type flatPackage struct { | |||
| 612 | + | ID string | |||
| 613 | + | Name string `json:",omitempty"` | |||
| 614 | + | PkgPath string `json:",omitempty"` | |||
| 615 | + | Errors []Error `json:",omitempty"` | |||
| 616 | + | GoFiles []string `json:",omitempty"` | |||
| 617 | + | CompiledGoFiles []string `json:",omitempty"` | |||
| 618 | + | OtherFiles []string `json:",omitempty"` | |||
| 619 | + | EmbedFiles []string `json:",omitempty"` | |||
| 620 | + | EmbedPatterns []string `json:",omitempty"` | |||
| 621 | + | IgnoredFiles []string `json:",omitempty"` | |||
| 622 | + | ExportFile string `json:",omitempty"` | |||
| 623 | + | Imports map[string]string `json:",omitempty"` | |||
| 624 | + | } | |||
| 625 | + | ||||
| 626 | + | // MarshalJSON returns the Package in its JSON form. | |||
| 627 | + | // For the most part, the structure fields are written out unmodified, and | |||
| 628 | + | // the type and syntax fields are skipped. | |||
| 629 | + | // The imports are written out as just a map of path to package id. | |||
| 630 | + | // The errors are written using a custom type that tries to preserve the | |||
| 631 | + | // structure of error types we know about. | |||
| 632 | + | // | |||
| 633 | + | // This method exists to enable support for additional build systems. It is | |||
| 634 | + | // not intended for use by clients of the API and we may change the format. | |||
| 635 | + | func (p *Package) MarshalJSON() ([]byte, error) { | |||
| 636 | + | flat := &flatPackage{ | |||
| 637 | + | ID: p.ID, | |||
| 638 | + | Name: p.Name, | |||
| 639 | + | PkgPath: p.PkgPath, | |||
| 640 | + | Errors: p.Errors, | |||
| 641 | + | GoFiles: p.GoFiles, | |||
| 642 | + | CompiledGoFiles: p.CompiledGoFiles, | |||
| 643 | + | OtherFiles: p.OtherFiles, | |||
| 644 | + | EmbedFiles: p.EmbedFiles, | |||
| 645 | + | EmbedPatterns: p.EmbedPatterns, | |||
| 646 | + | IgnoredFiles: p.IgnoredFiles, | |||
| 647 | + | ExportFile: p.ExportFile, | |||
| 648 | + | } | |||
| 649 | + | if len(p.Imports) > 0 { | |||
| 650 | + | flat.Imports = make(map[string]string, len(p.Imports)) | |||
| 651 | + | for path, ipkg := range p.Imports { | |||
| 652 | + | flat.Imports[path] = ipkg.ID | |||
| 653 | + | } | |||
| 654 | + | } | |||
| 655 | + | return json.Marshal(flat) | |||
| 656 | + | } | |||
| 657 | + | ||||
| 658 | + | // UnmarshalJSON reads in a Package from its JSON format. | |||
| 659 | + | // See MarshalJSON for details about the format accepted. | |||
| 660 | + | func (p *Package) UnmarshalJSON(b []byte) error { | |||
| 661 | + | flat := &flatPackage{} | |||
| 662 | + | if err := json.Unmarshal(b, &flat); err != nil { | |||
| 663 | + | return err | |||
| 664 | + | } | |||
| 665 | + | *p = Package{ | |||
| 666 | + | ID: flat.ID, | |||
| 667 | + | Name: flat.Name, | |||
| 668 | + | PkgPath: flat.PkgPath, | |||
| 669 | + | Errors: flat.Errors, | |||
| 670 | + | GoFiles: flat.GoFiles, | |||
| 671 | + | CompiledGoFiles: flat.CompiledGoFiles, | |||
| 672 | + | OtherFiles: flat.OtherFiles, | |||
| 673 | + | EmbedFiles: flat.EmbedFiles, | |||
| 674 | + | EmbedPatterns: flat.EmbedPatterns, | |||
| 675 | + | IgnoredFiles: flat.IgnoredFiles, | |||
| 676 | + | ExportFile: flat.ExportFile, | |||
| 677 | + | } | |||
| 678 | + | if len(flat.Imports) > 0 { | |||
| 679 | + | p.Imports = make(map[string]*Package, len(flat.Imports)) | |||
| 680 | + | for path, id := range flat.Imports { | |||
| 681 | + | p.Imports[path] = &Package{ID: id} | |||
| 682 | + | } | |||
| 683 | + | } | |||
| 684 | + | return nil | |||
| 685 | + | } | |||
| 686 | + | ||||
| 687 | + | func (p *Package) String() string { return p.ID } | |||
| 688 | + | ||||
| 689 | + | // loaderPackage augments Package with state used during the loading phase | |||
| 690 | + | type loaderPackage struct { | |||
| 691 | + | *Package | |||
| 692 | + | importErrors map[string]error // maps each bad import to its error | |||
| 693 | + | preds []*loaderPackage // packages that import this one | |||
| 694 | + | unfinishedSuccs atomic.Int32 // number of direct imports not yet loaded | |||
| 695 | + | color uint8 // for cycle detection | |||
| 696 | + | needsrc bool // load from source (Mode >= LoadTypes) | |||
| 697 | + | needtypes bool // type information is either requested or depended on | |||
| 698 | + | initial bool // package was matched by a pattern | |||
| 699 | + | goVersion int // minor version number of go command on PATH | |||
| 700 | + | } | |||
| 701 | + | ||||
| 702 | + | // loader holds the working state of a single call to load. | |||
| 703 | + | type loader struct { | |||
| 704 | + | pkgs map[string]*loaderPackage // keyed by Package.ID | |||
| 705 | + | Config | |||
| 706 | + | sizes types.Sizes // non-nil if needed by mode | |||
| 707 | + | parseCache map[string]*parseValue | |||
| 708 | + | parseCacheMu sync.Mutex | |||
| 709 | + | exportMu sync.Mutex // enforces mutual exclusion of exportdata operations | |||
| 710 | + | externalDriver bool // true if an external GOPACKAGESDRIVER handled the request | |||
| 711 | + | ||||
| 712 | + | // Config.Mode contains the implied mode (see impliedLoadMode). | |||
| 713 | + | // Implied mode contains all the fields we need the data for. | |||
| 714 | + | // In requestedMode there are the actually requested fields. | |||
| 715 | + | // We'll zero them out before returning packages to the user. | |||
| 716 | + | // This makes it easier for us to get the conditions where | |||
| 717 | + | // we need certain modes right. | |||
| 718 | + | requestedMode LoadMode | |||
| 719 | + | } | |||
| 720 | + | ||||
| 721 | + | type parseValue struct { | |||
| 722 | + | f *ast.File | |||
| 723 | + | err error | |||
| 724 | + | ready chan struct{} | |||
| 725 | + | } | |||
| 726 | + | ||||
| 727 | + | func newLoader(cfg *Config) *loader { | |||
| 728 | + | ld := &loader{ | |||
| 729 | + | parseCache: map[string]*parseValue{}, | |||
| 730 | + | } | |||
| 731 | + | if cfg != nil { | |||
| 732 | + | ld.Config = *cfg | |||
| 733 | + | // If the user has provided a logger, use it. | |||
| 734 | + | ld.Config.Logf = cfg.Logf | |||
| 735 | + | } | |||
| 736 | + | if ld.Config.Logf == nil { | |||
| 737 | + | // If the GOPACKAGESDEBUG environment variable is set to true, | |||
| 738 | + | // but the user has not provided a logger, default to log.Printf. | |||
| 739 | + | if debug { | |||
| 740 | + | ld.Config.Logf = log.Printf | |||
| 741 | + | } else { | |||
| 742 | + | ld.Config.Logf = func(format string, args ...any) {} | |||
| 743 | + | } | |||
| 744 | + | } | |||
| 745 | + | if ld.Config.Mode == 0 { | |||
| 746 | + | ld.Config.Mode = NeedName | NeedFiles | NeedCompiledGoFiles // Preserve zero behavior of Mode for backwards compatibility. | |||
| 747 | + | } | |||
| 748 | + | if ld.Config.Env == nil { | |||
| 749 | + | ld.Config.Env = os.Environ() | |||
| 750 | + | } | |||
| 751 | + | if ld.Context == nil { | |||
| 752 | + | ld.Context = context.Background() | |||
| 753 | + | } | |||
| 754 | + | if ld.Dir == "" { | |||
| 755 | + | if dir, err := os.Getwd(); err == nil { | |||
| 756 | + | ld.Dir = dir | |||
| 757 | + | } | |||
| 758 | + | } | |||
| 759 | + | ||||
| 760 | + | // Save the actually requested fields. We'll zero them out before returning packages to the user. | |||
| 761 | + | ld.requestedMode = ld.Mode | |||
| 762 | + | ld.Mode = impliedLoadMode(ld.Mode) | |||
| 763 | + | ||||
| 764 | + | if ld.Mode&(NeedSyntax|NeedTypes|NeedTypesInfo) != 0 { | |||
| 765 | + | if ld.Fset == nil { | |||
| 766 | + | ld.Fset = token.NewFileSet() | |||
| 767 | + | } | |||
| 768 | + | ||||
| 769 | + | // ParseFile is required even in LoadTypes mode | |||
| 770 | + | // because we load source if export data is missing. | |||
| 771 | + | if ld.ParseFile == nil { | |||
| 772 | + | ld.ParseFile = func(fset *token.FileSet, filename string, src []byte) (*ast.File, error) { | |||
| 773 | + | // We implicitly promise to keep doing ast.Object resolution. :( | |||
| 774 | + | const mode = parser.AllErrors | parser.ParseComments | |||
| 775 | + | return parser.ParseFile(fset, filename, src, mode) | |||
| 776 | + | } | |||
| 777 | + | } | |||
| 778 | + | } | |||
| 779 | + | ||||
| 780 | + | return ld | |||
| 781 | + | } | |||
| 782 | + | ||||
| 783 | + | // refine connects the supplied packages into a graph and then adds type | |||
| 784 | + | // and syntax information as requested by the LoadMode. | |||
| 785 | + | func (ld *loader) refine(response *DriverResponse) ([]*Package, error) { | |||
| 786 | + | roots := response.Roots | |||
| 787 | + | rootMap := make(map[string]int, len(roots)) | |||
| 788 | + | for i, root := range roots { | |||
| 789 | + | rootMap[root] = i | |||
| 790 | + | } | |||
| 791 | + | ld.pkgs = make(map[string]*loaderPackage) | |||
| 792 | + | // first pass, fixup and build the map and roots | |||
| 793 | + | var initial = make([]*loaderPackage, len(roots)) | |||
| 794 | + | for _, pkg := range response.Packages { | |||
| 795 | + | rootIndex := -1 | |||
| 796 | + | if i, found := rootMap[pkg.ID]; found { | |||
| 797 | + | rootIndex = i | |||
| 798 | + | } | |||
| 799 | + | ||||
| 800 | + | // Overlays can invalidate export data. | |||
| 801 | + | // TODO(matloob): make this check fine-grained based on dependencies on overlaid files | |||
| 802 | + | exportDataInvalid := len(ld.Overlay) > 0 || pkg.ExportFile == "" && pkg.PkgPath != "unsafe" | |||
| 803 | + | // This package needs type information if the caller requested types and the package is | |||
| 804 | + | // either a root, or it's a non-root and the user requested dependencies ... | |||
| 805 | + | needtypes := (ld.Mode&(NeedTypes|NeedTypesInfo) != 0 && (rootIndex >= 0 || ld.Mode&NeedDeps != 0)) | |||
| 806 | + | // This package needs source if the call requested source (or types info, which implies source) | |||
| 807 | + | // and the package is either a root, or itas a non- root and the user requested dependencies... | |||
| 808 | + | needsrc := ((ld.Mode&(NeedSyntax|NeedTypesInfo) != 0 && (rootIndex >= 0 || ld.Mode&NeedDeps != 0)) || | |||
| 809 | + | // ... or if we need types and the exportData is invalid. We fall back to (incompletely) | |||
| 810 | + | // typechecking packages from source if they fail to compile. | |||
| 811 | + | (ld.Mode&(NeedTypes|NeedTypesInfo) != 0 && exportDataInvalid)) && pkg.PkgPath != "unsafe" | |||
| 812 | + | lpkg := &loaderPackage{ | |||
| 813 | + | Package: pkg, | |||
| 814 | + | needtypes: needtypes, | |||
| 815 | + | needsrc: needsrc, | |||
| 816 | + | goVersion: response.GoVersion, | |||
| 817 | + | } | |||
| 818 | + | // Don't trust the driver to respond with duplicate-free | |||
| 819 | + | // package names (go.dev/issue/63822). | |||
| 820 | + | if _, ok := ld.pkgs[lpkg.ID]; ok { | |||
| 821 | + | return nil, fmt.Errorf("%s response contained duplicate packages for ID %q", | |||
| 822 | + | cond(ld.externalDriver, "go/packages driver", "go list"), lpkg.ID) | |||
| 823 | + | } | |||
| 824 | + | ld.pkgs[lpkg.ID] = lpkg | |||
| 825 | + | if rootIndex >= 0 { | |||
| 826 | + | initial[rootIndex] = lpkg | |||
| 827 | + | lpkg.initial = true | |||
| 828 | + | } | |||
| 829 | + | } | |||
| 830 | + | for i, root := range roots { | |||
| 831 | + | if initial[i] == nil { | |||
| 832 | + | return nil, fmt.Errorf("root package %v is missing", root) | |||
| 833 | + | } | |||
| 834 | + | } | |||
| 835 | + | ||||
| 836 | + | // Materialize the import graph if it is needed (NeedImports), | |||
| 837 | + | // or if we'll be using loadPackages (Need{Syntax|Types|TypesInfo}). | |||
| 838 | + | var leaves []*loaderPackage // packages with no unfinished successors | |||
| 839 | + | if ld.Mode&(NeedImports|NeedSyntax|NeedTypes|NeedTypesInfo) != 0 { | |||
| 840 | + | const ( | |||
| 841 | + | white = 0 // new | |||
| 842 | + | grey = 1 // in progress | |||
| 843 | + | black = 2 // complete | |||
| 844 | + | ) | |||
| 845 | + | ||||
| 846 | + | // visit traverses the import graph, depth-first, | |||
| 847 | + | // and materializes the graph as Packages.Imports. | |||
| 848 | + | // | |||
| 849 | + | // Valid imports are saved in the Packages.Import map. | |||
| 850 | + | // Invalid imports (cycles and missing nodes) are saved in the importErrors map. | |||
| 851 | + | // Thus, even in the presence of both kinds of errors, | |||
| 852 | + | // the Import graph remains a DAG. | |||
| 853 | + | // | |||
| 854 | + | // visit returns whether the package needs src or has a transitive | |||
| 855 | + | // dependency on a package that does. These are the only packages | |||
| 856 | + | // for which we load source code. | |||
| 857 | + | var stack []*loaderPackage | |||
| 858 | + | var visit func(from, lpkg *loaderPackage) bool | |||
| 859 | + | visit = func(from, lpkg *loaderPackage) bool { | |||
| 860 | + | if lpkg.color == grey { | |||
| 861 | + | panic("internal error: grey node") | |||
| 862 | + | } | |||
| 863 | + | if lpkg.color == white { | |||
| 864 | + | lpkg.color = grey | |||
| 865 | + | stack = append(stack, lpkg) // push | |||
| 866 | + | stubs := lpkg.Imports // the structure form has only stubs with the ID in the Imports | |||
| 867 | + | lpkg.Imports = make(map[string]*Package, len(stubs)) | |||
| 868 | + | for importPath, ipkg := range stubs { | |||
| 869 | + | var importErr error | |||
| 870 | + | imp := ld.pkgs[ipkg.ID] | |||
| 871 | + | if imp == nil { | |||
| 872 | + | // (includes package "C" when DisableCgo) | |||
| 873 | + | importErr = fmt.Errorf("missing package: %q", ipkg.ID) | |||
| 874 | + | } else if imp.color == grey { | |||
| 875 | + | importErr = fmt.Errorf("import cycle: %s", stack) | |||
| 876 | + | } | |||
| 877 | + | if importErr != nil { | |||
| 878 | + | if lpkg.importErrors == nil { | |||
| 879 | + | lpkg.importErrors = make(map[string]error) | |||
| 880 | + | } | |||
| 881 | + | lpkg.importErrors[importPath] = importErr | |||
| 882 | + | continue | |||
| 883 | + | } | |||
| 884 | + | ||||
| 885 | + | if visit(lpkg, imp) { | |||
| 886 | + | lpkg.needsrc = true | |||
| 887 | + | } | |||
| 888 | + | lpkg.Imports[importPath] = imp.Package | |||
| 889 | + | } | |||
| 890 | + | ||||
| 891 | + | // -- postorder -- | |||
| 892 | + | ||||
| 893 | + | // Complete type information is required for the | |||
| 894 | + | // immediate dependencies of each source package. | |||
| 895 | + | if lpkg.needsrc && ld.Mode&NeedTypes != 0 { | |||
| 896 | + | for _, ipkg := range lpkg.Imports { | |||
| 897 | + | ld.pkgs[ipkg.ID].needtypes = true | |||
| 898 | + | } | |||
| 899 | + | } | |||
| 900 | + | ||||
| 901 | + | // NeedTypeSizes causes TypeSizes to be set even | |||
| 902 | + | // on packages for which types aren't needed. | |||
| 903 | + | if ld.Mode&NeedTypesSizes != 0 { | |||
| 904 | + | lpkg.TypesSizes = ld.sizes | |||
| 905 | + | } | |||
| 906 | + | ||||
| 907 | + | // Add packages with no imports directly to the queue of leaves. | |||
| 908 | + | if len(lpkg.Imports) == 0 { | |||
| 909 | + | leaves = append(leaves, lpkg) | |||
| 910 | + | } | |||
| 911 | + | ||||
| 912 | + | stack = stack[:len(stack)-1] // pop | |||
| 913 | + | lpkg.color = black | |||
| 914 | + | } | |||
| 915 | + | ||||
| 916 | + | // Add edge from predecessor. | |||
| 917 | + | if from != nil { | |||
| 918 | + | from.unfinishedSuccs.Add(+1) // incref | |||
| 919 | + | lpkg.preds = append(lpkg.preds, from) | |||
| 920 | + | } | |||
| 921 | + | ||||
| 922 | + | return lpkg.needsrc | |||
| 923 | + | } | |||
| 924 | + | ||||
| 925 | + | // For each initial package, create its import DAG. | |||
| 926 | + | for _, lpkg := range initial { | |||
| 927 | + | visit(nil, lpkg) | |||
| 928 | + | } | |||
| 929 | + | ||||
| 930 | + | } else { | |||
| 931 | + | // !NeedImports: drop the stub (ID-only) import packages | |||
| 932 | + | // that we are not even going to try to resolve. | |||
| 933 | + | for _, lpkg := range initial { | |||
| 934 | + | lpkg.Imports = nil | |||
| 935 | + | } | |||
| 936 | + | } | |||
| 937 | + | ||||
| 938 | + | // Load type data and syntax if needed, starting at | |||
| 939 | + | // the initial packages (roots of the import DAG). | |||
| 940 | + | if ld.Mode&(NeedSyntax|NeedTypes|NeedTypesInfo) != 0 { | |||
| 941 | + | ||||
| 942 | + | // We avoid using g.SetLimit to limit concurrency as | |||
| 943 | + | // it makes g.Go stop accepting work, which prevents | |||
| 944 | + | // workers from enqeuing, and thus finishing, and thus | |||
| 945 | + | // allowing the group to make progress: deadlock. | |||
| 946 | + | // | |||
| 947 | + | // Instead we use the ioLimit and cpuLimit semaphores. | |||
| 948 | + | g, _ := errgroup.WithContext(ld.Context) | |||
| 949 | + | ||||
| 950 | + | // enqueues adds a package to the type-checking queue. | |||
| 951 | + | // It must have no unfinished successors. | |||
| 952 | + | var enqueue func(*loaderPackage) | |||
| 953 | + | enqueue = func(lpkg *loaderPackage) { | |||
| 954 | + | g.Go(func() error { | |||
| 955 | + | // Parse and type-check. | |||
| 956 | + | ld.loadPackage(lpkg) | |||
| 957 | + | ||||
| 958 | + | // Notify each waiting predecessor, | |||
| 959 | + | // and enqueue it when it becomes a leaf. | |||
| 960 | + | for _, pred := range lpkg.preds { | |||
| 961 | + | if pred.unfinishedSuccs.Add(-1) == 0 { // decref | |||
| 962 | + | enqueue(pred) | |||
| 963 | + | } | |||
| 964 | + | } | |||
| 965 | + | ||||
| 966 | + | return nil | |||
| 967 | + | }) | |||
| 968 | + | } | |||
| 969 | + | ||||
| 970 | + | // Load leaves first, adding new packages | |||
| 971 | + | // to the queue as they become leaves. | |||
| 972 | + | for _, leaf := range leaves { | |||
| 973 | + | enqueue(leaf) | |||
| 974 | + | } | |||
| 975 | + | ||||
| 976 | + | if err := g.Wait(); err != nil { | |||
| 977 | + | return nil, err // cancelled | |||
| 978 | + | } | |||
| 979 | + | } | |||
| 980 | + | ||||
| 981 | + | // If the context is done, return its error and | |||
| 982 | + | // throw out [likely] incomplete packages. | |||
| 983 | + | if err := ld.Context.Err(); err != nil { | |||
| 984 | + | return nil, err | |||
| 985 | + | } | |||
| 986 | + | ||||
| 987 | + | result := make([]*Package, len(initial)) | |||
| 988 | + | for i, lpkg := range initial { | |||
| 989 | + | result[i] = lpkg.Package | |||
| 990 | + | } | |||
| 991 | + | for i := range ld.pkgs { | |||
| 992 | + | // Clear all unrequested fields, | |||
| 993 | + | // to catch programs that use more than they request. | |||
| 994 | + | if ld.requestedMode&NeedName == 0 { | |||
| 995 | + | ld.pkgs[i].Name = "" | |||
| 996 | + | ld.pkgs[i].PkgPath = "" | |||
| 997 | + | } | |||
| 998 | + | if ld.requestedMode&NeedFiles == 0 { | |||
| 999 | + | ld.pkgs[i].GoFiles = nil | |||
| 1000 | + | ld.pkgs[i].OtherFiles = nil | |||
| 1001 | + | ld.pkgs[i].IgnoredFiles = nil | |||
| 1002 | + | } | |||
| 1003 | + | if ld.requestedMode&NeedEmbedFiles == 0 { | |||
| 1004 | + | ld.pkgs[i].EmbedFiles = nil | |||
| 1005 | + | } | |||
| 1006 | + | if ld.requestedMode&NeedEmbedPatterns == 0 { | |||
| 1007 | + | ld.pkgs[i].EmbedPatterns = nil | |||
| 1008 | + | } | |||
| 1009 | + | if ld.requestedMode&NeedCompiledGoFiles == 0 { | |||
| 1010 | + | ld.pkgs[i].CompiledGoFiles = nil | |||
| 1011 | + | } | |||
| 1012 | + | if ld.requestedMode&NeedImports == 0 { | |||
| 1013 | + | ld.pkgs[i].Imports = nil | |||
| 1014 | + | } | |||
| 1015 | + | if ld.requestedMode&NeedExportFile == 0 { | |||
| 1016 | + | ld.pkgs[i].ExportFile = "" | |||
| 1017 | + | } | |||
| 1018 | + | if ld.requestedMode&NeedTypes == 0 { | |||
| 1019 | + | ld.pkgs[i].Types = nil | |||
| 1020 | + | ld.pkgs[i].IllTyped = false | |||
| 1021 | + | } | |||
| 1022 | + | if ld.requestedMode&NeedSyntax == 0 { | |||
| 1023 | + | ld.pkgs[i].Syntax = nil | |||
| 1024 | + | } | |||
| 1025 | + | if ld.requestedMode&(NeedSyntax|NeedTypes|NeedTypesInfo) == 0 { | |||
| 1026 | + | ld.pkgs[i].Fset = nil | |||
| 1027 | + | } | |||
| 1028 | + | if ld.requestedMode&NeedTypesInfo == 0 { | |||
| 1029 | + | ld.pkgs[i].TypesInfo = nil | |||
| 1030 | + | } | |||
| 1031 | + | if ld.requestedMode&NeedTypesSizes == 0 { | |||
| 1032 | + | ld.pkgs[i].TypesSizes = nil | |||
| 1033 | + | } | |||
| 1034 | + | if ld.requestedMode&NeedModule == 0 { | |||
| 1035 | + | ld.pkgs[i].Module = nil | |||
| 1036 | + | } | |||
| 1037 | + | } | |||
| 1038 | + | ||||
| 1039 | + | return result, nil | |||
| 1040 | + | } | |||
| 1041 | + | ||||
| 1042 | + | // loadPackage loads/parses/typechecks the specified package. | |||
| 1043 | + | // It must be called only once per Package, | |||
| 1044 | + | // after immediate dependencies are loaded. | |||
| 1045 | + | // Precondition: ld.Mode&(NeedSyntax|NeedTypes|NeedTypesInfo) != 0. | |||
| 1046 | + | func (ld *loader) loadPackage(lpkg *loaderPackage) { | |||
| 1047 | + | if lpkg.PkgPath == "unsafe" { | |||
| 1048 | + | // To avoid surprises, fill in the blanks consistent | |||
| 1049 | + | // with other packages. (For example, some analyzers | |||
| 1050 | + | // assert that each needed types.Info map is non-nil | |||
| 1051 | + | // even when there is no syntax that would cause them | |||
| 1052 | + | // to consult the map.) | |||
| 1053 | + | lpkg.Types = types.Unsafe | |||
| 1054 | + | lpkg.Fset = ld.Fset | |||
| 1055 | + | lpkg.Syntax = []*ast.File{} | |||
| 1056 | + | lpkg.TypesInfo = ld.newTypesInfo() | |||
| 1057 | + | lpkg.TypesSizes = ld.sizes | |||
| 1058 | + | return | |||
| 1059 | + | } | |||
| 1060 | + | ||||
| 1061 | + | // Call NewPackage directly with explicit name. | |||
| 1062 | + | // This avoids skew between golist and go/types when the files' | |||
| 1063 | + | // package declarations are inconsistent. | |||
| 1064 | + | lpkg.Types = types.NewPackage(lpkg.PkgPath, lpkg.Name) | |||
| 1065 | + | lpkg.Fset = ld.Fset | |||
| 1066 | + | ||||
| 1067 | + | // Start shutting down if the context is done and do not load | |||
| 1068 | + | // source or export data files. | |||
| 1069 | + | // Packages that import this one will have ld.Context.Err() != nil. | |||
| 1070 | + | // ld.Context.Err() will be returned later by refine. | |||
| 1071 | + | if ld.Context.Err() != nil { | |||
| 1072 | + | return | |||
| 1073 | + | } | |||
| 1074 | + | ||||
| 1075 | + | // Subtle: we populate all Types fields with an empty Package | |||
| 1076 | + | // before loading export data so that export data processing | |||
| 1077 | + | // never has to create a types.Package for an indirect dependency, | |||
| 1078 | + | // which would then require that such created packages be explicitly | |||
| 1079 | + | // inserted back into the Import graph as a final step after export data loading. | |||
| 1080 | + | // (Hence this return is after the Types assignment.) | |||
| 1081 | + | // The Diamond test exercises this case. | |||
| 1082 | + | if !lpkg.needtypes && !lpkg.needsrc { | |||
| 1083 | + | return | |||
| 1084 | + | } | |||
| 1085 | + | ||||
| 1086 | + | // TODO(adonovan): this condition looks wrong: | |||
| 1087 | + | // I think it should be lpkg.needtypes && !lpkg.needsrc, | |||
| 1088 | + | // so that NeedSyntax without NeedTypes can be satisfied by export data. | |||
| 1089 | + | if !lpkg.needsrc { | |||
| 1090 | + | if err := ld.loadFromExportData(lpkg); err != nil { | |||
| 1091 | + | lpkg.exportDataError = err | |||
| 1092 | + | lpkg.Errors = append(lpkg.Errors, Error{ | |||
| 1093 | + | Pos: "-", | |||
| 1094 | + | Msg: err.Error(), | |||
| 1095 | + | Kind: UnknownError, // e.g. can't find/open/parse export data | |||
| 1096 | + | }) | |||
| 1097 | + | } | |||
| 1098 | + | return // not a source package, don't get syntax trees | |||
| 1099 | + | } | |||
| 1100 | + | ||||
| 1101 | + | appendError := func(err error) { | |||
| 1102 | + | // Convert various error types into the one true Error. | |||
| 1103 | + | var errs []Error | |||
| 1104 | + | switch err := err.(type) { | |||
| 1105 | + | case Error: | |||
| 1106 | + | // from driver | |||
| 1107 | + | errs = append(errs, err) | |||
| 1108 | + | ||||
| 1109 | + | case *os.PathError: | |||
| 1110 | + | // from parser | |||
| 1111 | + | errs = append(errs, Error{ | |||
| 1112 | + | Pos: err.Path + ":1", | |||
| 1113 | + | Msg: err.Err.Error(), | |||
| 1114 | + | Kind: ParseError, | |||
| 1115 | + | }) | |||
| 1116 | + | ||||
| 1117 | + | case scanner.ErrorList: | |||
| 1118 | + | // from parser | |||
| 1119 | + | for _, err := range err { | |||
| 1120 | + | errs = append(errs, Error{ | |||
| 1121 | + | Pos: err.Pos.String(), | |||
| 1122 | + | Msg: err.Msg, | |||
| 1123 | + | Kind: ParseError, | |||
| 1124 | + | }) | |||
| 1125 | + | } | |||
| 1126 | + | ||||
| 1127 | + | case types.Error: | |||
| 1128 | + | // from type checker | |||
| 1129 | + | lpkg.TypeErrors = append(lpkg.TypeErrors, err) | |||
| 1130 | + | errs = append(errs, Error{ | |||
| 1131 | + | Pos: err.Fset.Position(err.Pos).String(), | |||
| 1132 | + | Msg: err.Msg, | |||
| 1133 | + | Kind: TypeError, | |||
| 1134 | + | }) | |||
| 1135 | + | ||||
| 1136 | + | default: | |||
| 1137 | + | // unexpected impoverished error from parser? | |||
| 1138 | + | errs = append(errs, Error{ | |||
| 1139 | + | Pos: "-", | |||
| 1140 | + | Msg: err.Error(), | |||
| 1141 | + | Kind: UnknownError, | |||
| 1142 | + | }) | |||
| 1143 | + | ||||
| 1144 | + | // If you see this error message, please file a bug. | |||
| 1145 | + | log.Printf("internal error: error %q (%T) without position", err, err) | |||
| 1146 | + | } | |||
| 1147 | + | ||||
| 1148 | + | lpkg.Errors = append(lpkg.Errors, errs...) | |||
| 1149 | + | } | |||
| 1150 | + | ||||
| 1151 | + | // If the go command on the PATH is newer than the runtime, | |||
| 1152 | + | // then the go/{scanner,ast,parser,types} packages from the | |||
| 1153 | + | // standard library may be unable to process the files | |||
| 1154 | + | // selected by go list. | |||
| 1155 | + | // | |||
| 1156 | + | // There is currently no way to downgrade the effective | |||
| 1157 | + | // version of the go command (see issue 52078), so we proceed | |||
| 1158 | + | // with the newer go command but, in case of parse or type | |||
| 1159 | + | // errors, we emit an additional diagnostic. | |||
| 1160 | + | // | |||
| 1161 | + | // See: | |||
| 1162 | + | // - golang.org/issue/52078 (flag to set release tags) | |||
| 1163 | + | // - golang.org/issue/50825 (gopls legacy version support) | |||
| 1164 | + | // - golang.org/issue/55883 (go/packages confusing error) | |||
| 1165 | + | // | |||
| 1166 | + | // Should we assert a hard minimum of (currently) go1.16 here? | |||
| 1167 | + | var runtimeVersion int | |||
| 1168 | + | if _, err := fmt.Sscanf(runtime.Version(), "go1.%d", &runtimeVersion); err == nil && runtimeVersion < lpkg.goVersion { | |||
| 1169 | + | defer func() { | |||
| 1170 | + | if len(lpkg.Errors) > 0 { | |||
| 1171 | + | appendError(Error{ | |||
| 1172 | + | Pos: "-", | |||
| 1173 | + | Msg: fmt.Sprintf("This application uses version go1.%d of the source-processing packages but runs version go1.%d of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.", runtimeVersion, lpkg.goVersion), | |||
| 1174 | + | Kind: UnknownError, | |||
| 1175 | + | }) | |||
| 1176 | + | } | |||
| 1177 | + | }() | |||
| 1178 | + | } | |||
| 1179 | + | ||||
| 1180 | + | if ld.Config.Mode&NeedTypes != 0 && len(lpkg.CompiledGoFiles) == 0 && lpkg.ExportFile != "" { | |||
| 1181 | + | // The config requested loading sources and types, but sources are missing. | |||
| 1182 | + | // Add an error to the package and fall back to loading from export data. | |||
| 1183 | + | appendError(Error{"-", fmt.Sprintf("sources missing for package %s", lpkg.ID), ParseError}) | |||
| 1184 | + | _ = ld.loadFromExportData(lpkg) // ignore any secondary errors | |||
| 1185 | + | ||||
| 1186 | + | return // can't get syntax trees for this package | |||
| 1187 | + | } | |||
| 1188 | + | ||||
| 1189 | + | files, errs := ld.parseFiles(lpkg.CompiledGoFiles) | |||
| 1190 | + | for _, err := range errs { | |||
| 1191 | + | appendError(err) | |||
| 1192 | + | } | |||
| 1193 | + | ||||
| 1194 | + | lpkg.Syntax = files | |||
| 1195 | + | if ld.Config.Mode&(NeedTypes|NeedTypesInfo) == 0 { | |||
| 1196 | + | return | |||
| 1197 | + | } | |||
| 1198 | + | ||||
| 1199 | + | // Start shutting down if the context is done and do not type check. | |||
| 1200 | + | // Packages that import this one will have ld.Context.Err() != nil. | |||
| 1201 | + | // ld.Context.Err() will be returned later by refine. | |||
| 1202 | + | if ld.Context.Err() != nil { | |||
| 1203 | + | return | |||
| 1204 | + | } | |||
| 1205 | + | ||||
| 1206 | + | lpkg.TypesInfo = ld.newTypesInfo() | |||
| 1207 | + | lpkg.TypesSizes = ld.sizes | |||
| 1208 | + | ||||
| 1209 | + | importer := importerFunc(func(path string) (*types.Package, error) { | |||
| 1210 | + | if path == "unsafe" { | |||
| 1211 | + | return types.Unsafe, nil | |||
| 1212 | + | } | |||
| 1213 | + | ||||
| 1214 | + | // The imports map is keyed by import path. | |||
| 1215 | + | ipkg := lpkg.Imports[path] | |||
| 1216 | + | if ipkg == nil { | |||
| 1217 | + | if err := lpkg.importErrors[path]; err != nil { | |||
| 1218 | + | return nil, err | |||
| 1219 | + | } | |||
| 1220 | + | // There was skew between the metadata and the | |||
| 1221 | + | // import declarations, likely due to an edit | |||
| 1222 | + | // race, or because the ParseFile feature was | |||
| 1223 | + | // used to supply alternative file contents. | |||
| 1224 | + | return nil, fmt.Errorf("no metadata for %s", path) | |||
| 1225 | + | } | |||
| 1226 | + | ||||
| 1227 | + | if ipkg.Types != nil && ipkg.Types.Complete() { | |||
| 1228 | + | return ipkg.Types, nil | |||
| 1229 | + | } | |||
| 1230 | + | ||||
| 1231 | + | // If types are unavailable, there must be an export data error. | |||
| 1232 | + | if ipkg.exportDataError != nil { | |||
| 1233 | + | return nil, ipkg.exportDataError | |||
| 1234 | + | } | |||
| 1235 | + | ||||
| 1236 | + | log.Fatalf("internal error: expected complete types for package %q", path) | |||
| 1237 | + | panic("unreachable") | |||
| 1238 | + | }) | |||
| 1239 | + | ||||
| 1240 | + | // type-check | |||
| 1241 | + | tc := &types.Config{ | |||
| 1242 | + | Importer: importer, | |||
| 1243 | + | ||||
| 1244 | + | // Type-check bodies of functions only in initial packages. | |||
| 1245 | + | // Example: for import graph A->B->C and initial packages {A,C}, | |||
| 1246 | + | // we can ignore function bodies in B. | |||
| 1247 | + | IgnoreFuncBodies: ld.Mode&NeedDeps == 0 && !lpkg.initial, | |||
| 1248 | + | ||||
| 1249 | + | Error: appendError, | |||
| 1250 | + | Sizes: ld.sizes, // may be nil | |||
| 1251 | + | } | |||
| 1252 | + | if lpkg.Module != nil && lpkg.Module.GoVersion != "" { | |||
| 1253 | + | tc.GoVersion = "go" + lpkg.Module.GoVersion | |||
| 1254 | + | } else if ld.externalDriver && lpkg.goVersion != 0 { | |||
| 1255 | + | // Module information is missing when GOPACKAGESDRIVER is used, | |||
| 1256 | + | // so use the go version from the driver response. | |||
| 1257 | + | tc.GoVersion = fmt.Sprintf("go1.%d", lpkg.goVersion) | |||
| 1258 | + | } | |||
| 1259 | + | if (ld.Mode & typecheckCgo) != 0 { | |||
| 1260 | + | if !typesinternal.SetUsesCgo(tc) { | |||
| 1261 | + | appendError(Error{ | |||
| 1262 | + | Msg: "typecheckCgo requires Go 1.15+", | |||
| 1263 | + | Kind: ListError, | |||
| 1264 | + | }) | |||
| 1265 | + | return | |||
| 1266 | + | } | |||
| 1267 | + | } | |||
| 1268 | + | ||||
| 1269 | + | // Type-checking is CPU intensive. | |||
| 1270 | + | cpuLimit <- unit{} // acquire a token | |||
| 1271 | + | defer func() { <-cpuLimit }() // release a token | |||
| 1272 | + | ||||
| 1273 | + | typErr := types.NewChecker(tc, ld.Fset, lpkg.Types, lpkg.TypesInfo).Files(lpkg.Syntax) | |||
| 1274 | + | lpkg.importErrors = nil // no longer needed | |||
| 1275 | + | ||||
| 1276 | + | // In go/types go1.21 and go1.22, Checker.Files failed fast with a | |||
| 1277 | + | // a "too new" error, without calling tc.Error and without | |||
| 1278 | + | // proceeding to type-check the package (#66525). | |||
| 1279 | + | // We rely on the runtimeVersion error to give the suggested remedy. | |||
| 1280 | + | if typErr != nil && len(lpkg.Errors) == 0 && len(lpkg.Syntax) > 0 { | |||
| 1281 | + | if msg := typErr.Error(); strings.HasPrefix(msg, "package requires newer Go version") { | |||
| 1282 | + | appendError(types.Error{ | |||
| 1283 | + | Fset: ld.Fset, | |||
| 1284 | + | Pos: lpkg.Syntax[0].Package, | |||
| 1285 | + | Msg: msg, | |||
| 1286 | + | }) | |||
| 1287 | + | } | |||
| 1288 | + | } | |||
| 1289 | + | ||||
| 1290 | + | // If !Cgo, the type-checker uses FakeImportC mode, so | |||
| 1291 | + | // it doesn't invoke the importer for import "C", | |||
| 1292 | + | // nor report an error for the import, | |||
| 1293 | + | // or for any undefined C.f reference. | |||
| 1294 | + | // We must detect this explicitly and correctly | |||
| 1295 | + | // mark the package as IllTyped (by reporting an error). | |||
| 1296 | + | // TODO(adonovan): if these errors are annoying, | |||
| 1297 | + | // we could just set IllTyped quietly. | |||
| 1298 | + | if tc.FakeImportC { | |||
| 1299 | + | outer: | |||
| 1300 | + | for _, f := range lpkg.Syntax { | |||
| 1301 | + | for _, imp := range f.Imports { | |||
| 1302 | + | if imp.Path.Value == `"C"` { | |||
| 1303 | + | err := types.Error{Fset: ld.Fset, Pos: imp.Pos(), Msg: `import "C" ignored`} | |||
| 1304 | + | appendError(err) | |||
| 1305 | + | break outer | |||
| 1306 | + | } | |||
| 1307 | + | } | |||
| 1308 | + | } | |||
| 1309 | + | } | |||
| 1310 | + | ||||
| 1311 | + | // If types.Checker.Files had an error that was unreported, | |||
| 1312 | + | // make sure to report the unknown error so the package is illTyped. | |||
| 1313 | + | if typErr != nil && len(lpkg.Errors) == 0 { | |||
| 1314 | + | appendError(typErr) | |||
| 1315 | + | } | |||
| 1316 | + | ||||
| 1317 | + | // Record accumulated errors. | |||
| 1318 | + | illTyped := len(lpkg.Errors) > 0 | |||
| 1319 | + | if !illTyped { | |||
| 1320 | + | for _, imp := range lpkg.Imports { | |||
| 1321 | + | if imp.IllTyped { | |||
| 1322 | + | illTyped = true | |||
| 1323 | + | break | |||
| 1324 | + | } | |||
| 1325 | + | } | |||
| 1326 | + | } | |||
| 1327 | + | lpkg.IllTyped = illTyped | |||
| 1328 | + | } | |||
| 1329 | + | ||||
| 1330 | + | func (ld *loader) newTypesInfo() *types.Info { | |||
| 1331 | + | // Populate TypesInfo only if needed, as it | |||
| 1332 | + | // causes the type checker to work much harder. | |||
| 1333 | + | if ld.Config.Mode&NeedTypesInfo == 0 { | |||
| 1334 | + | return nil | |||
| 1335 | + | } | |||
| 1336 | + | return &types.Info{ | |||
| 1337 | + | Types: make(map[ast.Expr]types.TypeAndValue), | |||
| 1338 | + | Defs: make(map[*ast.Ident]types.Object), | |||
| 1339 | + | Uses: make(map[*ast.Ident]types.Object), | |||
| 1340 | + | Implicits: make(map[ast.Node]types.Object), | |||
| 1341 | + | Instances: make(map[*ast.Ident]types.Instance), | |||
| 1342 | + | Scopes: make(map[ast.Node]*types.Scope), | |||
| 1343 | + | Selections: make(map[*ast.SelectorExpr]*types.Selection), | |||
| 1344 | + | FileVersions: make(map[*ast.File]string), | |||
| 1345 | + | } | |||
| 1346 | + | } | |||
| 1347 | + | ||||
| 1348 | + | // An importFunc is an implementation of the single-method | |||
| 1349 | + | // types.Importer interface based on a function value. | |||
| 1350 | + | type importerFunc func(path string) (*types.Package, error) | |||
| 1351 | + | ||||
| 1352 | + | func (f importerFunc) Import(path string) (*types.Package, error) { return f(path) } | |||
| 1353 | + | ||||
| 1354 | + | // We use a counting semaphore to limit | |||
| 1355 | + | // the number of parallel I/O calls or CPU threads per process. | |||
| 1356 | + | var ( | |||
| 1357 | + | ioLimit = make(chan unit, 20) | |||
| 1358 | + | cpuLimit = make(chan unit, runtime.GOMAXPROCS(0)) | |||
| 1359 | + | ) | |||
| 1360 | + | ||||
| 1361 | + | func (ld *loader) parseFile(filename string) (*ast.File, error) { | |||
| 1362 | + | ld.parseCacheMu.Lock() | |||
| 1363 | + | v, ok := ld.parseCache[filename] | |||
| 1364 | + | if ok { | |||
| 1365 | + | // cache hit | |||
| 1366 | + | ld.parseCacheMu.Unlock() | |||
| 1367 | + | <-v.ready | |||
| 1368 | + | } else { | |||
| 1369 | + | // cache miss | |||
| 1370 | + | v = &parseValue{ready: make(chan struct{})} | |||
| 1371 | + | ld.parseCache[filename] = v | |||
| 1372 | + | ld.parseCacheMu.Unlock() | |||
| 1373 | + | ||||
| 1374 | + | var src []byte | |||
| 1375 | + | for f, contents := range ld.Config.Overlay { | |||
| 1376 | + | // TODO(adonovan): Inefficient for large overlays. | |||
| 1377 | + | // Do an exact name-based map lookup | |||
| 1378 | + | // (for nonexistent files) followed by a | |||
| 1379 | + | // FileID-based map lookup (for existing ones). | |||
| 1380 | + | if sameFile(f, filename) { | |||
| 1381 | + | src = contents | |||
| 1382 | + | break | |||
| 1383 | + | } | |||
| 1384 | + | } | |||
| 1385 | + | var err error | |||
| 1386 | + | if src == nil { | |||
| 1387 | + | ioLimit <- unit{} // acquire a token | |||
| 1388 | + | src, err = os.ReadFile(filename) | |||
| 1389 | + | <-ioLimit // release a token | |||
| 1390 | + | } | |||
| 1391 | + | if err != nil { | |||
| 1392 | + | v.err = err | |||
| 1393 | + | } else { | |||
| 1394 | + | // Parsing is CPU intensive. | |||
| 1395 | + | cpuLimit <- unit{} // acquire a token | |||
| 1396 | + | v.f, v.err = ld.ParseFile(ld.Fset, filename, src) | |||
| 1397 | + | <-cpuLimit // release a token | |||
| 1398 | + | } | |||
| 1399 | + | ||||
| 1400 | + | close(v.ready) | |||
| 1401 | + | } | |||
| 1402 | + | return v.f, v.err | |||
| 1403 | + | } | |||
| 1404 | + | ||||
| 1405 | + | // parseFiles reads and parses the Go source files and returns the ASTs | |||
| 1406 | + | // of the ones that could be at least partially parsed, along with a | |||
| 1407 | + | // list of I/O and parse errors encountered. | |||
| 1408 | + | // | |||
| 1409 | + | // Because files are scanned in parallel, the token.Pos | |||
| 1410 | + | // positions of the resulting ast.Files are not ordered. | |||
| 1411 | + | func (ld *loader) parseFiles(filenames []string) ([]*ast.File, []error) { | |||
| 1412 | + | var ( | |||
| 1413 | + | n = len(filenames) | |||
| 1414 | + | parsed = make([]*ast.File, n) | |||
| 1415 | + | errors = make([]error, n) | |||
| 1416 | + | ) | |||
| 1417 | + | var g errgroup.Group | |||
| 1418 | + | for i, filename := range filenames { | |||
| 1419 | + | // This creates goroutines unnecessarily in the | |||
| 1420 | + | // cache-hit case, but that case is uncommon. | |||
| 1421 | + | g.Go(func() error { | |||
| 1422 | + | parsed[i], errors[i] = ld.parseFile(filename) | |||
| 1423 | + | return nil | |||
| 1424 | + | }) | |||
| 1425 | + | } | |||
| 1426 | + | g.Wait() | |||
| 1427 | + | ||||
| 1428 | + | // Eliminate nils, preserving order. | |||
| 1429 | + | var o int | |||
| 1430 | + | for _, f := range parsed { | |||
| 1431 | + | if f != nil { | |||
| 1432 | + | parsed[o] = f | |||
| 1433 | + | o++ | |||
| 1434 | + | } | |||
| 1435 | + | } | |||
| 1436 | + | parsed = parsed[:o] | |||
| 1437 | + | ||||
| 1438 | + | o = 0 | |||
| 1439 | + | for _, err := range errors { | |||
| 1440 | + | if err != nil { | |||
| 1441 | + | errors[o] = err | |||
| 1442 | + | o++ | |||
| 1443 | + | } | |||
| 1444 | + | } | |||
| 1445 | + | errors = errors[:o] | |||
| 1446 | + | ||||
| 1447 | + | return parsed, errors | |||
| 1448 | + | } | |||
| 1449 | + | ||||
| 1450 | + | // sameFile returns true if x and y have the same basename and denote | |||
| 1451 | + | // the same file. | |||
| 1452 | + | func sameFile(x, y string) bool { | |||
| 1453 | + | if x == y { | |||
| 1454 | + | // It could be the case that y doesn't exist. | |||
| 1455 | + | // For instance, it may be an overlay file that | |||
| 1456 | + | // hasn't been written to disk. To handle that case | |||
| 1457 | + | // let x == y through. (We added the exact absolute path | |||
| 1458 | + | // string to the CompiledGoFiles list, so the unwritten | |||
| 1459 | + | // overlay case implies x==y.) | |||
| 1460 | + | return true | |||
| 1461 | + | } | |||
| 1462 | + | if strings.EqualFold(filepath.Base(x), filepath.Base(y)) { // (optimisation) | |||
| 1463 | + | if xi, err := os.Stat(x); err == nil { | |||
| 1464 | + | if yi, err := os.Stat(y); err == nil { | |||
| 1465 | + | return os.SameFile(xi, yi) | |||
| 1466 | + | } | |||
| 1467 | + | } | |||
| 1468 | + | } | |||
| 1469 | + | return false | |||
| 1470 | + | } | |||
| 1471 | + | ||||
| 1472 | + | // loadFromExportData ensures that type information is present for the specified | |||
| 1473 | + | // package, loading it from an export data file on the first request. | |||
| 1474 | + | // On success it sets lpkg.Types to a new Package. | |||
| 1475 | + | func (ld *loader) loadFromExportData(lpkg *loaderPackage) error { | |||
| 1476 | + | if lpkg.PkgPath == "" { | |||
| 1477 | + | log.Fatalf("internal error: Package %s has no PkgPath", lpkg) | |||
| 1478 | + | } | |||
| 1479 | + | ||||
| 1480 | + | // Because gcexportdata.Read has the potential to create or | |||
| 1481 | + | // modify the types.Package for each node in the transitive | |||
| 1482 | + | // closure of dependencies of lpkg, all exportdata operations | |||
| 1483 | + | // must be sequential. (Finer-grained locking would require | |||
| 1484 | + | // changes to the gcexportdata API.) | |||
| 1485 | + | // | |||
| 1486 | + | // The exportMu lock guards the lpkg.Types field and the | |||
| 1487 | + | // types.Package it points to, for each loaderPackage in the graph. | |||
| 1488 | + | // | |||
| 1489 | + | // Not all accesses to Package.Pkg need to be protected by exportMu: | |||
| 1490 | + | // graph ordering ensures that direct dependencies of source | |||
| 1491 | + | // packages are fully loaded before the importer reads their Pkg field. | |||
| 1492 | + | ld.exportMu.Lock() | |||
| 1493 | + | defer ld.exportMu.Unlock() | |||
| 1494 | + | ||||
| 1495 | + | if tpkg := lpkg.Types; tpkg != nil && tpkg.Complete() { | |||
| 1496 | + | return nil // cache hit | |||
| 1497 | + | } | |||
| 1498 | + | ||||
| 1499 | + | lpkg.IllTyped = true // fail safe | |||
| 1500 | + | ||||
| 1501 | + | if lpkg.ExportFile == "" { | |||
| 1502 | + | // Errors while building export data will have been printed to stderr. | |||
| 1503 | + | return fmt.Errorf("no export data file") | |||
| 1504 | + | } | |||
| 1505 | + | f, err := os.Open(lpkg.ExportFile) | |||
| 1506 | + | if err != nil { | |||
| 1507 | + | return err | |||
| 1508 | + | } | |||
| 1509 | + | defer f.Close() | |||
| 1510 | + | ||||
| 1511 | + | // Read gc export data. | |||
| 1512 | + | // | |||
| 1513 | + | // We don't currently support gccgo export data because all | |||
| 1514 | + | // underlying workspaces use the gc toolchain. (Even build | |||
| 1515 | + | // systems that support gccgo don't use it for workspace | |||
| 1516 | + | // queries.) | |||
| 1517 | + | r, err := gcexportdata.NewReader(f) | |||
| 1518 | + | if err != nil { | |||
| 1519 | + | return fmt.Errorf("reading %s: %v", lpkg.ExportFile, err) | |||
| 1520 | + | } | |||
| 1521 | + | ||||
| 1522 | + | // Build the view. | |||
| 1523 | + | // | |||
| 1524 | + | // The gcexportdata machinery has no concept of package ID. | |||
| 1525 | + | // It identifies packages by their PkgPath, which although not | |||
| 1526 | + | // globally unique is unique within the scope of one invocation | |||
| 1527 | + | // of the linker, type-checker, or gcexportdata. | |||
| 1528 | + | // | |||
| 1529 | + | // So, we must build a PkgPath-keyed view of the global | |||
| 1530 | + | // (conceptually ID-keyed) cache of packages and pass it to | |||
| 1531 | + | // gcexportdata. The view must contain every existing | |||
| 1532 | + | // package that might possibly be mentioned by the | |||
| 1533 | + | // current package---its transitive closure. | |||
| 1534 | + | // | |||
| 1535 | + | // In loadPackage, we unconditionally create a types.Package for | |||
| 1536 | + | // each dependency so that export data loading does not | |||
| 1537 | + | // create new ones. | |||
| 1538 | + | // | |||
| 1539 | + | // TODO(adonovan): it would be simpler and more efficient | |||
| 1540 | + | // if the export data machinery invoked a callback to | |||
| 1541 | + | // get-or-create a package instead of a map. | |||
| 1542 | + | // | |||
| 1543 | + | view := make(map[string]*types.Package) // view seen by gcexportdata | |||
| 1544 | + | seen := make(map[*loaderPackage]bool) // all visited packages | |||
| 1545 | + | var visit func(pkgs map[string]*Package) | |||
| 1546 | + | visit = func(pkgs map[string]*Package) { | |||
| 1547 | + | for _, p := range pkgs { | |||
| 1548 | + | lpkg := ld.pkgs[p.ID] | |||
| 1549 | + | if !seen[lpkg] { | |||
| 1550 | + | seen[lpkg] = true | |||
| 1551 | + | view[lpkg.PkgPath] = lpkg.Types | |||
| 1552 | + | visit(lpkg.Imports) | |||
| 1553 | + | } | |||
| 1554 | + | } | |||
| 1555 | + | } | |||
| 1556 | + | visit(lpkg.Imports) | |||
| 1557 | + | ||||
| 1558 | + | viewLen := len(view) + 1 // adding the self package | |||
| 1559 | + | // Parse the export data. | |||
| 1560 | + | // (May modify incomplete packages in view but not create new ones.) | |||
| 1561 | + | tpkg, err := gcexportdata.Read(r, ld.Fset, view, lpkg.PkgPath) | |||
| 1562 | + | if err != nil { | |||
| 1563 | + | return fmt.Errorf("reading %s: %v", lpkg.ExportFile, err) | |||
| 1564 | + | } | |||
| 1565 | + | if _, ok := view["go.shape"]; ok { | |||
| 1566 | + | // Account for the pseudopackage "go.shape" that gets | |||
| 1567 | + | // created by generic code. | |||
| 1568 | + | viewLen++ | |||
| 1569 | + | } | |||
| 1570 | + | if viewLen != len(view) { | |||
| 1571 | + | log.Panicf("golang.org/x/tools/go/packages: unexpected new packages during load of %s", lpkg.PkgPath) | |||
| 1572 | + | } | |||
| 1573 | + | ||||
| 1574 | + | lpkg.Types = tpkg | |||
| 1575 | + | lpkg.IllTyped = false | |||
| 1576 | + | return nil | |||
| 1577 | + | } | |||
| 1578 | + | ||||
| 1579 | + | // impliedLoadMode returns loadMode with its dependencies. | |||
| 1580 | + | func impliedLoadMode(loadMode LoadMode) LoadMode { | |||
| 1581 | + | if loadMode&(NeedDeps|NeedTypes|NeedTypesInfo) != 0 { | |||
| 1582 | + | // All these things require knowing the import graph. | |||
| 1583 | + | loadMode |= NeedImports | |||
| 1584 | + | } | |||
| 1585 | + | if loadMode&NeedTypes != 0 { | |||
| 1586 | + | // Types require the GoVersion from Module. | |||
| 1587 | + | loadMode |= NeedModule | |||
| 1588 | + | } | |||
| 1589 | + | ||||
| 1590 | + | return loadMode | |||
| 1591 | + | } | |||
| 1592 | + | ||||
| 1593 | + | func usesExportData(cfg *Config) bool { | |||
| 1594 | + | return cfg.Mode&NeedExportFile != 0 || cfg.Mode&NeedTypes != 0 && cfg.Mode&NeedDeps == 0 | |||
| 1595 | + | } | |||
| 1596 | + | ||||
| 1597 | + | type unit struct{} | |||
| 1598 | + | ||||
| 1599 | + | func cond[T any](cond bool, t, f T) T { | |||
| 1600 | + | if cond { | |||
| 1601 | + | return t | |||
| 1602 | + | } else { | |||
| 1603 | + | return f | |||
| 1604 | + | } | |||
| 1605 | + | } | |||