chore(deps): stop tracking vendored modules
- commit
- bdb7c71a2ff1ba7d0b058ac92dea14f87de2fe68
- author
- brice · · 2026-07-22 07:22 UTC
- parent
- 659be60
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3329 files · +2 -1396109
M .gitignore +2 -2
| @@ -16,8 +16,8 @@ dumber.exe | |||
| 16 | 16 | # Output of the go coverage tool | |
| 17 | 17 | *.out | |
| 18 | 18 | ||
| 19 | - | # Dependency directories (remove the comment below to include it) | |
| 20 | - | # vendor/ | |
| 19 | + | # Dependency directories | |
| 20 | + | vendor/ | |
| 21 | 21 | ||
| 22 | 22 | # Go workspace file | |
| 23 | 23 | go.work | |
| @@ -16,8 +16,8 @@ dumber.exe | |||||
| 16 | # Output of the go coverage tool | 16 | # Output of the go coverage tool | ||
| 17 | *.out | 17 | *.out | ||
| 18 | 18 | ||||
| 19 | - | # Dependency directories (remove the comment below to include it) | 19 | + | # Dependency directories |
| 20 | - | # vendor/ | 20 | + | vendor/ |
| 21 | 21 | ||||
| 22 | # Go workspace file | 22 | # Go workspace file | ||
| 23 | go.work | 23 | go.work | ||
D vendor/github.com/a-h/parse/.gitignore +0 -1 generated file: collapsed
D vendor/github.com/a-h/parse/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/a-h/parse/README.md +0 -145 generated file: collapsed
D vendor/github.com/a-h/parse/all.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/parse/any.go +0 -22 generated file: collapsed
D vendor/github.com/a-h/parse/convert.go +0 -14 generated file: collapsed
D vendor/github.com/a-h/parse/digits.go +0 -4 generated file: collapsed
D vendor/github.com/a-h/parse/eof.go +0 -15 generated file: collapsed
D vendor/github.com/a-h/parse/error.go +0 -21 generated file: collapsed
D vendor/github.com/a-h/parse/input.go +0 -79 generated file: collapsed
D vendor/github.com/a-h/parse/optional.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/parse/or.go +0 -37 generated file: collapsed
D vendor/github.com/a-h/parse/regexp.go +0 -46 generated file: collapsed
D vendor/github.com/a-h/parse/rune.go +0 -58 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof2.go +0 -27 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof3.go +0 -35 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof4.go +0 -41 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof5.go +0 -48 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof6.go +0 -55 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof7.go +0 -62 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof8.go +0 -69 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof9.go +0 -76 generated file: collapsed
D vendor/github.com/a-h/parse/string.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/parse/stringfrom.go +0 -30 generated file: collapsed
D vendor/github.com/a-h/parse/stringuntil.go +0 -49 generated file: collapsed
D vendor/github.com/a-h/parse/then.go +0 -9 generated file: collapsed
D vendor/github.com/a-h/parse/times.go +0 -83 generated file: collapsed
D vendor/github.com/a-h/parse/tuples.go +0 -69 generated file: collapsed
D vendor/github.com/a-h/parse/types.go +0 -33 generated file: collapsed
D vendor/github.com/a-h/parse/until.go +0 -68 generated file: collapsed
D vendor/github.com/a-h/parse/whitespace.go +0 -29 generated file: collapsed
D vendor/github.com/a-h/templ/.dockerignore +0 -3 generated file: collapsed
D vendor/github.com/a-h/templ/.envrc +0 -1 generated file: collapsed
D vendor/github.com/a-h/templ/.gitignore +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/.goreleaser.yaml +0 -72 generated file: collapsed
D vendor/github.com/a-h/templ/.ignore +0 -9 generated file: collapsed
D vendor/github.com/a-h/templ/.version +0 -1 generated file: collapsed
D vendor/github.com/a-h/templ/CODE_OF_CONDUCT.md +0 -128 generated file: collapsed
D vendor/github.com/a-h/templ/CONTRIBUTING.md +0 -247 generated file: collapsed
D vendor/github.com/a-h/templ/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/a-h/templ/README.md +0 -194 generated file: collapsed
D vendor/github.com/a-h/templ/SECURITY.md +0 -9 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/fmtcmd/main.go +0 -132 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/fmtcmd/testdata.txtar +0 -66 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/cmd.go +0 -452 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/eventhandler.go +0 -349 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/fatalerror.go +0 -23 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/main.go +0 -237 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/modcheck/modcheck.go +0 -82 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/proxy.go +0 -385 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/script.js +0 -10 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_unix.go +0 -88 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_windows.go +0 -75 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/sse/server.go +0 -84 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/watcher/watch.go +0 -166 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/infocmd/main.go +0 -195 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/handler.go +0 -130 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list.templ +0 -22 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list_templ.go +0 -114 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/main.go +0 -145 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/pls/main.go +0 -128 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/client.go +0 -146 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/diagnosticcache.go +0 -61 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/documentcontents.go +0 -215 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/rewrite.go +0 -24 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/server.go +0 -1464 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/snippets.go +0 -111 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/sourcemapcache.go +0 -60 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/stdrwc.go +0 -50 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/main.go +0 -280 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/processor/processor.go +0 -66 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/sloghandler/handler.go +0 -120 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation.templ +0 -68 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation_templ.go +0 -295 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/visualize/types.go +0 -87 generated file: collapsed
D vendor/github.com/a-h/templ/cosign.pub +0 -4 generated file: collapsed
D vendor/github.com/a-h/templ/flake.lock +0 -87 generated file: collapsed
D vendor/github.com/a-h/templ/flake.nix +0 -99 generated file: collapsed
D vendor/github.com/a-h/templ/flush.go +0 -36 generated file: collapsed
D vendor/github.com/a-h/templ/fragment.go +0 -73 generated file: collapsed
D vendor/github.com/a-h/templ/generator/generator.go +0 -1829 generated file: collapsed
D vendor/github.com/a-h/templ/generator/rangewriter.go +0 -122 generated file: collapsed
D vendor/github.com/a-h/templ/handler.go +0 -163 generated file: collapsed
D vendor/github.com/a-h/templ/ide-demo.gif +0 -0 binary file: no text diff
binary file: no text diff
D vendor/github.com/a-h/templ/internal/format/scriptelement.go +0 -96 generated file: collapsed
D vendor/github.com/a-h/templ/internal/format/styleelement.go +0 -25 generated file: collapsed
D vendor/github.com/a-h/templ/internal/format/templ.go +0 -102 generated file: collapsed
D vendor/github.com/a-h/templ/internal/htmlfind/htmlfind.go +0 -67 generated file: collapsed
D vendor/github.com/a-h/templ/internal/imports/process.go +0 -218 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/docheader.go +0 -27 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/docheaderparser.go +0 -53 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/pkgloader.go +0 -55 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/pkgtraverser.go +0 -110 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/templdoclazyloader.go +0 -161 generated file: collapsed
D vendor/github.com/a-h/templ/internal/prettier/prettier.go +0 -133 generated file: collapsed
D vendor/github.com/a-h/templ/internal/prettier/testdata.txtar +0 -12 generated file: collapsed
D vendor/github.com/a-h/templ/internal/skipdir/skipdir.go +0 -20 generated file: collapsed
D vendor/github.com/a-h/templ/internal/syncmap/map.go +0 -49 generated file: collapsed
D vendor/github.com/a-h/templ/internal/syncset/set.go +0 -42 generated file: collapsed
D vendor/github.com/a-h/templ/join.go +0 -19 generated file: collapsed
D vendor/github.com/a-h/templ/js.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/jsonscript.go +0 -85 generated file: collapsed
D vendor/github.com/a-h/templ/jsonstring.go +0 -14 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/LICENSE +0 -29 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/codes.go +0 -86 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/conn.go +0 -244 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/errors.go +0 -70 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/handler.go +0 -120 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/jsonrpc2.go +0 -7 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/message.go +0 -354 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/serve.go +0 -131 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/stream.go +0 -225 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/wire.go +0 -140 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/base.go +0 -95 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/basic.go +0 -705 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/callhierarchy.go +0 -103 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/capabilities_client.go +0 -1068 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/capabilities_server.go +0 -523 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/client.go +0 -412 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/context.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/deprecated.go +0 -264 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/diagnostics.go +0 -149 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/doc.go +0 -23 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/errors.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/general.go +0 -461 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/handler.go +0 -88 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/language.go +0 -1401 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/progress.go +0 -119 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/protocol.go +0 -41 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/registration.go +0 -44 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/selectionrange.go +0 -110 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/semantic_token.go +0 -179 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/server.go +0 -1893 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/text.go +0 -111 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/util.go +0 -9 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/version.go +0 -7 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/window.go +0 -111 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/workspace.go +0 -213 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/uri/uri.go +0 -245 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/xcontext/xcontext.go +0 -22 generated file: collapsed
D vendor/github.com/a-h/templ/once.go +0 -63 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/calltemplateparser.go +0 -37 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/childrenparser.go +0 -25 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/conditionalattributeparser.go +0 -103 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/cssparser.go +0 -200 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/diagnostics.go +0 -64 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/doctypeparser.go +0 -33 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/elementparser.go +0 -605 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/expressionparser.go +0 -246 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/fallthroughparser.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/forexpressionparser.go +0 -57 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/fuzz.sh +0 -5 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/gocodeparser.go +0 -64 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/gocommentparser.go +0 -66 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goexpression/fuzz.sh +0 -19 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goexpression/parse.go +0 -343 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goexpression/scanner.go +0 -180 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goparser.go +0 -70 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/htmlcommentparser.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/ifexpressionparser.go +0 -144 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/packageparser.go +0 -32 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/parser.go +0 -55 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/raw.go +0 -67 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/scriptparser.go +0 -336 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/scripttemplateparser.go +0 -91 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/sourcemap.go +0 -134 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/stringexpressionparser.go +0 -44 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/structure.go +0 -43 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/switchexpressionparser.go +0 -171 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/templatefile.go +0 -195 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/templateparser.go +0 -154 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/templelementparser.go +0 -59 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/textparser.go +0 -53 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/types.go +0 -1537 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/visitor.go +0 -36 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/visitor/visitor.go +0 -357 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/whitespaceparser.go +0 -14 generated file: collapsed
D vendor/github.com/a-h/templ/runtime.go +0 -736 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/buffer.go +0 -62 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/bufferpool.go +0 -38 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/builder.go +0 -8 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/runtime.go +0 -21 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/scriptelement.go +0 -107 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/styleattribute.go +0 -217 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/watchmode.go +0 -181 generated file: collapsed
D vendor/github.com/a-h/templ/safehtml/style.go +0 -199 generated file: collapsed
D vendor/github.com/a-h/templ/scripttemplate.go +0 -150 generated file: collapsed
D vendor/github.com/a-h/templ/templ.png +0 -0 binary file: no text diff
binary file: no text diff
D vendor/github.com/a-h/templ/url.go +0 -31 generated file: collapsed
D vendor/github.com/a-h/templ/version.go +0 -10 generated file: collapsed
D vendor/github.com/a-h/templ/watchmode.go +0 -105 generated file: collapsed
D vendor/github.com/andybalholm/brotli/.gitignore +0 -2 generated file: collapsed
D vendor/github.com/andybalholm/brotli/LICENSE +0 -19 generated file: collapsed
D vendor/github.com/andybalholm/brotli/README.md +0 -19 generated file: collapsed
D vendor/github.com/andybalholm/brotli/backward_references.go +0 -185 generated file: collapsed
D vendor/github.com/andybalholm/brotli/backward_references_hq.go +0 -796 generated file: collapsed
D vendor/github.com/andybalholm/brotli/bit_cost.go +0 -436 generated file: collapsed
D vendor/github.com/andybalholm/brotli/bit_reader.go +0 -266 generated file: collapsed
D vendor/github.com/andybalholm/brotli/bitwriter.go +0 -56 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter.go +0 -144 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter_command.go +0 -434 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter_distance.go +0 -433 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter_literal.go +0 -433 generated file: collapsed
D vendor/github.com/andybalholm/brotli/brotli_bit_stream.go +0 -1435 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster.go +0 -30 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster_command.go +0 -164 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster_distance.go +0 -326 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster_literal.go +0 -326 generated file: collapsed
D vendor/github.com/andybalholm/brotli/command.go +0 -254 generated file: collapsed
D vendor/github.com/andybalholm/brotli/compress_fragment.go +0 -834 generated file: collapsed
D vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go +0 -775 generated file: collapsed
D vendor/github.com/andybalholm/brotli/constants.go +0 -77 generated file: collapsed
D vendor/github.com/andybalholm/brotli/context.go +0 -2176 generated file: collapsed
D vendor/github.com/andybalholm/brotli/decode.go +0 -2570 generated file: collapsed
D vendor/github.com/andybalholm/brotli/dictionary.go +0 -122890 generated file: collapsed
D vendor/github.com/andybalholm/brotli/dictionary_hash.go +0 -32779 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encode.go +0 -1220 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encoder.go +0 -177 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encoder_dict.go +0 -22 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encoder_fast.go +0 -197 generated file: collapsed
D vendor/github.com/andybalholm/brotli/entropy_encode.go +0 -592 generated file: collapsed
D vendor/github.com/andybalholm/brotli/entropy_encode_static.go +0 -4399 generated file: collapsed
D vendor/github.com/andybalholm/brotli/fast_log.go +0 -290 generated file: collapsed
D vendor/github.com/andybalholm/brotli/find_match_length.go +0 -45 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/LICENSE +0 -27 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/README.md +0 -2 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/gzip.go +0 -65 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/huffman_bit_writer.go +0 -517 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/huffman_code.go +0 -346 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/token.go +0 -80 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/writer.go +0 -66 generated file: collapsed
D vendor/github.com/andybalholm/brotli/h10.go +0 -287 generated file: collapsed
D vendor/github.com/andybalholm/brotli/h5.go +0 -214 generated file: collapsed
D vendor/github.com/andybalholm/brotli/h6.go +0 -216 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash.go +0 -342 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_composite.go +0 -93 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go +0 -252 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go +0 -214 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_rolling.go +0 -168 generated file: collapsed
D vendor/github.com/andybalholm/brotli/histogram.go +0 -226 generated file: collapsed
D vendor/github.com/andybalholm/brotli/http.go +0 -189 generated file: collapsed
D vendor/github.com/andybalholm/brotli/huffman.go +0 -653 generated file: collapsed
D vendor/github.com/andybalholm/brotli/literal_cost.go +0 -182 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/bargain1.go +0 -212 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/bargain2.go +0 -248 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/bargain3.go +0 -278 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/emitter.go +0 -34 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/m0.go +0 -175 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/m4.go +0 -339 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/matchfinder.go +0 -103 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/pathfinder.go +0 -328 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/textencoder.go +0 -53 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/trio.go +0 -326 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/zdfast.go +0 -258 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/zfast.go +0 -206 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/zm.go +0 -301 generated file: collapsed
D vendor/github.com/andybalholm/brotli/memory.go +0 -66 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock.go +0 -574 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock_command.go +0 -165 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock_distance.go +0 -165 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock_literal.go +0 -165 generated file: collapsed
D vendor/github.com/andybalholm/brotli/params.go +0 -37 generated file: collapsed
D vendor/github.com/andybalholm/brotli/platform.go +0 -103 generated file: collapsed
D vendor/github.com/andybalholm/brotli/prefix.go +0 -30 generated file: collapsed
D vendor/github.com/andybalholm/brotli/prefix_dec.go +0 -723 generated file: collapsed
D vendor/github.com/andybalholm/brotli/quality.go +0 -196 generated file: collapsed
D vendor/github.com/andybalholm/brotli/reader.go +0 -126 generated file: collapsed
D vendor/github.com/andybalholm/brotli/ringbuffer.go +0 -134 generated file: collapsed
D vendor/github.com/andybalholm/brotli/state.go +0 -313 generated file: collapsed
D vendor/github.com/andybalholm/brotli/static_dict.go +0 -662 generated file: collapsed
D vendor/github.com/andybalholm/brotli/static_dict_lut.go +0 -75094 generated file: collapsed
D vendor/github.com/andybalholm/brotli/symbol_list.go +0 -22 generated file: collapsed
D vendor/github.com/andybalholm/brotli/transform.go +0 -641 generated file: collapsed
D vendor/github.com/andybalholm/brotli/utf8_util.go +0 -70 generated file: collapsed
D vendor/github.com/andybalholm/brotli/util.go +0 -7 generated file: collapsed
D vendor/github.com/andybalholm/brotli/write_bits.go +0 -52 generated file: collapsed
D vendor/github.com/andybalholm/brotli/writer.go +0 -162 generated file: collapsed
D vendor/github.com/atotto/clipboard/.travis.yml +0 -22 generated file: collapsed
D vendor/github.com/atotto/clipboard/LICENSE +0 -27 generated file: collapsed
D vendor/github.com/atotto/clipboard/README.md +0 -48 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard.go +0 -20 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_darwin.go +0 -52 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_plan9.go +0 -42 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_unix.go +0 -149 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_windows.go +0 -157 generated file: collapsed
D vendor/github.com/aymanbagabas/go-osc52/v2/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/aymanbagabas/go-osc52/v2/README.md +0 -83 generated file: collapsed
D vendor/github.com/aymanbagabas/go-osc52/v2/osc52.go +0 -305 generated file: collapsed
D vendor/github.com/bnema/purego-cef/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/bridge.go +0 -783 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_accessibility_handler_gen.go +0 -135 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_app_gen.go +0 -255 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_audio_handler_gen.go +0 -222 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_auth_callback_gen.go +0 -80 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_base_gen.go +0 -13 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_browser_gen.go +0 -1340 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_browser_process_handler_gen.go +0 -280 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_callback_gen.go +0 -173 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_client_gen.go +0 -691 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_command_handler_gen.go +0 -228 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_command_line_gen.go +0 -282 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_component_updater_gen.go +0 -323 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_context_menu_handler_gen.go +0 -633 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_cookie_gen.go +0 -430 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_crash_util_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_devtools_message_observer_gen.go +0 -219 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_dialog_handler_gen.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_display_handler_gen.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_dom_gen.go +0 -578 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_download_handler_gen.go +0 -308 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_download_item_gen.go +0 -255 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_drag_data_gen.go +0 -329 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_drag_handler_gen.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_file_util_gen.go +0 -74 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_find_handler_gen.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_focus_handler_gen.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_frame_gen.go +0 -284 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_frame_handler_gen.go +0 -214 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_i18n_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_image_gen.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_jsdialog_handler_gen.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_keyboard_handler_gen.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_life_span_handler_gen.go +0 -261 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_load_handler_gen.go +0 -198 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_media_router_gen.go +0 -771 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_menu_model_delegate_gen.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_menu_model_gen.go +0 -607 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_navigation_entry_gen.go +0 -150 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_origin_whitelist_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_parser_gen.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_path_util_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_permission_handler_gen.go +0 -303 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_preference_gen.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_print_handler_gen.go +0 -364 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_print_settings_gen.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_process_message_gen.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_process_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_registration_gen.go +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_render_handler_gen.go +0 -562 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_render_process_handler_gen.go +0 -325 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_context_gen.go +0 -515 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_context_handler_gen.go +0 -150 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_gen.go +0 -576 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_handler_gen.go +0 -490 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_gen.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_handler_gen.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_handler_gen.go +0 -392 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_request_handler_gen.go +0 -469 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_response_filter_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_response_gen.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_scheme_gen.go +0 -175 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_server_gen.go +0 -470 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_shared_memory_region_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_shared_process_message_builder_gen.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_ssl_info_gen.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_ssl_status_gen.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_stream_gen.go +0 -698 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_string_visitor_gen.go +0 -113 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_task_gen.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_task_manager_gen.go +0 -150 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_thread_gen.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_trace_gen.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_color_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_component_gen.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_content_settings_gen.go +0 -155 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_gen.go +0 -1631 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_geometry_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_linux_gen.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_osr_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_runtime_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_unresponsive_process_callback_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_urlrequest_gen.go +0 -363 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_v8_gen.go +0 -1825 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_values_gen.go +0 -1139 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_waitable_event_gen.go +0 -126 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_x509_certificate_gen.go +0 -300 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_xml_reader_gen.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_zip_reader_gen.go +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/doc.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/init.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/.gitkeep +0 -0
no textual change.
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_app.go +0 -261 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser.go +0 -929 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser_process_handler.go +0 -345 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_client.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_context_menu_handler.go +0 -487 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_dialog_handler.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_display_handler.go +0 -743 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_focus_handler.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_frame.go +0 -1093 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_keyboard_handler.go +0 -169 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_life_span_handler.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_load_handler.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_process_message.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_client.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_life_span_handler.go +0 -409 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_handler.go +0 -959 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_process_handler.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_request.go +0 -1010 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_context.go +0 -1167 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_handler.go +0 -760 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_response.go +0 -768 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/opaque_types.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/string_list.go +0 -46 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_api_version_test__gen.go +0 -1391 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_test_helpers_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_test_server_gen.go +0 -282 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_translator_test__gen.go +0 -1534 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/v8_helpers.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_box_layout_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_delegate_gen.go +0 -348 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_gen.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_button_delegate_gen.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_button_gen.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_display_gen.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_fill_layout_gen.go +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_label_button_gen.go +0 -176 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_layout_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_delegate_gen.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_gen.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_overlay_controller_gen.go +0 -224 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_panel_delegate_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_panel_gen.go +0 -181 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_scroll_view_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_delegate_gen.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_gen.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_view_delegate_gen.go +0 -362 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_view_gen.go +0 -515 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_window_delegate_gen.go +0 -682 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_window_gen.go +0 -436 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/window_info_helpers.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/bridge.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_accessibility_handler_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_app_gen.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_audio_handler_gen.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_auth_callback_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_base_gen.go +0 -77 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_gen.go +0 -1091 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_process_handler_gen.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_callback_gen.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_client_gen.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_command_handler_gen.go +0 -80 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_command_line_gen.go +0 -255 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_component_updater_gen.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_context_menu_handler_gen.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_cookie_gen.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_crash_util_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_devtools_message_observer_gen.go +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_dialog_handler_gen.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_display_handler_gen.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_dom_gen.go +0 -478 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_download_handler_gen.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_download_item_gen.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_data_gen.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_handler_gen.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_file_util_gen.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_find_handler_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_focus_handler_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_gen.go +0 -303 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_handler_gen.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_i18n_util_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_image_gen.go +0 -164 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_jsdialog_handler_gen.go +0 -77 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_keyboard_handler_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_life_span_handler_gen.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_load_handler_gen.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_media_router_gen.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_delegate_gen.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_gen.go +0 -637 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_navigation_entry_gen.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_origin_whitelist_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_parser_gen.go +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_path_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_permission_handler_gen.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_preference_gen.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_print_handler_gen.go +0 -126 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_print_settings_gen.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_process_message_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_process_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_registration_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_render_handler_gen.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_render_process_handler_gen.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_gen.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_handler_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_gen.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_handler_gen.go +0 -166 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_handler_gen.go +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_handler_gen.go +0 -126 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_request_handler_gen.go +0 -148 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_response_filter_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_response_gen.go +0 -208 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_scheme_gen.go +0 -51 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_server_gen.go +0 -257 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_memory_region_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_process_message_builder_gen.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_info_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_status_gen.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_stream_gen.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_string_visitor_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_task_gen.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_task_manager_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_thread_gen.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_trace_gen.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_color_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_component_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_content_settings_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_gen.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_geometry_gen.go +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_linux_gen.go +0 -51 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_osr_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_runtime_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_unresponsive_process_callback_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_urlrequest_gen.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_v8_gen.go +0 -1137 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_values_gen.go +0 -1002 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_waitable_event_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_x509_certificate_gen.go +0 -217 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_xml_reader_gen.go +0 -340 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_zip_reader_gen.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/doc.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_gen.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_darwin_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_default_gen.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_linux_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_windows_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_api_version_test__gen.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_helpers_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_server_gen.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_translator_test__gen.go +0 -967 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_box_layout_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_delegate_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_gen.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_delegate_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_gen.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_display_gen.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_fill_layout_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_label_button_gen.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_layout_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_delegate_gen.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_overlay_controller_gen.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_delegate_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_gen.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_scroll_view_gen.go +0 -102 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_delegate_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_gen.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_delegate_gen.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_gen.go +0 -589 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_delegate_gen.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_gen.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/cefapi/contract.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/engine.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/helpers.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/init.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/marshal.go +0 -146 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/refcount.go +0 -185 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/loader/loader.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_accessibility_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_app_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_audio_handler_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_auth_callback_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_base_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_gen.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_process_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_client_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_handler_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_line_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_component_updater_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_context_menu_handler_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_cookie_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_devtools_message_observer_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dialog_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_display_handler_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dom_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_handler_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_item_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_data_gen.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_find_handler_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_focus_handler_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_gen.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_handler_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_image_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_jsdialog_handler_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_keyboard_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_life_span_handler_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_load_handler_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_media_router_gen.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_delegate_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_gen.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_navigation_entry_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_permission_handler_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_preference_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_handler_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_settings_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_process_message_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_registration_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_handler_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_process_handler_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_gen.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_handler_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_handler_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_request_handler_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_filter_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_scheme_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_server_gen.go +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_memory_region_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_process_message_builder_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_info_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_status_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_stream_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_string_visitor_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_manager_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_thread_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_trace_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_color_gen.go +0 -5 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_component_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_content_settings_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_gen.go +0 -256 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_geometry_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_linux_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_osr_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_runtime_gen.go +0 -5 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_unresponsive_process_callback_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_urlrequest_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_v8_gen.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_values_gen.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_waitable_event_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_x509_certificate_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_xml_reader_gen.go +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_zip_reader_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/opaque_types.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_api_version_test__gen.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_test_server_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_translator_test__gen.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_box_layout_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_delegate_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_delegate_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_display_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_fill_layout_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_label_button_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_layout_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_delegate_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_overlay_controller_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_delegate_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_scroll_view_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_delegate_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_delegate_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_gen.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_delegate_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_gen.go +0 -49 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/capi.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_app_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_auth_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_browser_gen.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_command_line_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_component_updater_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_context_menu_handler_gen.go +0 -44 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_cookie_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_crash_util_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dialog_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dom_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_handler_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_item_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_drag_data_gen.go +0 -44 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_file_util_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_frame_gen.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_i18n_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_image_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_jsdialog_handler_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_media_router_gen.go +0 -49 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_menu_model_gen.go +0 -73 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_navigation_entry_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_origin_whitelist_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_parser_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_path_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_permission_handler_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_preference_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_handler_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_settings_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_message_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_registration_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_context_gen.go +0 -42 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_gen.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_handler_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_bundle_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_handler_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_response_gen.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_scheme_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_server_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_memory_region_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_process_message_builder_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_info_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_status_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_stream_gen.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_manager_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_thread_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_trace_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_types_linux_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_unresponsive_process_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_urlrequest_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_v8_gen.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_values_gen.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_waitable_event_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_x509_certificate_gen.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_xml_reader_gen.go +0 -46 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_zip_reader_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_api_version_test__gen.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_helpers_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_server_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_translator_test__gen.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_box_layout_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_browser_view_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_button_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_display_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_fill_layout_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_label_button_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_layout_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_delegate_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_overlay_controller_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_panel_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_scroll_view_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_textfield_gen.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_view_gen.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_window_gen.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/.gitignore +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/Makefile +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/README.md +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/browser_settings.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/command_line.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/diagnostics.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/doc.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/handlers.go +0 -284 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/input.go +0 -277 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/accelerated_paint.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/command_line.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/window_info.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cutil/cstring.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/format.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/frame.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/modifier.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/attrs.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/display.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/extensions.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/importer.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/loader.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/types.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gl/copy.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gl/loader.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gl/timer_query.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgdk/renderer.go +0 -980 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/accelerated_renderer.go +0 -476 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/context.go +0 -172 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/gl.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/glib.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/input_bridge.go +0 -1037 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/main_thread.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/render_signal.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/profile/recorder.go +0 -352 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/options.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/osr_backing_scale.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/profile.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/refresh_rate.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/render_stack.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/size_observation.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/view.go +0 -1171 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/window_info.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/.gitkeep +0 -0
no textual change.
D vendor/github.com/bnema/purego-pipewire/internal/capi/adapters_gen.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/init_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/loop_gen.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/loop_lock.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/register.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/register_all.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/stream_ops.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/stream_params.go +0 -172 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/stream_playback_gen.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/context.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/core.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/loop.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/player.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/player_rt.go +0 -207 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/player_state.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/pwbuffer.go +0 -173 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/registry.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/runtime.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/stream.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/loader/loader.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/.gitkeep +0 -0
no textual change.
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi.go +0 -5 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/init_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/loop_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_ops.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_playback_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/context.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/core.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/interfaces.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/player.go +0 -218 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/registry.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/runtime.go +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/stream.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/driver/driver.go +0 -390 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/driver/register.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/bridge.go +0 -1461 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/enums_gen.go +0 -863 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/functions_gen.go +0 -358 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/register_gen.go +0 -377 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/variadic_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/db.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/errors.go +0 -51 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/rows.go +0 -194 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/stmt.go +0 -128 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/loader/loader.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/in/ports_gen.go +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/auth_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/backup_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/bind_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/blob_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/capi_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/column_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/config_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/context_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/exec_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/func_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/hook_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/lifecycle_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/memory_gen.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/metadata_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/misc_gen.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/prepare_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/result_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/serialize_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/str_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/trace_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/value_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/vfs_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/vtab_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/wal_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/sqlite/sqlite_gen.go +0 -49 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/internal/libwebp/generated_symbols.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/internal/libwebp/loader.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/internal/libwebp/types.go +0 -164 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/libwebp/libwebp.go +0 -880 collapsed to keep the page light
D vendor/github.com/bnema/purego/.gitignore +0 -1 collapsed to keep the page light
D vendor/github.com/bnema/purego/LICENSE +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/purego/README.md +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/purego/abi_amd64.h +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego/abi_arm64.h +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/abi_loong64.h +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/cgo.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlerror.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_android.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_darwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_freebsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_linux.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_netbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_nocgo_freebsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_nocgo_linux.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_nocgo_netbsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_playground.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_stubs.s +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego/func.go +0 -677 collapsed to keep the page light
D vendor/github.com/bnema/purego/gen.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/purego/go_runtime.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego/hostlayout_go123.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego/hostlayout_nogo123.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/cgo/dlfcn_cgo_unix.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/cgo/empty.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/cgo/syscall_cgo_unix.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_amd64.h +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_arm64.h +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_loong64.h +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_ppc64x.h +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_riscv64.h +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_386.s +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_amd64.s +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_arm.s +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_arm64.s +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_loong64.s +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_ppc64le.s +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_riscv64.s +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_s390x.s +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/callbacks.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/doc.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/fakecgo.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/freebsd.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_darwin.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_freebsd.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_libinit.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_linux.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_netbsd.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_setenv.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_util.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/iscgo.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_darwin.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_linux.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_netbsd.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/linux.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/netbsd.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/setenv.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_386.s +0 -121 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_amd64.s +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm.s +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm64.s +0 -81 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_386.s +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_amd64.s +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm.s +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm64.s +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_loong64.s +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_ppc64le.s +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_riscv64.s +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_loong64.s +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_ppc64le.s +0 -128 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_riscv64.s +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_darwin.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_freebsd.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_linux.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_netbsd.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_darwin.s +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_freebsd.s +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_linux.s +0 -46 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_netbsd.s +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_stubs.s +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/strings/strings.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/xreflect/reflect_go124.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/xreflect/reflect_go125.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego/is_ios.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego/nocgo.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_386.go +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_abi_helpers.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_amd64.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_arm.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_arm64.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_loong64.go +0 -216 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_ppc64le.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_riscv64.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_s390x.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_386.s +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_amd64.s +0 -170 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_arm.s +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_arm64.s +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_loong64.s +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_ppc64le.s +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_riscv64.s +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_s390x.s +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_386.s +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_arm.s +0 -89 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_arm64.s +0 -75 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_loong64.s +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_ppc64le.s +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_riscv64.s +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_s390x.s +0 -109 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_32bit.go +0 -115 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_cgo_linux.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_notstackargs.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_stackargs.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_unix.go +0 -693 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_windows.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_386.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_amd64.s +0 -2014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_arm.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_arm64.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_loong64.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_ppc64le.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_riscv64.s +0 -4051 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_s390x.s +0 -4015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/internal/core/core.go +0 -515 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +0 -2056 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +0 -2083 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +0 -80 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +0 -812 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +0 -1214 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +0 -313 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +0 -969 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +0 -493 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +0 -593 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +0 -704 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +0 -382 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +0 -1019 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +0 -523 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +0 -562 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +0 -568 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +0 -572 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +0 -399 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +0 -398 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +0 -871 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +0 -258 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +0 -605 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +0 -548 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +0 -816 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +0 -954 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +0 -1077 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +0 -300 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +0 -791 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +0 -1049 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +0 -815 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +0 -566 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +0 -1296 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +0 -1218 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +0 -859 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +0 -1906 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +0 -999 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +0 -690 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +0 -520 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +0 -586 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +0 -672 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +0 -603 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +0 -715 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +0 -480 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +0 -441 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +0 -246 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +0 -561 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +0 -386 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +0 -1144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +0 -1118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +0 -889 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +0 -477 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +0 -175 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +0 -971 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +0 -420 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +0 -519 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +0 -287 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +0 -802 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +0 -529 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +0 -970 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +0 -2327 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +0 -387 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +0 -717 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +0 -1196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +0 -938 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +0 -1890 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +0 -470 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +0 -547 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +0 -599 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +0 -480 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +0 -685 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +0 -945 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +0 -687 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/cairo/main.go +0 -947 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +0 -329 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +0 -245 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +0 -517 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +0 -279 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +0 -741 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +0 -244 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +0 -299 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +0 -625 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder_extra.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +0 -73 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +0 -896 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +0 -1449 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +0 -474 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +0 -424 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +0 -508 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +0 -113 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkkeysyms.go +0 -4904 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +0 -304 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +0 -460 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +0 -382 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +0 -575 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +0 -57 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +0 -214 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +0 -311 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +0 -190 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +0 -710 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +0 -716 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +0 -751 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +0 -853 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +0 -746 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-features.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +0 -549 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +0 -552 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +0 -1783 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gaction.go +0 -663 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +0 -852 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +0 -434 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +0 -2242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +0 -2213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +0 -715 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +0 -339 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +0 -325 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +0 -556 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +0 -314 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +0 -617 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +0 -327 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +0 -266 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +0 -349 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +0 -235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +0 -496 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +0 -674 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +0 -416 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +0 -330 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +0 -152 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +0 -1909 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +0 -182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +0 -291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +0 -542 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +0 -579 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +0 -753 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +0 -392 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +0 -274 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +0 -390 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +0 -719 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +0 -169 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +0 -1102 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +0 -311 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +0 -1459 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +0 -1041 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +0 -175 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfile.go +0 -7039 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +0 -768 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +0 -190 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +0 -1682 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +0 -614 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gicon.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +0 -556 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +0 -280 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +0 -869 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +0 -2410 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giostream.go +0 -723 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +0 -1144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +0 -348 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +0 -236 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +0 -411 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +0 -167 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +0 -610 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenuexporter.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +0 -993 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmount.go +0 -1422 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +0 -1017 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +0 -336 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +0 -412 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +0 -1272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +0 -305 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +0 -384 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +0 -136 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +0 -315 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +0 -352 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -301 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +0 -298 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +0 -1053 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gresource.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +0 -1862 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +0 -676 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +0 -433 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +0 -489 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +0 -618 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +0 -446 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +0 -2007 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +0 -249 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +0 -253 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +0 -955 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +0 -298 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +0 -397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +0 -406 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +0 -633 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +0 -412 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtask.go +0 -1352 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +0 -228 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +0 -291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +0 -309 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +0 -499 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +0 -764 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +0 -319 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +0 -836 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +0 -886 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +0 -518 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +0 -90 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +0 -211 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +0 -370 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +0 -698 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +0 -1140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +0 -1182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/garray.go +0 -817 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +0 -448 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +0 -404 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +0 -91 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +0 -958 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcache.go +0 -118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +0 -222 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +0 -457 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +0 -286 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdate.go +0 -850 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +0 -1084 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdir.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/genviron.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gerror.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +0 -806 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghash.go +0 -742 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +0 -205 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghook.go +0 -260 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +0 -1139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +0 -1174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glibconfig.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glist.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmacros.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmain.go +0 -2568 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +0 -178 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +0 -788 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmem.go +0 -532 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +0 -1030 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gnode.go +0 -439 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/goption.go +0 -666 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +0 -205 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gquark.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +0 -503 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grand.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +0 -200 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gregex.go +0 -1625 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grel.go +0 -204 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +0 -483 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +0 -603 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gshell.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gslice.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gslist.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +0 -607 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +0 -1164 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstring.go +0 -622 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +0 -176 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +0 -1491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gthread.go +0 -2487 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtree.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +0 -1703 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/guri.go +0 -1112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gutils.go +0 -766 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/guuid.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +0 -3134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +0 -730 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gversion.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gversionmacros.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/main.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_other.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_sysv.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_windows.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/gmoduleconf.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +0 -58 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +0 -549 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/genums.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +0 -2267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +0 -935 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +0 -1291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +0 -839 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +0 -1702 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +0 -380 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +0 -951 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluecollector.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/main.go +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/more.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/types/types.go +0 -3 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +0 -408 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-config.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +0 -408 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +0 -161 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-macros.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +0 -885 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +0 -220 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +0 -235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +0 -274 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +0 -244 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-types.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +0 -417 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +0 -431 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +0 -123 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +0 -89 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +0 -91 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +0 -682 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +0 -109 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +0 -118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +0 -189 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +0 -227 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +0 -338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrenderreplay.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +0 -115 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +0 -2171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +0 -1303 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +0 -857 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +0 -484 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +0 -111 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +0 -579 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +0 -460 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +0 -604 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +0 -656 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +0 -551 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +0 -681 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +0 -1023 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +0 -944 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +0 -517 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +0 -1046 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +0 -717 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +0 -1015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +0 -206 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +0 -910 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +0 -836 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +0 -1892 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +0 -431 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +0 -649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +0 -1060 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +0 -163 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +0 -764 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +0 -224 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +0 -691 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +0 -560 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +0 -872 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +0 -565 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +0 -317 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +0 -510 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +0 -415 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +0 -935 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +0 -472 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +0 -337 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +0 -1338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +0 -649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +0 -362 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +0 -552 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcssenums.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsslocation.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +0 -1015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +0 -415 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +0 -384 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +0 -598 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +0 -227 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +0 -757 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +0 -536 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +0 -340 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +0 -1116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +0 -686 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +0 -463 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +0 -2296 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +0 -665 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +0 -2235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +0 -234 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +0 -204 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +0 -281 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +0 -730 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +0 -975 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +0 -711 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +0 -662 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +0 -1084 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +0 -714 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +0 -324 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +0 -249 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +0 -447 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +0 -251 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +0 -1649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +0 -773 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +0 -643 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +0 -532 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +0 -411 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +0 -712 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +0 -650 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +0 -229 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +0 -1007 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +0 -789 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +0 -494 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +0 -635 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +0 -349 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +0 -535 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +0 -1817 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +0 -879 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +0 -1256 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimmodule.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +0 -229 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +0 -705 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +0 -881 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +0 -1759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +0 -714 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +0 -583 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +0 -454 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +0 -1802 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +0 -181 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +0 -383 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +0 -945 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +0 -815 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +0 -571 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +0 -183 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +0 -312 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +0 -377 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +0 -560 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +0 -1173 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +0 -917 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +0 -751 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +0 -286 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +0 -518 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +0 -216 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +0 -185 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +0 -474 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +0 -356 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +0 -1572 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +0 -489 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +0 -207 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +0 -223 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +0 -454 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +0 -497 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +0 -930 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +0 -375 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +0 -756 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +0 -835 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +0 -931 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +0 -627 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +0 -488 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +0 -564 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +0 -486 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +0 -1921 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +0 -1024 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +0 -756 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +0 -659 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +0 -968 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +0 -913 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +0 -539 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +0 -736 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +0 -726 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +0 -266 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +0 -406 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +0 -1169 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +0 -534 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +0 -970 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +0 -208 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +0 -606 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +0 -1332 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +0 -640 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +0 -330 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +0 -419 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +0 -510 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +0 -540 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +0 -597 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +0 -605 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +0 -505 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +0 -320 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +0 -864 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +0 -401 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +0 -1420 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +0 -397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +0 -1398 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +0 -371 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +0 -394 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +0 -464 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +0 -396 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +0 -877 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +0 -598 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +0 -1750 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +0 -2305 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +0 -1468 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +0 -252 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +0 -1574 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +0 -238 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +0 -2855 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +0 -667 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +0 -611 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +0 -593 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +0 -1898 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +0 -741 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +0 -688 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +0 -334 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +0 -379 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +0 -899 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +0 -2734 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +0 -1028 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +0 -534 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +0 -630 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +0 -504 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +0 -5777 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +0 -258 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +0 -2182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowcontrols.go +0 -551 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowgroup.go +0 -231 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowhandle.go +0 -383 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCClass.go +0 -519 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCContext.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCException.go +0 -252 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCOptions.go +0 -234 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCValue.go +0 -1092 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVersion.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVirtualMachine.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCWeakValue.go +0 -123 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/layershell/gtk4-layer-shell.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-attributes.go +0 -1850 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-bidi-type.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-break.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-color.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-context.go +0 -430 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-coverage.go +0 -202 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-direction.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-features.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-font.go +0 -2354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontmap.go +0 -573 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontset-simple.go +0 -102 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontset.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-glyph-item.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-glyph.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-gravity.go +0 -143 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-item.go +0 -253 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-language.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-layout.go +0 -1847 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-markup.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-matrix.go +0 -248 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-renderer.go +0 -789 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-script.go +0 -419 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-tabs.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-types.go +0 -246 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-utils.go +0 -302 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-basic.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-digest.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-basic.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-digest.go +0 -155 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-manager.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-negotiate.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-ntlm.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth.go +0 -540 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cache.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-content-decoder.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-content-sniffer.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-db.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-text.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar.go +0 -467 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-date-utils.go +0 -67 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-form.go +0 -146 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-headers.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer-db.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer.go +0 -308 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-policy.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-logger.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message-body.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message-headers.go +0 -642 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message.go +0 -1445 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-multipart-input-stream.go +0 -254 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-multipart.go +0 -161 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-server-message.go +0 -700 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-server.go +0 -1002 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-session-feature.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-session.go +0 -1397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-status.go +0 -193 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-tld.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-types.go +0 -854 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-uri-utils.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-version.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-connection.go +0 -636 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-deflate.go +0 -66 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-manager.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket.go +0 -264 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitApplicationInfo.go +0 -133 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitAuthenticationRequest.go +0 -343 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitAutomationSession.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardList.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardListItem.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitClipboardPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitColorChooserRequest.go +0 -182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenu.go +0 -344 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuActions.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuItem.go +0 -276 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitCookieManager.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitCredential.go +0 -187 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitDeviceInfoPermissionRequest.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitDownload.go +0 -429 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditingCommands.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditorState.go +0 -193 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitError.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFaviconDatabase.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFeature.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFileChooserRequest.go +0 -219 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFindController.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFormSubmissionRequest.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationManager.go +0 -281 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationPermissionRequest.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitHitTestResult.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitImage.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitInputMethodContext.go +0 -1260 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitMediaKeySystemPermissionRequest.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitMemoryPressureSettings.go +0 -215 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationAction.go +0 -183 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationPolicyDecision.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkProxySettings.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkSession.go +0 -423 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotification.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotificationPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenu.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenuItem.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionRequest.go +0 -149 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionStateQuery.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPointerLockPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPolicyDecision.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPrintOperation.go +0 -273 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitResponsePolicyDecision.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitScriptDialog.go +0 -177 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityManager.go +0 -218 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityOrigin.go +0 -163 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSettings.go +0 -2622 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIRequest.go +0 -148 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIResponse.go +0 -194 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeRequest.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeResponse.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIUtilities.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContent.go +0 -323 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentFilterStore.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentManager.go +0 -432 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMediaPermissionRequest.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMessage.go +0 -230 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitVersion.go +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebContext.go +0 -650 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtension.go +0 -617 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtensionMatchPattern.go +0 -264 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebInspector.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebResource.go +0 -280 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebView.go +0 -4734 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewBase.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewGtk4.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewSessionState.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteData.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataAccessPermissionRequest.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataManager.go +0 -545 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsitePolicies.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWindowProperties.go +0 -338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitXRPermissionRequest.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/more.go +0 -234 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/.gitignore +0 -25 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/LICENSE +0 -20 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/README.md +0 -30 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/backoff.go +0 -66 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/context.go +0 -62 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/exponential.go +0 -216 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/retry.go +0 -146 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/ticker.go +0 -97 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/timer.go +0 -35 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/tries.go +0 -38 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/cursor/cursor.go +0 -221 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/help/help.go +0 -240 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/key/key.go +0 -140 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/README.md +0 -71 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/defaultitem.go +0 -229 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/keys.go +0 -97 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/list.go +0 -1330 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/style.go +0 -99 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/paginator/paginator.go +0 -214 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/runeutil/runeutil.go +0 -102 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/spinner/spinner.go +0 -224 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/table/table.go +0 -450 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/textinput/textinput.go +0 -890 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/viewport/keymap.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/viewport/viewport.go +0 -544 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.gitattributes +0 -1 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.gitignore +0 -23 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.golangci.yml +0 -44 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.goreleaser.yml +0 -5 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/README.md +0 -400 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/Taskfile.yaml +0 -14 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/commands.go +0 -222 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/exec.go +0 -133 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/focus.go +0 -9 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/inputreader_other.go +0 -19 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/inputreader_windows.go +0 -129 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key.go +0 -715 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_other.go +0 -13 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_sequences.go +0 -130 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_windows.go +0 -441 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/logging.go +0 -53 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/mouse.go +0 -308 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/nil_renderer.go +0 -29 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/options.go +0 -252 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/renderer.go +0 -88 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/screen.go +0 -248 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/signals_unix.go +0 -33 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/signals_windows.go +0 -10 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/standard_renderer.go +0 -790 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tea.go +0 -941 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tea_init.go +0 -22 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty.go +0 -141 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty_unix.go +0 -49 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty_windows.go +0 -68 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/.golangci.yml +0 -47 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/.goreleaser.yml +0 -6 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/README.md +0 -109 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/doc.go +0 -4 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env.go +0 -294 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env_other.go +0 -8 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env_windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/profile.go +0 -108 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/writer.go +0 -171 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.golangci.yml +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.goreleaser.yml +0 -5 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/README.md +0 -815 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/Taskfile.yaml +0 -19 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/align.go +0 -83 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ansi_unix.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ansi_windows.go +0 -22 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/borders.go +0 -490 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/color.go +0 -172 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/get.go +0 -556 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/join.go +0 -175 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/position.go +0 -154 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ranges.go +0 -48 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/renderer.go +0 -181 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/runes.go +0 -43 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/set.go +0 -799 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/size.go +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/style.go +0 -588 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/unset.go +0 -331 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/whitespace.go +0 -83 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ansi.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ascii.go +0 -8 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/background.go +0 -178 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/c0.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/c1.go +0 -72 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/charset.go +0 -55 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/clipboard.go +0 -75 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/color.go +0 -784 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ctrl.go +0 -156 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/cursor.go +0 -637 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/cwd.go +0 -26 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/doc.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/finalterm.go +0 -67 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/focus.go +0 -9 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/graphics.go +0 -62 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/hyperlink.go +0 -28 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/inband.go +0 -24 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/iterm2.go +0 -18 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/keypad.go +0 -28 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/kitty.go +0 -90 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/method.go +0 -196 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mode.go +0 -690 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mode_deprecated.go +0 -495 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/modes.go +0 -65 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mouse.go +0 -172 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/notification.go +0 -32 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/palette.go +0 -34 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser.go +0 -417 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/const.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/seq.go +0 -136 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/transition_table.go +0 -273 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_decode.go +0 -525 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_handler.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_sync.go +0 -29 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/passthrough.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/paste.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/progress.go +0 -49 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/reset.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/screen.go +0 -410 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/sgr.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/status.go +0 -168 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/style.go +0 -819 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/termcap.go +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/title.go +0 -48 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/truncate.go +0 -290 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/urxvt.go +0 -17 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/util.go +0 -92 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/width.go +0 -107 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/winop.go +0 -59 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/wrap.go +0 -472 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/xterm.go +0 -138 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/buffer.go +0 -474 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/cell.go +0 -487 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/errors.go +0 -6 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/geom.go +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/hardscroll.go +0 -273 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/hashmap.go +0 -301 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/link.go +0 -14 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/pen.go +0 -92 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/screen.go +0 -1514 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/sequence.go +0 -131 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/style.go +0 -31 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/tabstop.go +0 -137 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/utils.go +0 -24 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/wrap.go +0 -191 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/writer.go +0 -340 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term.go +0 -51 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_other.go +0 -39 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_plan9.go +0 -118 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix.go +0 -96 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix_bsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix_other.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_windows.go +0 -87 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/terminal.go +0 -12 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/util.go +0 -47 collapsed to keep the page light
D vendor/github.com/cli/browser/LICENSE +0 -23 collapsed to keep the page light
D vendor/github.com/cli/browser/README.md +0 -20 collapsed to keep the page light
D vendor/github.com/cli/browser/browser.go +0 -57 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_darwin.go +0 -5 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_freebsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_linux.go +0 -21 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_netbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_openbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_unsupported.go +0 -12 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_windows.go +0 -7 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/.gitignore +0 -3 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/AGENTS.md +0 -51 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/CHANGELOG.md +0 -129 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/README.md +0 -190 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/gen.go +0 -3 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/graphemes.go +0 -73 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/options.go +0 -30 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/trie.go +0 -1699 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/truncate.go +0 -149 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/width.go +0 -239 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/README.md +0 -120 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi.go +0 -138 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi8.go +0 -79 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/iterator.go +0 -144 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/reader.go +0 -25 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/splitfunc.go +0 -205 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/trie.go +0 -1717 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md +0 -21 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/debug.go +0 -62 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go +0 -24 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go +0 -416 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/LICENSE +0 -15 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/bypass.go +0 -145 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/bypasssafe.go +0 -38 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/common.go +0 -341 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/config.go +0 -306 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/doc.go +0 -211 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/dump.go +0 -509 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/format.go +0 -419 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/spew.go +0 -148 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/.golangci.yml +0 -24 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/README.md +0 -2 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/keycodes.go +0 -205 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/mode.go +0 -82 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/read.go +0 -154 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/records.go +0 -486 collapsed to keep the page light
D vendor/github.com/fatih/color/LICENSE.md +0 -20 collapsed to keep the page light
D vendor/github.com/fatih/color/README.md +0 -189 collapsed to keep the page light
D vendor/github.com/fatih/color/color.go +0 -733 collapsed to keep the page light
D vendor/github.com/fatih/color/color_windows.go +0 -22 collapsed to keep the page light
D vendor/github.com/fatih/color/doc.go +0 -134 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/.gitignore +0 -10 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/.mailmap +0 -2 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/CHANGELOG.md +0 -651 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md +0 -147 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/LICENSE +0 -25 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/README.md +0 -214 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_fen.go +0 -469 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_inotify.go +0 -597 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_kqueue.go +0 -735 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_other.go +0 -22 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_windows.go +0 -702 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/fsnotify.go +0 -526 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/darwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go +0 -32 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_linux.go +0 -56 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go +0 -16 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_solaris.go +0 -45 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/internal.go +0 -2 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/unix.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/unix2.go +0 -25 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/shared.go +0 -64 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/staticcheck.conf +0 -3 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/system_bsd.go +0 -7 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/system_darwin.go +0 -8 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.editorconfig +0 -24 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.envrc +0 -7 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.gitignore +0 -10 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.golangci.yaml +0 -48 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/CHANGELOG.md +0 -104 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/README.md +0 -81 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/decode_hooks.go +0 -714 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.lock +0 -103 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.nix +0 -14 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/errors.go +0 -244 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/errors.go +0 -11 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/join.go +0 -9 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/join_go1_19.go +0 -61 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/mapstructure.go +0 -1948 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/reflect_go1_19.go +0 -44 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/reflect_go1_20.go +0 -10 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/.cirrus.yml +0 -11 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/.golangci.yml +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/CONTRIBUTING.md +0 -50 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/LICENSE +0 -25 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/MAINTAINERS +0 -3 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/README.md +0 -47 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/SECURITY.md +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth.go +0 -257 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_anonymous.go +0 -16 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_default_other.go +0 -7 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_default_windows.go +0 -5 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_external.go +0 -26 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_sha1_windows.go +0 -109 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/call.go +0 -66 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn.go +0 -1009 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_darwin.go +0 -36 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_other.go +0 -83 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_unix.go +0 -40 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_windows.go +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/dbus.go +0 -427 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/decoder.go +0 -376 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/default_handler.go +0 -338 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/doc.go +0 -70 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/encoder.go +0 -235 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/escape.go +0 -84 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/export.go +0 -484 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/match.go +0 -89 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/message.go +0 -393 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/object.go +0 -181 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sequence.go +0 -24 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sequential_handler.go +0 -125 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/server_interfaces.go +0 -107 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sig.go +0 -298 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_darwin.go +0 -6 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_generic.go +0 -52 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_nonce_tcp.go +0 -41 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_tcp.go +0 -41 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unix.go +0 -291 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_dragonfly.go +0 -95 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go +0 -94 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_linux.go +0 -25 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_openbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_zos.go +0 -6 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant.go +0 -169 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant_lexer.go +0 -284 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant_parser.go +0 -815 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/LICENSE +0 -201 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/README.md +0 -23 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/trap_others.go +0 -16 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/trap_windows.go +0 -42 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/.gitignore +0 -101 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/CHANGELOG.md +0 -72 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/LICENSE +0 -7 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/README.md +0 -490 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/colorgens.go +0 -67 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/colors.go +0 -1156 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/happy_palettegen.go +0 -29 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hexcolor.go +0 -91 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hsluv-snapshot-rev4.json +0 -1 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hsluv.go +0 -208 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/rand.go +0 -22 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/soft_palettegen.go +0 -192 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/sort.go +0 -191 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/warm_palettegen.go +0 -29 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/widegamut.go +0 -290 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/README.md +0 -48 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/colorable_others.go +0 -38 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/colorable_windows.go +0 -1047 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/go.test.sh +0 -12 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/noncolorable.go +0 -57 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/LICENSE +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/README.md +0 -50 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/doc.go +0 -2 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/go.test.sh +0 -12 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_bsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_others.go +0 -17 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_plan9.go +0 -23 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_solaris.go +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_tcgets.go +0 -20 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_windows.go +0 -136 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/README.md +0 -23 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader.go +0 -19 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader_unix.go +0 -11 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader_windows.go +0 -85 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/README.md +0 -27 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/benchstat.txt +0 -43 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/new.txt +0 -54 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/old.txt +0 -54 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth.go +0 -420 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_appengine.go +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_js.go +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_posix.go +0 -81 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_table.go +0 -488 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_windows.go +0 -34 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/LICENSE.txt +0 -24 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/README.md +0 -85 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/env.go +0 -53 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/interpolate.go +0 -213 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/parser.go +0 -281 collapsed to keep the page light
D vendor/github.com/muesli/ansi/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/ansi/.golangci.yml +0 -27 collapsed to keep the page light
D vendor/github.com/muesli/ansi/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/ansi/README.md +0 -31 collapsed to keep the page light
D vendor/github.com/muesli/ansi/ansi.go +0 -7 collapsed to keep the page light
D vendor/github.com/muesli/ansi/buffer.go +0 -40 collapsed to keep the page light
D vendor/github.com/muesli/ansi/compressor/writer.go +0 -132 collapsed to keep the page light
D vendor/github.com/muesli/ansi/writer.go +0 -76 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.golangci-soft.yml +0 -47 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.golangci.yml +0 -29 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/README.md +0 -64 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader.go +0 -93 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_bsd.go +0 -146 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_default.go +0 -12 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_linux.go +0 -154 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_select.go +0 -136 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_unix.go +0 -18 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_windows.go +0 -244 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.golangci-soft.yml +0 -43 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.golangci.yml +0 -28 collapsed to keep the page light
D vendor/github.com/muesli/termenv/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/termenv/README.md +0 -431 collapsed to keep the page light
D vendor/github.com/muesli/termenv/ansi_compat.md +0 -65 collapsed to keep the page light
D vendor/github.com/muesli/termenv/ansicolors.go +0 -281 collapsed to keep the page light
D vendor/github.com/muesli/termenv/color.go +0 -205 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_linux.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_solaris.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_unix.go +0 -13 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_zos.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/copy.go +0 -37 collapsed to keep the page light
D vendor/github.com/muesli/termenv/hyperlink.go +0 -11 collapsed to keep the page light
D vendor/github.com/muesli/termenv/notification.go +0 -11 collapsed to keep the page light
D vendor/github.com/muesli/termenv/output.go +0 -205 collapsed to keep the page light
D vendor/github.com/muesli/termenv/profile.go +0 -112 collapsed to keep the page light
D vendor/github.com/muesli/termenv/screen.go +0 -590 collapsed to keep the page light
D vendor/github.com/muesli/termenv/style.go +0 -126 collapsed to keep the page light
D vendor/github.com/muesli/termenv/templatehelper.go +0 -88 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv.go +0 -115 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_other.go +0 -30 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_posix.go +0 -17 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_solaris.go +0 -22 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_unix.go +0 -301 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_windows.go +0 -140 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/.gitignore +0 -24 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/README.md +0 -35 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/atomic.go +0 -73 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/file_unix.go +0 -14 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/file_windows.go +0 -33 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/zfile_windows.go +0 -27 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.dockerignore +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.gitattributes +0 -4 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.golangci.toml +0 -76 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.goreleaser.yaml +0 -128 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/AGENTS.md +0 -73 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/CONTRIBUTING.md +0 -254 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/Dockerfile +0 -6 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/README.md +0 -327 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/SECURITY.md +0 -16 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/capability_baseline.txt +0 -1 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/caps.sh +0 -101 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/ci.sh +0 -293 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/decode.go +0 -538 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/decode_fused.go +0 -362 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/doc.go +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/errors.go +0 -233 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/parserbridge/parserbridge.go +0 -37 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/key.go +0 -49 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/seen.go +0 -450 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/localtime.go +0 -121 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/marshaler.go +0 -1697 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/strict.go +0 -108 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/test-go-versions.sh +0 -597 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/toml.abnf +0 -246 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/types.go +0 -24 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unmarshaler.go +0 -2396 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/ast.go +0 -124 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/bridge.go +0 -21 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/doc.go +0 -3 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/kind.go +0 -83 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/marshaler.go +0 -29 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/parser.go +0 -1686 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go +0 -43 collapsed to keep the page light
D vendor/github.com/pmezard/go-difflib/LICENSE +0 -27 collapsed to keep the page light
D vendor/github.com/pmezard/go-difflib/difflib/difflib.go +0 -772 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.gitignore +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.golangci.yaml +0 -31 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.goreleaser.yaml +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/CHANGELOG.md +0 -350 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/Makefile +0 -150 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/README.md +0 -500 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/create.go +0 -116 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialect/querier.go +0 -25 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialect/querier_extended.go +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialects.go +0 -214 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/doc.go +0 -14 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/sql_extended.go +0 -23 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/store.go +0 -66 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/store_extended.go +0 -33 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/db.go +0 -48 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/dialect.go +0 -74 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/down.go +0 -107 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/fix.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/globals.go +0 -104 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/goose.go +0 -141 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/helpers.go +0 -84 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/install.sh +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/controller/store.go +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/clickhouse.go +0 -53 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/dsql.go +0 -66 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/mysql.go +0 -62 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/postgres.go +0 -70 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/redshift.go +0 -52 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/spanner.go +0 -50 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/sqlite3.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/sqlserver.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/starrocks.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/tidb.go +0 -52 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/turso.go +0 -14 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/vertica.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/ydb.go +0 -72 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/gooseutil/resolve.go +0 -118 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/legacystore/legacystore.go +0 -173 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/sqlparser/parse.go +0 -59 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/sqlparser/parser.go +0 -394 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/store/postgres.go +0 -282 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/store/store.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/table/config.go +0 -28 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/table/locker.go +0 -237 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/locker.go +0 -32 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/postgres.go +0 -165 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/session_locker_options.go +0 -98 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/table_locker_options.go +0 -136 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/log.go +0 -36 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migrate.go +0 -379 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migration.go +0 -398 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migration_sql.go +0 -115 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/osfs.go +0 -28 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider.go +0 -669 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_collect.go +0 -196 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_errors.go +0 -48 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_options.go +0 -280 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_run.go +0 -535 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_types.go +0 -91 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/redo.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/register.go +0 -133 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/reset.go +0 -64 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/status.go +0 -64 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/up.go +0 -221 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/version.go +0 -52 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/LICENSE.txt +0 -21 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/README.md +0 -137 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/doc.go +0 -108 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/eastasianwidth.go +0 -2588 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/emojipresentation.go +0 -295 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/gen_breaktest.go +0 -215 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/gen_properties.go +0 -261 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/grapheme.go +0 -331 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/graphemeproperties.go +0 -1915 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/graphemerules.go +0 -176 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/line.go +0 -134 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/lineproperties.go +0 -3554 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/linerules.go +0 -626 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/properties.go +0 -208 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentence.go +0 -90 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentenceproperties.go +0 -2845 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentencerules.go +0 -276 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/step.go +0 -242 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/width.go +0 -61 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/word.go +0 -89 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/wordproperties.go +0 -1883 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/wordrules.go +0 -282 collapsed to keep the page light
D vendor/github.com/rs/zerolog/.gitignore +0 -27 collapsed to keep the page light
D vendor/github.com/rs/zerolog/CONTRIBUTING.md +0 -43 collapsed to keep the page light
D vendor/github.com/rs/zerolog/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/rs/zerolog/README.md +0 -858 collapsed to keep the page light
D vendor/github.com/rs/zerolog/array.go +0 -276 collapsed to keep the page light
D vendor/github.com/rs/zerolog/console.go +0 -535 collapsed to keep the page light
D vendor/github.com/rs/zerolog/context.go +0 -535 collapsed to keep the page light
D vendor/github.com/rs/zerolog/ctx.go +0 -51 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder.go +0 -56 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder_cbor.go +0 -45 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder_json.go +0 -51 collapsed to keep the page light
D vendor/github.com/rs/zerolog/event.go +0 -919 collapsed to keep the page light
D vendor/github.com/rs/zerolog/example.jsonl +0 -7 collapsed to keep the page light
D vendor/github.com/rs/zerolog/fields.go +0 -312 collapsed to keep the page light
D vendor/github.com/rs/zerolog/globals.go +0 -208 collapsed to keep the page light
D vendor/github.com/rs/zerolog/globals_118.go +0 -30 collapsed to keep the page light
D vendor/github.com/rs/zerolog/go112.go +0 -7 collapsed to keep the page light
D vendor/github.com/rs/zerolog/hook.go +0 -64 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/README.md +0 -56 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/base.go +0 -19 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/cbor.go +0 -102 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +0 -654 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/string.go +0 -117 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/time.go +0 -111 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/types.go +0 -524 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/base.go +0 -19 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/bytes.go +0 -85 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/string.go +0 -149 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/time.go +0 -124 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/types.go +0 -466 collapsed to keep the page light
D vendor/github.com/rs/zerolog/log.go +0 -528 collapsed to keep the page light
D vendor/github.com/rs/zerolog/not_go112.go +0 -5 collapsed to keep the page light
D vendor/github.com/rs/zerolog/pretty.png +0 -0 binary file: no text diff
binary file: no text diff
D vendor/github.com/rs/zerolog/sampler.go +0 -137 collapsed to keep the page light
D vendor/github.com/rs/zerolog/slog.go +0 -247 collapsed to keep the page light
D vendor/github.com/rs/zerolog/syslog.go +0 -89 collapsed to keep the page light
D vendor/github.com/rs/zerolog/writer.go +0 -355 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/.travis.yml +0 -17 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/LICENSE.txt +0 -29 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/README.md +0 -335 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/block.go +0 -1612 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/doc.go +0 -46 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/entities.go +0 -2236 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/esc.go +0 -70 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/html.go +0 -952 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/inline.go +0 -1228 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/markdown.go +0 -950 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/node.go +0 -360 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/smartypants.go +0 -457 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.editorconfig +0 -21 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.envrc +0 -4 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.gitignore +0 -5 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.golangci.yaml +0 -37 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/LICENSE +0 -19 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/README.md +0 -37 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.lock +0 -103 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.nix +0 -17 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/file_type.go +0 -32 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/finder.go +0 -171 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/glob.go +0 -5 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/glob_windows.go +0 -8 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/helpers.go +0 -41 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/internal/queue/eager.go +0 -53 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go +0 -8 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/justfile +0 -14 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/.editorconfig +0 -18 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/CONTRIBUTING.md +0 -1 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/Makefile +0 -59 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/README.md +0 -186 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/fuzzy.go +0 -263 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/LICENSE +0 -202 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/README.md +0 -185 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff.go +0 -134 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_constant.go +0 -25 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_exponential.go +0 -47 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_fibonacci.go +0 -56 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/rand.go +0 -54 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/retry.go +0 -104 collapsed to keep the page light
D vendor/github.com/spf13/afero/.editorconfig +0 -15 collapsed to keep the page light
D vendor/github.com/spf13/afero/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/afero/.golangci.yaml +0 -48 collapsed to keep the page light
D vendor/github.com/spf13/afero/LICENSE.txt +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/afero/README.md +0 -474 collapsed to keep the page light
D vendor/github.com/spf13/afero/afero.go +0 -111 collapsed to keep the page light
D vendor/github.com/spf13/afero/appveyor.yml +0 -10 collapsed to keep the page light
D vendor/github.com/spf13/afero/basepath.go +0 -222 collapsed to keep the page light
D vendor/github.com/spf13/afero/cacheOnReadFs.go +0 -315 collapsed to keep the page light
D vendor/github.com/spf13/afero/const_bsds.go +0 -23 collapsed to keep the page light
D vendor/github.com/spf13/afero/const_win_unix.go +0 -22 collapsed to keep the page light
D vendor/github.com/spf13/afero/copyOnWriteFs.go +0 -332 collapsed to keep the page light
D vendor/github.com/spf13/afero/httpFs.go +0 -114 collapsed to keep the page light
D vendor/github.com/spf13/afero/internal/common/adapters.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/afero/iofs.go +0 -302 collapsed to keep the page light
D vendor/github.com/spf13/afero/ioutil.go +0 -243 collapsed to keep the page light
D vendor/github.com/spf13/afero/lstater.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/afero/match.go +0 -110 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/dir.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/dirmap.go +0 -43 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/file.go +0 -373 collapsed to keep the page light
D vendor/github.com/spf13/afero/memmap.go +0 -463 collapsed to keep the page light
D vendor/github.com/spf13/afero/os.go +0 -113 collapsed to keep the page light
D vendor/github.com/spf13/afero/path.go +0 -106 collapsed to keep the page light
D vendor/github.com/spf13/afero/readonlyfs.go +0 -96 collapsed to keep the page light
D vendor/github.com/spf13/afero/regexpfs.go +0 -223 collapsed to keep the page light
D vendor/github.com/spf13/afero/symlink.go +0 -55 collapsed to keep the page light
D vendor/github.com/spf13/afero/unionFile.go +0 -331 collapsed to keep the page light
D vendor/github.com/spf13/afero/util.go +0 -329 collapsed to keep the page light
D vendor/github.com/spf13/cast/.editorconfig +0 -15 collapsed to keep the page light
D vendor/github.com/spf13/cast/.gitignore +0 -25 collapsed to keep the page light
D vendor/github.com/spf13/cast/.golangci.yaml +0 -39 collapsed to keep the page light
D vendor/github.com/spf13/cast/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/cast/Makefile +0 -40 collapsed to keep the page light
D vendor/github.com/spf13/cast/README.md +0 -79 collapsed to keep the page light
D vendor/github.com/spf13/cast/alias.go +0 -69 collapsed to keep the page light
D vendor/github.com/spf13/cast/basic.go +0 -131 collapsed to keep the page light
D vendor/github.com/spf13/cast/cast.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/cast/indirect.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/cast/internal/time.go +0 -79 collapsed to keep the page light
D vendor/github.com/spf13/cast/internal/timeformattype_string.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/cast/map.go +0 -212 collapsed to keep the page light
D vendor/github.com/spf13/cast/number.go +0 -549 collapsed to keep the page light
D vendor/github.com/spf13/cast/slice.go +0 -106 collapsed to keep the page light
D vendor/github.com/spf13/cast/time.go +0 -116 collapsed to keep the page light
D vendor/github.com/spf13/cast/zz_generated.go +0 -261 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.gitignore +0 -39 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.golangci.yml +0 -66 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.mailmap +0 -3 collapsed to keep the page light
D vendor/github.com/spf13/cobra/CONDUCT.md +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/cobra/CONTRIBUTING.md +0 -50 collapsed to keep the page light
D vendor/github.com/spf13/cobra/LICENSE.txt +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/cobra/MAINTAINERS +0 -13 collapsed to keep the page light
D vendor/github.com/spf13/cobra/Makefile +0 -35 collapsed to keep the page light
D vendor/github.com/spf13/cobra/README.md +0 -133 collapsed to keep the page light
D vendor/github.com/spf13/cobra/SECURITY.md +0 -105 collapsed to keep the page light
D vendor/github.com/spf13/cobra/active_help.go +0 -60 collapsed to keep the page light
D vendor/github.com/spf13/cobra/args.go +0 -131 collapsed to keep the page light
D vendor/github.com/spf13/cobra/bash_completions.go +0 -709 collapsed to keep the page light
D vendor/github.com/spf13/cobra/bash_completionsV2.go +0 -484 collapsed to keep the page light
D vendor/github.com/spf13/cobra/cobra.go +0 -246 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command.go +0 -2072 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command_notwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command_win.go +0 -41 collapsed to keep the page light
D vendor/github.com/spf13/cobra/completions.go +0 -1020 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/man_docs.go +0 -246 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/md_docs.go +0 -158 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/rest_docs.go +0 -186 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/util.go +0 -52 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/yaml_docs.go +0 -175 collapsed to keep the page light
D vendor/github.com/spf13/cobra/fish_completions.go +0 -292 collapsed to keep the page light
D vendor/github.com/spf13/cobra/flag_groups.go +0 -290 collapsed to keep the page light
D vendor/github.com/spf13/cobra/powershell_completions.go +0 -350 collapsed to keep the page light
D vendor/github.com/spf13/cobra/shell_completions.go +0 -98 collapsed to keep the page light
D vendor/github.com/spf13/cobra/zsh_completions.go +0 -308 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.editorconfig +0 -12 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.golangci.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.travis.yml +0 -22 collapsed to keep the page light
D vendor/github.com/spf13/pflag/LICENSE +0 -28 collapsed to keep the page light
D vendor/github.com/spf13/pflag/README.md +0 -323 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool.go +0 -94 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool_func.go +0 -40 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool_slice.go +0 -185 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bytes.go +0 -209 collapsed to keep the page light
D vendor/github.com/spf13/pflag/count.go +0 -96 collapsed to keep the page light
D vendor/github.com/spf13/pflag/duration.go +0 -86 collapsed to keep the page light
D vendor/github.com/spf13/pflag/duration_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/errors.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/flag.go +0 -1289 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float32_slice.go +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float64.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float64_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/func.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/pflag/golangflag.go +0 -161 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int16.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int32_slice.go +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int64.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int64_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int8.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int_slice.go +0 -158 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ip.go +0 -97 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ip_slice.go +0 -186 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipmask.go +0 -122 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipnet.go +0 -98 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipnet_slice.go +0 -147 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string.go +0 -80 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_array.go +0 -125 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_slice.go +0 -163 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_int.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_int64.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_string.go +0 -168 collapsed to keep the page light
D vendor/github.com/spf13/pflag/text.go +0 -81 collapsed to keep the page light
D vendor/github.com/spf13/pflag/time.go +0 -124 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint16.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint64.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint8.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint_slice.go +0 -168 collapsed to keep the page light
D vendor/github.com/spf13/viper/.editorconfig +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/viper/.envrc +0 -4 collapsed to keep the page light
D vendor/github.com/spf13/viper/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/spf13/viper/.golangci.yaml +0 -118 collapsed to keep the page light
D vendor/github.com/spf13/viper/.yamlignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/viper/.yamllint.yaml +0 -6 collapsed to keep the page light
D vendor/github.com/spf13/viper/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/viper/Makefile +0 -87 collapsed to keep the page light
D vendor/github.com/spf13/viper/README.md +0 -931 collapsed to keep the page light
D vendor/github.com/spf13/viper/TROUBLESHOOTING.md +0 -32 collapsed to keep the page light
D vendor/github.com/spf13/viper/UPGRADE.md +0 -147 collapsed to keep the page light
D vendor/github.com/spf13/viper/encoding.go +0 -181 collapsed to keep the page light
D vendor/github.com/spf13/viper/experimental.go +0 -8 collapsed to keep the page light
D vendor/github.com/spf13/viper/file.go +0 -104 collapsed to keep the page light
D vendor/github.com/spf13/viper/finder.go +0 -55 collapsed to keep the page light
D vendor/github.com/spf13/viper/flags.go +0 -57 collapsed to keep the page light
D vendor/github.com/spf13/viper/flake.lock +0 -255 collapsed to keep the page light
D vendor/github.com/spf13/viper/flake.nix +0 -61 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/dotenv/codec.go +0 -61 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/dotenv/map_utils.go +0 -41 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/json/codec.go +0 -17 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/toml/codec.go +0 -16 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go +0 -14 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/bind_struct.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/bind_struct_default.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/finder.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/finder_default.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/logger.go +0 -31 collapsed to keep the page light
D vendor/github.com/spf13/viper/remote.go +0 -259 collapsed to keep the page light
D vendor/github.com/spf13/viper/util.go +0 -211 collapsed to keep the page light
D vendor/github.com/spf13/viper/viper.go +0 -2077 collapsed to keep the page light
D vendor/github.com/stretchr/objx/.codeclimate.yml +0 -21 collapsed to keep the page light
D vendor/github.com/stretchr/objx/.gitignore +0 -11 collapsed to keep the page light
D vendor/github.com/stretchr/objx/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/stretchr/objx/README.md +0 -91 collapsed to keep the page light
D vendor/github.com/stretchr/objx/Taskfile.yml +0 -27 collapsed to keep the page light
D vendor/github.com/stretchr/objx/accessors.go +0 -197 collapsed to keep the page light
D vendor/github.com/stretchr/objx/conversions.go +0 -280 collapsed to keep the page light
D vendor/github.com/stretchr/objx/doc.go +0 -66 collapsed to keep the page light
D vendor/github.com/stretchr/objx/map.go +0 -214 collapsed to keep the page light
D vendor/github.com/stretchr/objx/mutations.go +0 -77 collapsed to keep the page light
D vendor/github.com/stretchr/objx/security.go +0 -12 collapsed to keep the page light
D vendor/github.com/stretchr/objx/tests.go +0 -17 collapsed to keep the page light
D vendor/github.com/stretchr/objx/type_specific.go +0 -346 collapsed to keep the page light
D vendor/github.com/stretchr/objx/type_specific_codegen.go +0 -2261 collapsed to keep the page light
D vendor/github.com/stretchr/objx/value.go +0 -159 collapsed to keep the page light
D vendor/github.com/stretchr/testify/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_compare.go +0 -495 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_format.go +0 -866 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_forward.go +0 -1723 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_order.go +0 -81 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertions.go +0 -2295 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/doc.go +0 -50 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/errors.go +0 -10 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/forward_assertions.go +0 -16 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/http_assertions.go +0 -165 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_custom.go +0 -24 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_default.go +0 -36 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_fail.go +0 -17 collapsed to keep the page light
D vendor/github.com/stretchr/testify/mock/doc.go +0 -44 collapsed to keep the page light
D vendor/github.com/stretchr/testify/mock/mock.go +0 -1298 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/doc.go +0 -31 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/forward_requirements.go +0 -16 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require.go +0 -2180 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require.go.tmpl +0 -6 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require_forward.go +0 -1724 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require_forward.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/requirements.go +0 -29 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.env +0 -1 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.env.invalid +0 -1 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.gitignore +0 -4 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.golangci.yaml +0 -7 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/CHANGELOG.md +0 -105 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/README.md +0 -129 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/gotenv.go +0 -409 collapsed to keep the page light
D vendor/github.com/xo/terminfo/.gitignore +0 -9 collapsed to keep the page light
D vendor/github.com/xo/terminfo/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/xo/terminfo/README.md +0 -139 collapsed to keep the page light
D vendor/github.com/xo/terminfo/caps.go +0 -31 collapsed to keep the page light
D vendor/github.com/xo/terminfo/capvals.go +0 -1525 collapsed to keep the page light
D vendor/github.com/xo/terminfo/color.go +0 -88 collapsed to keep the page light
D vendor/github.com/xo/terminfo/dec.go +0 -245 collapsed to keep the page light
D vendor/github.com/xo/terminfo/load.go +0 -64 collapsed to keep the page light
D vendor/github.com/xo/terminfo/param.go +0 -405 collapsed to keep the page light
D vendor/github.com/xo/terminfo/stack.go +0 -48 collapsed to keep the page light
D vendor/github.com/xo/terminfo/terminfo.go +0 -479 collapsed to keep the page light
D vendor/go.uber.org/multierr/.codecov.yml +0 -15 collapsed to keep the page light
D vendor/go.uber.org/multierr/.gitignore +0 -4 collapsed to keep the page light
D vendor/go.uber.org/multierr/CHANGELOG.md +0 -95 collapsed to keep the page light
D vendor/go.uber.org/multierr/LICENSE.txt +0 -19 collapsed to keep the page light
D vendor/go.uber.org/multierr/Makefile +0 -38 collapsed to keep the page light
D vendor/go.uber.org/multierr/README.md +0 -43 collapsed to keep the page light
D vendor/go.uber.org/multierr/error.go +0 -646 collapsed to keep the page light
D vendor/go.uber.org/multierr/error_post_go120.go +0 -48 collapsed to keep the page light
D vendor/go.uber.org/multierr/error_pre_go120.go +0 -79 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/LICENSE +0 -50 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/NOTICE +0 -13 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/README.md +0 -171 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/apic.go +0 -747 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/decode.go +0 -1018 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/emitterc.go +0 -2054 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/encode.go +0 -577 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/parserc.go +0 -1274 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/readerc.go +0 -434 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/resolve.go +0 -326 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/scannerc.go +0 -3040 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/sorter.go +0 -134 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/writerc.go +0 -48 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yaml.go +0 -703 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yamlh.go +0 -811 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yamlprivateh.go +0 -198 collapsed to keep the page light
D vendor/golang.org/x/image/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/image/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/image/draw/draw.go +0 -67 collapsed to keep the page light
D vendor/golang.org/x/image/draw/impl.go +0 -8426 collapsed to keep the page light
D vendor/golang.org/x/image/draw/scale.go +0 -525 collapsed to keep the page light
D vendor/golang.org/x/image/math/f64/f64.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/mod/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/mod/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/print.go +0 -184 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/read.go +0 -962 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/rule.go +0 -1951 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/work.go +0 -333 collapsed to keep the page light
D vendor/golang.org/x/mod/module/module.go +0 -840 collapsed to keep the page light
D vendor/golang.org/x/mod/module/pseudo.go +0 -250 collapsed to keep the page light
D vendor/golang.org/x/mod/semver/semver.go +0 -407 collapsed to keep the page light
D vendor/golang.org/x/net/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/net/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/net/html/atom/atom.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/net/html/atom/table.go +0 -785 collapsed to keep the page light
D vendor/golang.org/x/net/html/const.go +0 -111 collapsed to keep the page light
D vendor/golang.org/x/net/html/doc.go +0 -122 collapsed to keep the page light
D vendor/golang.org/x/net/html/doctype.go +0 -156 collapsed to keep the page light
D vendor/golang.org/x/net/html/entity.go +0 -2252 collapsed to keep the page light
D vendor/golang.org/x/net/html/escape.go +0 -379 collapsed to keep the page light
D vendor/golang.org/x/net/html/foreign.go +0 -221 collapsed to keep the page light
D vendor/golang.org/x/net/html/iter.go +0 -54 collapsed to keep the page light
D vendor/golang.org/x/net/html/node.go +0 -230 collapsed to keep the page light
D vendor/golang.org/x/net/html/nodetype_string.go +0 -31 collapsed to keep the page light
D vendor/golang.org/x/net/html/parse.go +0 -2378 collapsed to keep the page light
D vendor/golang.org/x/net/html/render.go +0 -316 collapsed to keep the page light
D vendor/golang.org/x/net/html/token.go +0 -1322 collapsed to keep the page light
D vendor/golang.org/x/net/idna/idna.go +0 -880 collapsed to keep the page light
D vendor/golang.org/x/net/idna/punycode.go +0 -220 collapsed to keep the page light
D vendor/golang.org/x/net/idna/tables15.0.0.go +0 -5144 collapsed to keep the page light
D vendor/golang.org/x/net/idna/tables17.0.0.go +0 -5302 collapsed to keep the page light
D vendor/golang.org/x/net/idna/trie.go +0 -51 collapsed to keep the page light
D vendor/golang.org/x/net/idna/trieval.go +0 -119 collapsed to keep the page light
D vendor/golang.org/x/net/publicsuffix/data/children +0 -0 binary file: no text diff
binary file: no text diff
D vendor/golang.org/x/net/publicsuffix/data/nodes +0 -0 binary file: no text diff
binary file: no text diff
D vendor/golang.org/x/net/publicsuffix/data/text +0 -1 collapsed to keep the page light
D vendor/golang.org/x/net/publicsuffix/list.go +0 -210 collapsed to keep the page light
D vendor/golang.org/x/net/publicsuffix/table.go +0 -70 collapsed to keep the page light
D vendor/golang.org/x/sync/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sync/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/sync/errgroup/errgroup.go +0 -151 collapsed to keep the page light
D vendor/golang.org/x/sys/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/.gitignore +0 -2 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/README.md +0 -184 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/affinity_linux.go +0 -189 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/aliases.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_aix_ppc64.s +0 -17 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_386.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_amd64.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_arm.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_arm64.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s +0 -29 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_386.s +0 -65 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_amd64.s +0 -57 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_arm.s +0 -56 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_arm64.s +0 -50 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_loong64.s +0 -51 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_mips64x.s +0 -54 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_mipsx.s +0 -52 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s +0 -42 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_riscv64.s +0 -47 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_linux_s390x.s +0 -54 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s +0 -29 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_solaris_amd64.s +0 -17 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/asm_zos_s390x.s +0 -382 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/auxv.go +0 -36 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/auxv_unsupported.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/bluetooth_linux.go +0 -36 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/bpxsvc_zos.go +0 -657 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/bpxsvc_zos.s +0 -192 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/cap_freebsd.go +0 -195 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/constants.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_aix_ppc.go +0 -26 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_aix_ppc64.go +0 -28 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_darwin.go +0 -24 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_dragonfly.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_freebsd.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_linux.go +0 -42 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_netbsd.go +0 -29 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_openbsd.go +0 -29 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dev_zos.go +0 -28 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/dirent.go +0 -102 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/endian_big.go +0 -9 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/endian_little.go +0 -9 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/env_unix.go +0 -31 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/fcntl.go +0 -36 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/fcntl_darwin.go +0 -24 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/fdset.go +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/gccgo.go +0 -59 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/gccgo_c.c +0 -44 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go +0 -20 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ifreq_linux.go +0 -139 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ioctl_linux.go +0 -334 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ioctl_signed.go +0 -74 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ioctl_unsigned.go +0 -74 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ioctl_zos.go +0 -71 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/mkall.sh +0 -250 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/mkerrors.sh +0 -814 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/mmap_nomremap.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/mremap.go +0 -57 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/pagesize_unix.go +0 -15 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/pledge_openbsd.go +0 -111 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ptrace_darwin.go +0 -11 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ptrace_ios.go +0 -11 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/race.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/race0.go +0 -25 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/readdirent_getdents.go +0 -12 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/readdirent_getdirentries.go +0 -19 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/readv_unix.go +0 -103 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go +0 -16 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_linux.go +0 -85 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_unix.go +0 -106 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go +0 -46 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sockcmsg_zos.go +0 -58 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s +0 -75 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall.go +0 -86 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_aix.go +0 -582 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_aix_ppc.go +0 -52 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go +0 -83 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_bsd.go +0 -609 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_darwin.go +0 -711 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go +0 -50 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go +0 -50 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go +0 -26 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_dragonfly.go +0 -359 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +0 -56 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd.go +0 -455 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +0 -64 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +0 -64 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +0 -60 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +0 -60 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go +0 -60 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_hurd.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_hurd_386.go +0 -28 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_illumos.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux.go +0 -2574 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_386.go +0 -313 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_alarm.go +0 -12 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +0 -144 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go +0 -12 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_arm.go +0 -218 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +0 -188 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gc.go +0 -14 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go +0 -16 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go +0 -20 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_loong64.go +0 -220 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go +0 -187 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go +0 -173 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_ppc.go +0 -203 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +0 -114 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +0 -193 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +0 -295 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go +0 -111 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd.go +0 -388 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd_386.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd.go +0 -346 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_386.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go +0 -26 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +0 -39 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_ppc64.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_openbsd_riscv64.go +0 -41 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_solaris.go +0 -1183 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_unix.go +0 -619 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_unix_gc.go +0 -14 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go +0 -22 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/syscall_zos_s390x.go +0 -3213 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sysvshm_linux.go +0 -20 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sysvshm_unix.go +0 -51 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/sysvshm_unix_other.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/timestruct.go +0 -76 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/unveil_openbsd.go +0 -51 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/vgetrandom_linux.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go +0 -11 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/xattr_bsd.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go +0 -1384 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go +0 -1385 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go +0 -1922 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go +0 -1922 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go +0 -1737 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +0 -2042 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +0 -2039 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +0 -2033 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +0 -2033 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go +0 -2147 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux.go +0 -4207 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_386.go +0 -883 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +0 -883 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +0 -888 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +0 -885 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +0 -875 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +0 -889 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +0 -889 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +0 -889 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +0 -889 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +0 -941 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +0 -945 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +0 -945 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +0 -885 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +0 -944 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +0 -987 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go +0 -1779 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go +0 -1769 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go +0 -1758 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go +0 -1769 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_mips64.go +0 -1905 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_ppc64.go +0 -1904 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_openbsd_riscv64.go +0 -1903 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go +0 -1556 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go +0 -990 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go +0 -40 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go +0 -17 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go +0 -49 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go +0 -49 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zptrace_x86_linux.go +0 -79 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s +0 -364 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go +0 -1461 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go +0 -1420 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go +0 -1188 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go +0 -1069 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +0 -2728 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +0 -799 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +0 -2728 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +0 -799 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +0 -1666 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go +0 -1886 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go +0 -101 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux.go +0 -2267 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +0 -469 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +0 -636 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +0 -584 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +0 -535 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go +0 -469 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go +0 -636 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go +0 -630 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go +0 -619 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go +0 -636 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_ppc.go +0 -641 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +0 -687 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +0 -687 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +0 -531 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go +0 -478 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go +0 -631 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +0 -1848 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +0 -1848 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +0 -1848 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go +0 -1848 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s +0 -862 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go +0 -2407 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +0 -2217 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go +0 -3458 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go +0 -280 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go +0 -281 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go +0 -439 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go +0 -437 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go +0 -316 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go +0 -393 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +0 -470 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +0 -394 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +0 -434 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +0 -337 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +0 -334 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +0 -454 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +0 -384 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +0 -384 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +0 -454 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +0 -461 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +0 -433 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +0 -433 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +0 -338 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +0 -399 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +0 -413 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go +0 -274 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go +0 -274 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go +0 -274 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go +0 -274 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go +0 -219 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go +0 -219 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go +0 -219 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go +0 -218 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go +0 -221 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go +0 -217 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go +0 -218 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go +0 -2852 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go +0 -353 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go +0 -357 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +0 -878 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +0 -878 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go +0 -473 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +0 -651 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +0 -656 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +0 -642 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +0 -636 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go +0 -638 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux.go +0 -6475 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_386.go +0 -717 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +0 -731 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +0 -711 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +0 -710 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +0 -711 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +0 -716 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +0 -713 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +0 -713 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +0 -716 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +0 -724 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +0 -719 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +0 -798 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +0 -733 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +0 -714 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go +0 -585 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go +0 -593 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go +0 -590 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go +0 -593 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +0 -568 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +0 -568 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +0 -575 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +0 -568 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +0 -568 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go +0 -570 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go +0 -570 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +0 -516 collapsed to keep the page light
D vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go +0 -552 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/aliases.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/dll_windows.go +0 -380 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/env_windows.go +0 -57 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/eventlog.go +0 -20 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/exec_windows.go +0 -248 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/memory_windows.go +0 -48 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/mkerrors.bash +0 -70 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/mkknownfolderids.bash +0 -27 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/mksyscall.go +0 -9 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/race.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/race0.go +0 -25 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/security_windows.go +0 -1537 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/service.go +0 -257 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/setupapi_windows.go +0 -1425 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/str.go +0 -22 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/syscall.go +0 -104 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/syscall_windows.go +0 -1952 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows.go +0 -4057 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows_386.go +0 -35 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows_amd64.go +0 -34 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows_arm.go +0 -35 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/types_windows_arm64.go +0 -34 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/zerrors_windows.go +0 -9468 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/zknownfolderids_windows.go +0 -149 collapsed to keep the page light
D vendor/golang.org/x/sys/windows/zsyscall_windows.go +0 -4828 collapsed to keep the page light
D vendor/golang.org/x/text/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/text/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/encoding.go +0 -335 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/internal/identifier/identifier.go +0 -81 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/internal/identifier/mib.go +0 -1627 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/internal/internal.go +0 -75 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/unicode/override.go +0 -82 collapsed to keep the page light
D vendor/golang.org/x/text/encoding/unicode/unicode.go +0 -512 collapsed to keep the page light
D vendor/golang.org/x/text/internal/utf8internal/utf8internal.go +0 -87 collapsed to keep the page light
D vendor/golang.org/x/text/runes/cond.go +0 -187 collapsed to keep the page light
D vendor/golang.org/x/text/runes/runes.go +0 -355 collapsed to keep the page light
D vendor/golang.org/x/text/secure/bidirule/bidirule.go +0 -340 collapsed to keep the page light
D vendor/golang.org/x/text/transform/transform.go +0 -709 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/bidi.go +0 -359 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/bracket.go +0 -335 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/core.go +0 -1064 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/prop.go +0 -206 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/tables15.0.0.go +0 -2042 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/tables17.0.0.go +0 -2135 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/bidi/trieval.go +0 -48 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/composition.go +0 -512 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/forminfo.go +0 -296 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/input.go +0 -109 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/iter.go +0 -454 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/normalize.go +0 -610 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/readwriter.go +0 -125 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/tables15.0.0.go +0 -7907 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/tables17.0.0.go +0 -8104 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/transform.go +0 -88 collapsed to keep the page light
D vendor/golang.org/x/text/unicode/norm/trie.go +0 -54 collapsed to keep the page light
D vendor/golang.org/x/tools/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/tools/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/astutil/enclosing.go +0 -663 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/astutil/imports.go +0 -487 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/astutil/rewrite.go +0 -490 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/astutil/util.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/edge/edge.go +0 -299 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/cursor.go +0 -551 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/inspector.go +0 -311 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/iter.go +0 -113 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/typeof.go +0 -227 collapsed to keep the page light
D vendor/golang.org/x/tools/go/ast/inspector/walk.go +0 -341 collapsed to keep the page light
D vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go +0 -236 collapsed to keep the page light
D vendor/golang.org/x/tools/go/gcexportdata/importer.go +0 -75 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/doc.go +0 -253 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/external.go +0 -153 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/golist.go +0 -1126 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/golist_overlay.go +0 -83 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/loadmode_string.go +0 -56 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/packages.go +0 -1605 collapsed to keep the page light
D vendor/golang.org/x/tools/go/packages/visit.go +0 -133 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/objectpath/objectpath.go +0 -945 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/callee.go +0 -86 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/imports.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/map.go +0 -459 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/methodsetcache.go +0 -71 collapsed to keep the page light
D vendor/golang.org/x/tools/go/types/typeutil/ui.go +0 -53 collapsed to keep the page light
D vendor/golang.org/x/tools/imports/forward.go +0 -77 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/aliases/aliases.go +0 -18 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/core/event.go +0 -95 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/core/export.go +0 -67 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/core/fast.go +0 -77 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/doc.go +0 -7 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/event.go +0 -127 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/keys/keys.go +0 -237 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/keys/standard.go +0 -22 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/keys/util.go +0 -21 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/event/label/label.go +0 -203 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/bimport.go +0 -89 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/exportdata.go +0 -421 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/gcimporter.go +0 -108 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/iexport.go +0 -1605 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/iimport.go +0 -1122 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/predeclared.go +0 -91 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/support.go +0 -30 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gcimporter/ureader.go +0 -813 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/invoke.go +0 -567 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/invoke_notunix.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/invoke_unix.go +0 -13 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/vendor.go +0 -163 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gocommand/version.go +0 -75 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/gopathwalk/walk.go +0 -336 collapsed to keep the page light
D vendor/golang.org/x/tools/internal/imports/fix.go +0 -1893
| @@ -1,1893 +0,0 @@ | |||
| 1 | - | // Copyright 2013 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 imports | |
| 6 | - | ||
| 7 | - | import ( | |
| 8 | - | "bytes" | |
| 9 | - | "context" | |
| 10 | - | "encoding/json" | |
| 11 | - | "fmt" | |
| 12 | - | "go/ast" | |
| 13 | - | "go/build" | |
| 14 | - | "go/parser" | |
| 15 | - | "go/token" | |
| 16 | - | "go/types" | |
| 17 | - | "io/fs" | |
| 18 | - | "io/ioutil" | |
| 19 | - | "maps" | |
| 20 | - | "os" | |
| 21 | - | "path" | |
| 22 | - | "path/filepath" | |
| 23 | - | "reflect" | |
| 24 | - | "sort" | |
| 25 | - | "strconv" | |
| 26 | - | "strings" | |
| 27 | - | "sync" | |
| 28 | - | "unicode" | |
| 29 | - | "unicode/utf8" | |
| 30 | - | ||
| 31 | - | "golang.org/x/tools/go/ast/astutil" | |
| 32 | - | "golang.org/x/tools/internal/event" | |
| 33 | - | "golang.org/x/tools/internal/gocommand" | |
| 34 | - | "golang.org/x/tools/internal/gopathwalk" | |
| 35 | - | "golang.org/x/tools/internal/stdlib" | |
| 36 | - | ) | |
| 37 | - | ||
| 38 | - | // importToGroup is a list of functions which map from an import path to | |
| 39 | - | // a group number. | |
| 40 | - | var importToGroup = []func(localPrefix, importPath string) (num int, ok bool){ | |
| 41 | - | func(localPrefix, importPath string) (num int, ok bool) { | |
| 42 | - | if localPrefix == "" { | |
| 43 | - | return | |
| 44 | - | } | |
| 45 | - | for p := range strings.SplitSeq(localPrefix, ",") { | |
| 46 | - | if strings.HasPrefix(importPath, p) || strings.TrimSuffix(p, "/") == importPath { | |
| 47 | - | return 3, true | |
| 48 | - | } | |
| 49 | - | } | |
| 50 | - | return | |
| 51 | - | }, | |
| 52 | - | func(_, importPath string) (num int, ok bool) { | |
| 53 | - | if strings.HasPrefix(importPath, "appengine") { | |
| 54 | - | return 2, true | |
| 55 | - | } | |
| 56 | - | return | |
| 57 | - | }, | |
| 58 | - | func(_, importPath string) (num int, ok bool) { | |
| 59 | - | firstComponent := strings.Split(importPath, "/")[0] | |
| 60 | - | if strings.Contains(firstComponent, ".") { | |
| 61 | - | return 1, true | |
| 62 | - | } | |
| 63 | - | return | |
| 64 | - | }, | |
| 65 | - | } | |
| 66 | - | ||
| 67 | - | func importGroup(localPrefix, importPath string) int { | |
| 68 | - | for _, fn := range importToGroup { | |
| 69 | - | if n, ok := fn(localPrefix, importPath); ok { | |
| 70 | - | return n | |
| 71 | - | } | |
| 72 | - | } | |
| 73 | - | return 0 | |
| 74 | - | } | |
| 75 | - | ||
| 76 | - | type ImportFixType int | |
| 77 | - | ||
| 78 | - | const ( | |
| 79 | - | AddImport ImportFixType = iota | |
| 80 | - | DeleteImport | |
| 81 | - | SetImportName | |
| 82 | - | ) | |
| 83 | - | ||
| 84 | - | type ImportFix struct { | |
| 85 | - | // StmtInfo represents the import statement this fix will add, remove, or change. | |
| 86 | - | StmtInfo ImportInfo | |
| 87 | - | // IdentName is the identifier that this fix will add or remove. | |
| 88 | - | IdentName string | |
| 89 | - | // FixType is the type of fix this is (AddImport, DeleteImport, SetImportName). | |
| 90 | - | FixType ImportFixType | |
| 91 | - | Relevance float64 // see pkg | |
| 92 | - | } | |
| 93 | - | ||
| 94 | - | // parseOtherFiles parses all the Go files in srcDir except filename, including | |
| 95 | - | // test files if filename looks like a test. | |
| 96 | - | // | |
| 97 | - | // It returns an error only if ctx is cancelled. Files with parse errors are | |
| 98 | - | // ignored. | |
| 99 | - | func parseOtherFiles(ctx context.Context, fset *token.FileSet, srcDir, filename string) ([]*ast.File, error) { | |
| 100 | - | // This could use go/packages but it doesn't buy much, and it fails | |
| 101 | - | // with https://golang.org/issue/26296 in LoadFiles mode in some cases. | |
| 102 | - | considerTests := strings.HasSuffix(filename, "_test.go") | |
| 103 | - | ||
| 104 | - | fileBase := filepath.Base(filename) | |
| 105 | - | packageFileInfos, err := os.ReadDir(srcDir) | |
| 106 | - | if err != nil { | |
| 107 | - | return nil, ctx.Err() | |
| 108 | - | } | |
| 109 | - | ||
| 110 | - | var files []*ast.File | |
| 111 | - | for _, fi := range packageFileInfos { | |
| 112 | - | if ctx.Err() != nil { | |
| 113 | - | return nil, ctx.Err() | |
| 114 | - | } | |
| 115 | - | if fi.Name() == fileBase || !strings.HasSuffix(fi.Name(), ".go") { | |
| 116 | - | continue | |
| 117 | - | } | |
| 118 | - | if !considerTests && strings.HasSuffix(fi.Name(), "_test.go") { | |
| 119 | - | continue | |
| 120 | - | } | |
| 121 | - | ||
| 122 | - | f, err := parser.ParseFile(fset, filepath.Join(srcDir, fi.Name()), nil, parser.SkipObjectResolution) | |
| 123 | - | if err != nil { | |
| 124 | - | continue | |
| 125 | - | } | |
| 126 | - | ||
| 127 | - | files = append(files, f) | |
| 128 | - | } | |
| 129 | - | ||
| 130 | - | return files, ctx.Err() | |
| 131 | - | } | |
| 132 | - | ||
| 133 | - | // addGlobals puts the names of package vars into the provided map. | |
| 134 | - | func addGlobals(f *ast.File, globals map[string]bool) { | |
| 135 | - | for _, decl := range f.Decls { | |
| 136 | - | genDecl, ok := decl.(*ast.GenDecl) | |
| 137 | - | if !ok { | |
| 138 | - | continue | |
| 139 | - | } | |
| 140 | - | ||
| 141 | - | for _, spec := range genDecl.Specs { | |
| 142 | - | valueSpec, ok := spec.(*ast.ValueSpec) | |
| 143 | - | if !ok { | |
| 144 | - | continue | |
| 145 | - | } | |
| 146 | - | globals[valueSpec.Names[0].Name] = true | |
| 147 | - | } | |
| 148 | - | } | |
| 149 | - | } | |
| 150 | - | ||
| 151 | - | // collectReferences builds a map of selector expressions, from | |
| 152 | - | // left hand side (X) to a set of right hand sides (Sel). | |
| 153 | - | func collectReferences(f *ast.File) References { | |
| 154 | - | refs := References{} | |
| 155 | - | ||
| 156 | - | var visitor visitFn | |
| 157 | - | visitor = func(node ast.Node) ast.Visitor { | |
| 158 | - | if node == nil { | |
| 159 | - | return visitor | |
| 160 | - | } | |
| 161 | - | switch v := node.(type) { | |
| 162 | - | case *ast.SelectorExpr: | |
| 163 | - | xident, ok := v.X.(*ast.Ident) | |
| 164 | - | if !ok { | |
| 165 | - | break | |
| 166 | - | } | |
| 167 | - | if xident.Obj != nil { | |
| 168 | - | // If the parser can resolve it, it's not a package ref. | |
| 169 | - | break | |
| 170 | - | } | |
| 171 | - | if !ast.IsExported(v.Sel.Name) { | |
| 172 | - | // Whatever this is, it's not exported from a package. | |
| 173 | - | break | |
| 174 | - | } | |
| 175 | - | pkgName := xident.Name | |
| 176 | - | r := refs[pkgName] | |
| 177 | - | if r == nil { | |
| 178 | - | r = make(map[string]bool) | |
| 179 | - | refs[pkgName] = r | |
| 180 | - | } | |
| 181 | - | r[v.Sel.Name] = true | |
| 182 | - | } | |
| 183 | - | return visitor | |
| 184 | - | } | |
| 185 | - | ast.Walk(visitor, f) | |
| 186 | - | return refs | |
| 187 | - | } | |
| 188 | - | ||
| 189 | - | // collectImports returns all the imports in f. | |
| 190 | - | // Unnamed imports (., _) and "C" are ignored. | |
| 191 | - | func collectImports(f *ast.File) []*ImportInfo { | |
| 192 | - | var imports []*ImportInfo | |
| 193 | - | for _, imp := range f.Imports { | |
| 194 | - | var name string | |
| 195 | - | if imp.Name != nil { | |
| 196 | - | name = imp.Name.Name | |
| 197 | - | } | |
| 198 | - | if imp.Path.Value == `"C"` || name == "_" || name == "." { | |
| 199 | - | continue | |
| 200 | - | } | |
| 201 | - | path := strings.Trim(imp.Path.Value, `"`) | |
| 202 | - | imports = append(imports, &ImportInfo{ | |
| 203 | - | Name: name, | |
| 204 | - | ImportPath: path, | |
| 205 | - | }) | |
| 206 | - | } | |
| 207 | - | return imports | |
| 208 | - | } | |
| 209 | - | ||
| 210 | - | // findMissingImport searches pass's candidates for an import that provides | |
| 211 | - | // pkg, containing all of syms. | |
| 212 | - | func (p *pass) findMissingImport(pkg string, syms map[string]bool) *ImportInfo { | |
| 213 | - | for _, candidate := range p.candidates { | |
| 214 | - | pkgInfo, ok := p.knownPackages[candidate.ImportPath] | |
| 215 | - | if !ok { | |
| 216 | - | continue | |
| 217 | - | } | |
| 218 | - | if p.importIdentifier(candidate) != pkg { | |
| 219 | - | continue | |
| 220 | - | } | |
| 221 | - | ||
| 222 | - | allFound := true | |
| 223 | - | for right := range syms { | |
| 224 | - | if !pkgInfo.Exports[right] { | |
| 225 | - | allFound = false | |
| 226 | - | break | |
| 227 | - | } | |
| 228 | - | } | |
| 229 | - | ||
| 230 | - | if allFound { | |
| 231 | - | return candidate | |
| 232 | - | } | |
| 233 | - | } | |
| 234 | - | return nil | |
| 235 | - | } | |
| 236 | - | ||
| 237 | - | // A pass contains all the inputs and state necessary to fix a file's imports. | |
| 238 | - | // It can be modified in some ways during use; see comments below. | |
| 239 | - | type pass struct { | |
| 240 | - | // Inputs. These must be set before a call to load, and not modified after. | |
| 241 | - | fset *token.FileSet // fset used to parse f and its siblings. | |
| 242 | - | f *ast.File // the file being fixed. | |
| 243 | - | srcDir string // the directory containing f. | |
| 244 | - | logf func(string, ...any) | |
| 245 | - | source Source // the environment to use for go commands, etc. | |
| 246 | - | loadRealPackageNames bool // if true, load package names from disk rather than guessing them. | |
| 247 | - | otherFiles []*ast.File // sibling files. | |
| 248 | - | goroot string | |
| 249 | - | ||
| 250 | - | // Intermediate state, generated by load. | |
| 251 | - | existingImports map[string][]*ImportInfo | |
| 252 | - | allRefs References | |
| 253 | - | missingRefs References | |
| 254 | - | ||
| 255 | - | // Inputs to fix. These can be augmented between successive fix calls. | |
| 256 | - | lastTry bool // indicates that this is the last call and fix should clean up as best it can. | |
| 257 | - | candidates []*ImportInfo // candidate imports in priority order. | |
| 258 | - | knownPackages map[string]*PackageInfo // information about all known packages. | |
| 259 | - | } | |
| 260 | - | ||
| 261 | - | // loadPackageNames saves the package names for everything referenced by imports. | |
| 262 | - | func (p *pass) loadPackageNames(ctx context.Context, imports []*ImportInfo) error { | |
| 263 | - | if p.logf != nil { | |
| 264 | - | p.logf("loading package names for %v packages", len(imports)) | |
| 265 | - | defer func() { | |
| 266 | - | p.logf("done loading package names for %v packages", len(imports)) | |
| 267 | - | }() | |
| 268 | - | } | |
| 269 | - | var unknown []string | |
| 270 | - | for _, imp := range imports { | |
| 271 | - | if _, ok := p.knownPackages[imp.ImportPath]; ok { | |
| 272 | - | continue | |
| 273 | - | } | |
| 274 | - | unknown = append(unknown, imp.ImportPath) | |
| 275 | - | } | |
| 276 | - | names, err := p.source.LoadPackageNames(ctx, p.srcDir, unknown) | |
| 277 | - | if err != nil { | |
| 278 | - | return err | |
| 279 | - | } | |
| 280 | - | ||
| 281 | - | // TODO(rfindley): revisit this. Why do we need to store known packages with | |
| 282 | - | // no exports? The inconsistent data is confusing. | |
| 283 | - | for path, name := range names { | |
| 284 | - | p.knownPackages[path] = &PackageInfo{ | |
| 285 | - | Name: name, | |
| 286 | - | Exports: map[string]bool{}, | |
| 287 | - | } | |
| 288 | - | } | |
| 289 | - | return nil | |
| 290 | - | } | |
| 291 | - | ||
| 292 | - | // WithoutVersion removes a trailing major version, if there is one. | |
| 293 | - | func WithoutVersion(nm string) string { | |
| 294 | - | if v := path.Base(nm); len(v) > 0 && v[0] == 'v' { | |
| 295 | - | if _, err := strconv.Atoi(v[1:]); err == nil { | |
| 296 | - | // this is, for instance, called with rand/v2 and returns rand | |
| 297 | - | if len(v) < len(nm) { | |
| 298 | - | xnm := nm[:len(nm)-len(v)-1] | |
| 299 | - | return path.Base(xnm) | |
| 300 | - | } | |
| 301 | - | } | |
| 302 | - | } | |
| 303 | - | return nm | |
| 304 | - | } | |
| 305 | - | ||
| 306 | - | // importIdentifier returns the identifier that imp will introduce. It will | |
| 307 | - | // guess if the package name has not been loaded, e.g. because the source | |
| 308 | - | // is not available. | |
| 309 | - | func (p *pass) importIdentifier(imp *ImportInfo) string { | |
| 310 | - | if imp.Name != "" { | |
| 311 | - | return imp.Name | |
| 312 | - | } | |
| 313 | - | known := p.knownPackages[imp.ImportPath] | |
| 314 | - | if known != nil && known.Name != "" { | |
| 315 | - | return WithoutVersion(known.Name) | |
| 316 | - | } | |
| 317 | - | return ImportPathToAssumedName(imp.ImportPath) | |
| 318 | - | } | |
| 319 | - | ||
| 320 | - | // load reads in everything necessary to run a pass, and reports whether the | |
| 321 | - | // file already has all the imports it needs. It fills in p.missingRefs with the | |
| 322 | - | // file's missing symbols, if any, or removes unused imports if not. | |
| 323 | - | func (p *pass) load(ctx context.Context) ([]*ImportFix, bool) { | |
| 324 | - | p.knownPackages = map[string]*PackageInfo{} | |
| 325 | - | p.missingRefs = References{} | |
| 326 | - | p.existingImports = map[string][]*ImportInfo{} | |
| 327 | - | ||
| 328 | - | // Load basic information about the file in question. | |
| 329 | - | p.allRefs = collectReferences(p.f) | |
| 330 | - | ||
| 331 | - | // Load stuff from other files in the same package: | |
| 332 | - | // global variables so we know they don't need resolving, and imports | |
| 333 | - | // that we might want to mimic. | |
| 334 | - | globals := map[string]bool{} | |
| 335 | - | for _, otherFile := range p.otherFiles { | |
| 336 | - | // Don't load globals from files that are in the same directory | |
| 337 | - | // but a different package. Using them to suggest imports is OK. | |
| 338 | - | if p.f.Name.Name == otherFile.Name.Name { | |
| 339 | - | addGlobals(otherFile, globals) | |
| 340 | - | } | |
| 341 | - | p.candidates = append(p.candidates, collectImports(otherFile)...) | |
| 342 | - | } | |
| 343 | - | ||
| 344 | - | // Resolve all the import paths we've seen to package names, and store | |
| 345 | - | // f's imports by the identifier they introduce. | |
| 346 | - | imports := collectImports(p.f) | |
| 347 | - | if p.loadRealPackageNames { | |
| 348 | - | err := p.loadPackageNames(ctx, append(imports, p.candidates...)) | |
| 349 | - | if err != nil { | |
| 350 | - | if p.logf != nil { | |
| 351 | - | p.logf("loading package names: %v", err) | |
| 352 | - | } | |
| 353 | - | return nil, false | |
| 354 | - | } | |
| 355 | - | } | |
| 356 | - | for _, imp := range imports { | |
| 357 | - | p.existingImports[p.importIdentifier(imp)] = append(p.existingImports[p.importIdentifier(imp)], imp) | |
| 358 | - | } | |
| 359 | - | ||
| 360 | - | // Find missing references. | |
| 361 | - | for left, rights := range p.allRefs { | |
| 362 | - | if globals[left] { | |
| 363 | - | continue | |
| 364 | - | } | |
| 365 | - | _, ok := p.existingImports[left] | |
| 366 | - | if !ok { | |
| 367 | - | p.missingRefs[left] = rights | |
| 368 | - | continue | |
| 369 | - | } | |
| 370 | - | } | |
| 371 | - | if len(p.missingRefs) != 0 { | |
| 372 | - | return nil, false | |
| 373 | - | } | |
| 374 | - | ||
| 375 | - | return p.fix() | |
| 376 | - | } | |
| 377 | - | ||
| 378 | - | // fix attempts to satisfy missing imports using p.candidates. If it finds | |
| 379 | - | // everything, or if p.lastTry is true, it updates fixes to add the imports it found, | |
| 380 | - | // delete anything unused, and update import names, and returns true. | |
| 381 | - | func (p *pass) fix() ([]*ImportFix, bool) { | |
| 382 | - | // Find missing imports. | |
| 383 | - | var selected []*ImportInfo | |
| 384 | - | for left, rights := range p.missingRefs { | |
| 385 | - | if imp := p.findMissingImport(left, rights); imp != nil { | |
| 386 | - | selected = append(selected, imp) | |
| 387 | - | } | |
| 388 | - | } | |
| 389 | - | ||
| 390 | - | if !p.lastTry && len(selected) != len(p.missingRefs) { | |
| 391 | - | return nil, false | |
| 392 | - | } | |
| 393 | - | ||
| 394 | - | // Found everything, or giving up. Add the new imports and remove any unused. | |
| 395 | - | var fixes []*ImportFix | |
| 396 | - | for _, identifierImports := range p.existingImports { | |
| 397 | - | for _, imp := range identifierImports { | |
| 398 | - | // We deliberately ignore globals here, because we can't be sure | |
| 399 | - | // they're in the same package. People do things like put multiple | |
| 400 | - | // main packages in the same directory, and we don't want to | |
| 401 | - | // remove imports if they happen to have the same name as a var in | |
| 402 | - | // a different package. | |
| 403 | - | if _, ok := p.allRefs[p.importIdentifier(imp)]; !ok { | |
| 404 | - | fixes = append(fixes, &ImportFix{ | |
| 405 | - | StmtInfo: *imp, | |
| 406 | - | IdentName: p.importIdentifier(imp), | |
| 407 | - | FixType: DeleteImport, | |
| 408 | - | }) | |
| 409 | - | continue | |
| 410 | - | } | |
| 411 | - | ||
| 412 | - | // An existing import may need to update its import name to be correct. | |
| 413 | - | if name := p.importSpecName(imp); name != imp.Name { | |
| 414 | - | fixes = append(fixes, &ImportFix{ | |
| 415 | - | StmtInfo: ImportInfo{ | |
| 416 | - | Name: name, | |
| 417 | - | ImportPath: imp.ImportPath, | |
| 418 | - | }, | |
| 419 | - | IdentName: p.importIdentifier(imp), | |
| 420 | - | FixType: SetImportName, | |
| 421 | - | }) | |
| 422 | - | } | |
| 423 | - | } | |
| 424 | - | } | |
| 425 | - | // Collecting fixes involved map iteration, so sort for stability. See | |
| 426 | - | // golang/go#59976. | |
| 427 | - | sortFixes(fixes) | |
| 428 | - | ||
| 429 | - | // collect selected fixes in a separate slice, so that it can be sorted | |
| 430 | - | // separately. Note that these fixes must occur after fixes to existing | |
| 431 | - | // imports. TODO(rfindley): figure out why. | |
| 432 | - | var selectedFixes []*ImportFix | |
| 433 | - | for _, imp := range selected { | |
| 434 | - | selectedFixes = append(selectedFixes, &ImportFix{ | |
| 435 | - | StmtInfo: ImportInfo{ | |
| 436 | - | Name: p.importSpecName(imp), | |
| 437 | - | ImportPath: imp.ImportPath, | |
| 438 | - | }, | |
| 439 | - | IdentName: p.importIdentifier(imp), | |
| 440 | - | FixType: AddImport, | |
| 441 | - | }) | |
| 442 | - | } | |
| 443 | - | sortFixes(selectedFixes) | |
| 444 | - | ||
| 445 | - | return append(fixes, selectedFixes...), true | |
| 446 | - | } | |
| 447 | - | ||
| 448 | - | func sortFixes(fixes []*ImportFix) { | |
| 449 | - | sort.Slice(fixes, func(i, j int) bool { | |
| 450 | - | fi, fj := fixes[i], fixes[j] | |
| 451 | - | if fi.StmtInfo.ImportPath != fj.StmtInfo.ImportPath { | |
| 452 | - | return fi.StmtInfo.ImportPath < fj.StmtInfo.ImportPath | |
| 453 | - | } | |
| 454 | - | if fi.StmtInfo.Name != fj.StmtInfo.Name { | |
| 455 | - | return fi.StmtInfo.Name < fj.StmtInfo.Name | |
| 456 | - | } | |
| 457 | - | if fi.IdentName != fj.IdentName { | |
| 458 | - | return fi.IdentName < fj.IdentName | |
| 459 | - | } | |
| 460 | - | return fi.FixType < fj.FixType | |
| 461 | - | }) | |
| 462 | - | } | |
| 463 | - | ||
| 464 | - | // importSpecName gets the import name of imp in the import spec. | |
| 465 | - | // | |
| 466 | - | // When the import identifier matches the assumed import name, the import name does | |
| 467 | - | // not appear in the import spec. | |
| 468 | - | func (p *pass) importSpecName(imp *ImportInfo) string { | |
| 469 | - | // If we did not load the real package names, or the name is already set, | |
| 470 | - | // we just return the existing name. | |
| 471 | - | if !p.loadRealPackageNames || imp.Name != "" { | |
| 472 | - | return imp.Name | |
| 473 | - | } | |
| 474 | - | ||
| 475 | - | ident := p.importIdentifier(imp) | |
| 476 | - | if ident == ImportPathToAssumedName(imp.ImportPath) { | |
| 477 | - | return "" // ident not needed since the assumed and real names are the same. | |
| 478 | - | } | |
| 479 | - | return ident | |
| 480 | - | } | |
| 481 | - | ||
| 482 | - | // apply will perform the fixes on f in order. | |
| 483 | - | func apply(fset *token.FileSet, f *ast.File, fixes []*ImportFix) { | |
| 484 | - | for _, fix := range fixes { | |
| 485 | - | switch fix.FixType { | |
| 486 | - | case DeleteImport: | |
| 487 | - | astutil.DeleteNamedImport(fset, f, fix.StmtInfo.Name, fix.StmtInfo.ImportPath) | |
| 488 | - | case AddImport: | |
| 489 | - | astutil.AddNamedImport(fset, f, fix.StmtInfo.Name, fix.StmtInfo.ImportPath) | |
| 490 | - | case SetImportName: | |
| 491 | - | // Find the matching import path and change the name. | |
| 492 | - | for _, spec := range f.Imports { | |
| 493 | - | path := strings.Trim(spec.Path.Value, `"`) | |
| 494 | - | if path == fix.StmtInfo.ImportPath { | |
| 495 | - | spec.Name = &ast.Ident{ | |
| 496 | - | Name: fix.StmtInfo.Name, | |
| 497 | - | NamePos: spec.Pos(), | |
| 498 | - | } | |
| 499 | - | } | |
| 500 | - | } | |
| 501 | - | } | |
| 502 | - | } | |
| 503 | - | } | |
| 504 | - | ||
| 505 | - | // assumeSiblingImportsValid assumes that siblings' use of packages is valid, | |
| 506 | - | // adding the exports they use. | |
| 507 | - | func (p *pass) assumeSiblingImportsValid() { | |
| 508 | - | for _, f := range p.otherFiles { | |
| 509 | - | refs := collectReferences(f) | |
| 510 | - | imports := collectImports(f) | |
| 511 | - | importsByName := map[string]*ImportInfo{} | |
| 512 | - | for _, imp := range imports { | |
| 513 | - | importsByName[p.importIdentifier(imp)] = imp | |
| 514 | - | } | |
| 515 | - | for left, rights := range refs { | |
| 516 | - | if imp, ok := importsByName[left]; ok { | |
| 517 | - | if m, ok := stdlib.PackageSymbols[imp.ImportPath]; ok { | |
| 518 | - | // We have the stdlib in memory; no need to guess. | |
| 519 | - | rights = symbolNameSet(m) | |
| 520 | - | } | |
| 521 | - | // TODO(rfindley): we should set package name here, for consistency. | |
| 522 | - | p.addCandidate(imp, &PackageInfo{ | |
| 523 | - | // no name; we already know it. | |
| 524 | - | Exports: rights, | |
| 525 | - | }) | |
| 526 | - | } | |
| 527 | - | } | |
| 528 | - | } | |
| 529 | - | } | |
| 530 | - | ||
| 531 | - | // addCandidate adds a candidate import to p, and merges in the information | |
| 532 | - | // in pkg. | |
| 533 | - | func (p *pass) addCandidate(imp *ImportInfo, pkg *PackageInfo) { | |
| 534 | - | p.candidates = append(p.candidates, imp) | |
| 535 | - | if existing, ok := p.knownPackages[imp.ImportPath]; ok { | |
| 536 | - | if existing.Name == "" { | |
| 537 | - | existing.Name = pkg.Name | |
| 538 | - | } | |
| 539 | - | for export := range pkg.Exports { | |
| 540 | - | existing.Exports[export] = true | |
| 541 | - | } | |
| 542 | - | } else { | |
| 543 | - | p.knownPackages[imp.ImportPath] = pkg | |
| 544 | - | } | |
| 545 | - | } | |
| 546 | - | ||
| 547 | - | // fixImports adds and removes imports from f so that all its references are | |
| 548 | - | // satisfied and there are no unused imports. | |
| 549 | - | // | |
| 550 | - | // This is declared as a variable rather than a function so goimports can | |
| 551 | - | // easily be extended by adding a file with an init function. | |
| 552 | - | // | |
| 553 | - | // DO NOT REMOVE: used internally at Google. | |
| 554 | - | var fixImports = fixImportsDefault | |
| 555 | - | ||
| 556 | - | func fixImportsDefault(fset *token.FileSet, f *ast.File, filename string, env *ProcessEnv) error { | |
| 557 | - | fixes, err := getFixes(context.Background(), fset, f, filename, env) | |
| 558 | - | if err != nil { | |
| 559 | - | return err | |
| 560 | - | } | |
| 561 | - | apply(fset, f, fixes) | |
| 562 | - | return nil | |
| 563 | - | } | |
| 564 | - | ||
| 565 | - | // getFixes gets the import fixes that need to be made to f in order to fix the imports. | |
| 566 | - | // It does not modify the ast. | |
| 567 | - | func getFixes(ctx context.Context, fset *token.FileSet, f *ast.File, filename string, env *ProcessEnv) ([]*ImportFix, error) { | |
| 568 | - | source, err := NewProcessEnvSource(env, filename, f.Name.Name) | |
| 569 | - | if err != nil { | |
| 570 | - | return nil, err | |
| 571 | - | } | |
| 572 | - | goEnv, err := env.goEnv() | |
| 573 | - | if err != nil { | |
| 574 | - | return nil, err | |
| 575 | - | } | |
| 576 | - | return getFixesWithSource(ctx, fset, f, filename, goEnv["GOROOT"], env.logf, source) | |
| 577 | - | } | |
| 578 | - | ||
| 579 | - | func getFixesWithSource(ctx context.Context, fset *token.FileSet, f *ast.File, filename string, goroot string, logf func(string, ...any), source Source) ([]*ImportFix, error) { | |
| 580 | - | // This logic is defensively duplicated from getFixes. | |
| 581 | - | abs, err := filepath.Abs(filename) | |
| 582 | - | if err != nil { | |
| 583 | - | return nil, err | |
| 584 | - | } | |
| 585 | - | srcDir := filepath.Dir(abs) | |
| 586 | - | ||
| 587 | - | if logf != nil { | |
| 588 | - | logf("fixImports(filename=%q), srcDir=%q ...", filename, srcDir) | |
| 589 | - | } | |
| 590 | - | ||
| 591 | - | // First pass: looking only at f, and using the naive algorithm to | |
| 592 | - | // derive package names from import paths, see if the file is already | |
| 593 | - | // complete. We can't add any imports yet, because we don't know | |
| 594 | - | // if missing references are actually package vars. | |
| 595 | - | p := &pass{ | |
| 596 | - | fset: fset, | |
| 597 | - | f: f, | |
| 598 | - | srcDir: srcDir, | |
| 599 | - | logf: logf, | |
| 600 | - | goroot: goroot, | |
| 601 | - | source: source, | |
| 602 | - | } | |
| 603 | - | if fixes, done := p.load(ctx); done { | |
| 604 | - | return fixes, nil | |
| 605 | - | } | |
| 606 | - | ||
| 607 | - | otherFiles, err := parseOtherFiles(ctx, fset, srcDir, filename) | |
| 608 | - | if err != nil { | |
| 609 | - | return nil, err | |
| 610 | - | } | |
| 611 | - | ||
| 612 | - | // Second pass: add information from other files in the same package, | |
| 613 | - | // like their package vars and imports. | |
| 614 | - | p.otherFiles = otherFiles | |
| 615 | - | if fixes, done := p.load(ctx); done { | |
| 616 | - | return fixes, nil | |
| 617 | - | } | |
| 618 | - | ||
| 619 | - | // Now we can try adding imports from the stdlib. | |
| 620 | - | p.assumeSiblingImportsValid() | |
| 621 | - | addStdlibCandidates(p, p.missingRefs) | |
| 622 | - | if fixes, done := p.fix(); done { | |
| 623 | - | return fixes, nil | |
| 624 | - | } | |
| 625 | - | ||
| 626 | - | // Third pass: get real package names where we had previously used | |
| 627 | - | // the naive algorithm. | |
| 628 | - | p = &pass{ | |
| 629 | - | fset: fset, | |
| 630 | - | f: f, | |
| 631 | - | srcDir: srcDir, | |
| 632 | - | logf: logf, | |
| 633 | - | goroot: goroot, | |
| 634 | - | source: p.source, // safe to reuse, as it's just a wrapper around env | |
| 635 | - | } | |
| 636 | - | p.loadRealPackageNames = true | |
| 637 | - | p.otherFiles = otherFiles | |
| 638 | - | if fixes, done := p.load(ctx); done { | |
| 639 | - | return fixes, nil | |
| 640 | - | } | |
| 641 | - | ||
| 642 | - | if err := addStdlibCandidates(p, p.missingRefs); err != nil { | |
| 643 | - | return nil, err | |
| 644 | - | } | |
| 645 | - | p.assumeSiblingImportsValid() | |
| 646 | - | if fixes, done := p.fix(); done { | |
| 647 | - | return fixes, nil | |
| 648 | - | } | |
| 649 | - | ||
| 650 | - | // Go look for candidates in $GOPATH, etc. We don't necessarily load | |
| 651 | - | // the real exports of sibling imports, so keep assuming their contents. | |
| 652 | - | if err := addExternalCandidates(ctx, p, p.missingRefs, filename); err != nil { | |
| 653 | - | return nil, err | |
| 654 | - | } | |
| 655 | - | ||
| 656 | - | p.lastTry = true | |
| 657 | - | fixes, _ := p.fix() | |
| 658 | - | return fixes, nil | |
| 659 | - | } | |
| 660 | - | ||
| 661 | - | // MaxRelevance is the highest relevance, used for the standard library. | |
| 662 | - | // Chosen arbitrarily to match pre-existing gopls code. | |
| 663 | - | const MaxRelevance = 7.0 | |
| 664 | - | ||
| 665 | - | // getCandidatePkgs works with the passed callback to find all acceptable packages. | |
| 666 | - | // It deduplicates by import path, and uses a cached stdlib rather than reading | |
| 667 | - | // from disk. | |
| 668 | - | func getCandidatePkgs(ctx context.Context, wrappedCallback *scanCallback, filename, filePkg string, env *ProcessEnv) error { | |
| 669 | - | notSelf := func(p *pkg) bool { | |
| 670 | - | return p.packageName != filePkg || p.dir != filepath.Dir(filename) | |
| 671 | - | } | |
| 672 | - | goenv, err := env.goEnv() | |
| 673 | - | if err != nil { | |
| 674 | - | return err | |
| 675 | - | } | |
| 676 | - | ||
| 677 | - | var mu sync.Mutex // to guard asynchronous access to dupCheck | |
| 678 | - | dupCheck := map[string]struct{}{} | |
| 679 | - | ||
| 680 | - | // Start off with the standard library. | |
| 681 | - | for importPath, symbols := range stdlib.PackageSymbols { | |
| 682 | - | p := &pkg{ | |
| 683 | - | dir: filepath.Join(goenv["GOROOT"], "src", importPath), | |
| 684 | - | importPathShort: importPath, | |
| 685 | - | packageName: path.Base(importPath), | |
| 686 | - | relevance: MaxRelevance, | |
| 687 | - | } | |
| 688 | - | dupCheck[importPath] = struct{}{} | |
| 689 | - | if notSelf(p) && wrappedCallback.dirFound(p) && wrappedCallback.packageNameLoaded(p) { | |
| 690 | - | var exports []stdlib.Symbol | |
| 691 | - | for _, sym := range symbols { | |
| 692 | - | switch sym.Kind { | |
| 693 | - | case stdlib.Func, stdlib.Type, stdlib.Var, stdlib.Const: | |
| 694 | - | exports = append(exports, sym) | |
| 695 | - | } | |
| 696 | - | } | |
| 697 | - | wrappedCallback.exportsLoaded(p, exports) | |
| 698 | - | } | |
| 699 | - | } | |
| 700 | - | ||
| 701 | - | scanFilter := &scanCallback{ | |
| 702 | - | rootFound: func(root gopathwalk.Root) bool { | |
| 703 | - | // Exclude goroot results -- getting them is relatively expensive, not cached, | |
| 704 | - | // and generally redundant with the in-memory version. | |
| 705 | - | return root.Type != gopathwalk.RootGOROOT && wrappedCallback.rootFound(root) | |
| 706 | - | }, | |
| 707 | - | dirFound: wrappedCallback.dirFound, | |
| 708 | - | packageNameLoaded: func(pkg *pkg) bool { | |
| 709 | - | mu.Lock() | |
| 710 | - | defer mu.Unlock() | |
| 711 | - | if _, ok := dupCheck[pkg.importPathShort]; ok { | |
| 712 | - | return false | |
| 713 | - | } | |
| 714 | - | dupCheck[pkg.importPathShort] = struct{}{} | |
| 715 | - | return notSelf(pkg) && wrappedCallback.packageNameLoaded(pkg) | |
| 716 | - | }, | |
| 717 | - | exportsLoaded: func(pkg *pkg, exports []stdlib.Symbol) { | |
| 718 | - | // If we're an x_test, load the package under test's test variant. | |
| 719 | - | if strings.HasSuffix(filePkg, "_test") && pkg.dir == filepath.Dir(filename) { | |
| 720 | - | var err error | |
| 721 | - | _, exports, err = loadExportsFromFiles(ctx, env, pkg.dir, true) | |
| 722 | - | if err != nil { | |
| 723 | - | return | |
| 724 | - | } | |
| 725 | - | } | |
| 726 | - | wrappedCallback.exportsLoaded(pkg, exports) | |
| 727 | - | }, | |
| 728 | - | } | |
| 729 | - | resolver, err := env.GetResolver() | |
| 730 | - | if err != nil { | |
| 731 | - | return err | |
| 732 | - | } | |
| 733 | - | return resolver.scan(ctx, scanFilter) | |
| 734 | - | } | |
| 735 | - | ||
| 736 | - | func ScoreImportPaths(ctx context.Context, env *ProcessEnv, paths []string) (map[string]float64, error) { | |
| 737 | - | result := make(map[string]float64) | |
| 738 | - | resolver, err := env.GetResolver() | |
| 739 | - | if err != nil { | |
| 740 | - | return nil, err | |
| 741 | - | } | |
| 742 | - | for _, path := range paths { | |
| 743 | - | result[path] = resolver.scoreImportPath(ctx, path) | |
| 744 | - | } | |
| 745 | - | return result, nil | |
| 746 | - | } | |
| 747 | - | ||
| 748 | - | func PrimeCache(ctx context.Context, resolver Resolver) error { | |
| 749 | - | // Fully scan the disk for directories, but don't actually read any Go files. | |
| 750 | - | callback := &scanCallback{ | |
| 751 | - | rootFound: func(root gopathwalk.Root) bool { | |
| 752 | - | // See getCandidatePkgs: walking GOROOT is apparently expensive and | |
| 753 | - | // unnecessary. | |
| 754 | - | return root.Type != gopathwalk.RootGOROOT | |
| 755 | - | }, | |
| 756 | - | dirFound: func(pkg *pkg) bool { | |
| 757 | - | return false | |
| 758 | - | }, | |
| 759 | - | // packageNameLoaded and exportsLoaded must never be called. | |
| 760 | - | } | |
| 761 | - | ||
| 762 | - | return resolver.scan(ctx, callback) | |
| 763 | - | } | |
| 764 | - | ||
| 765 | - | func candidateImportName(pkg *pkg) string { | |
| 766 | - | if ImportPathToAssumedName(pkg.importPathShort) != pkg.packageName { | |
| 767 | - | return pkg.packageName | |
| 768 | - | } | |
| 769 | - | return "" | |
| 770 | - | } | |
| 771 | - | ||
| 772 | - | // GetAllCandidates calls wrapped for each package whose name starts with | |
| 773 | - | // searchPrefix, and can be imported from filename with the package name filePkg. | |
| 774 | - | // | |
| 775 | - | // Beware that the wrapped function may be called multiple times concurrently. | |
| 776 | - | // TODO(adonovan): encapsulate the concurrency. | |
| 777 | - | func GetAllCandidates(ctx context.Context, wrapped func(ImportFix), searchPrefix, filename, filePkg string, env *ProcessEnv) error { | |
| 778 | - | callback := &scanCallback{ | |
| 779 | - | rootFound: func(gopathwalk.Root) bool { | |
| 780 | - | return true | |
| 781 | - | }, | |
| 782 | - | dirFound: func(pkg *pkg) bool { | |
| 783 | - | if !CanUse(filename, pkg.dir) { | |
| 784 | - | return false | |
| 785 | - | } | |
| 786 | - | // Try the assumed package name first, then a simpler path match | |
| 787 | - | // in case of packages named vN, which are not uncommon. | |
| 788 | - | return strings.HasPrefix(ImportPathToAssumedName(pkg.importPathShort), searchPrefix) || | |
| 789 | - | strings.HasPrefix(path.Base(pkg.importPathShort), searchPrefix) | |
| 790 | - | }, | |
| 791 | - | packageNameLoaded: func(pkg *pkg) bool { | |
| 792 | - | if !strings.HasPrefix(pkg.packageName, searchPrefix) { | |
| 793 | - | return false | |
| 794 | - | } | |
| 795 | - | wrapped(ImportFix{ | |
| 796 | - | StmtInfo: ImportInfo{ | |
| 797 | - | ImportPath: pkg.importPathShort, | |
| 798 | - | Name: candidateImportName(pkg), | |
| 799 | - | }, | |
| 800 | - | IdentName: pkg.packageName, | |
| 801 | - | FixType: AddImport, | |
| 802 | - | Relevance: pkg.relevance, | |
| 803 | - | }) | |
| 804 | - | return false | |
| 805 | - | }, | |
| 806 | - | } | |
| 807 | - | return getCandidatePkgs(ctx, callback, filename, filePkg, env) | |
| 808 | - | } | |
| 809 | - | ||
| 810 | - | // GetImportPaths calls wrapped for each package whose import path starts with | |
| 811 | - | // searchPrefix, and can be imported from filename with the package name filePkg. | |
| 812 | - | func GetImportPaths(ctx context.Context, wrapped func(ImportFix), searchPrefix, filename, filePkg string, env *ProcessEnv) error { | |
| 813 | - | callback := &scanCallback{ | |
| 814 | - | rootFound: func(gopathwalk.Root) bool { | |
| 815 | - | return true | |
| 816 | - | }, | |
| 817 | - | dirFound: func(pkg *pkg) bool { | |
| 818 | - | if !CanUse(filename, pkg.dir) { | |
| 819 | - | return false | |
| 820 | - | } | |
| 821 | - | return strings.HasPrefix(pkg.importPathShort, searchPrefix) | |
| 822 | - | }, | |
| 823 | - | packageNameLoaded: func(pkg *pkg) bool { | |
| 824 | - | wrapped(ImportFix{ | |
| 825 | - | StmtInfo: ImportInfo{ | |
| 826 | - | ImportPath: pkg.importPathShort, | |
| 827 | - | Name: candidateImportName(pkg), | |
| 828 | - | }, | |
| 829 | - | IdentName: pkg.packageName, | |
| 830 | - | FixType: AddImport, | |
| 831 | - | Relevance: pkg.relevance, | |
| 832 | - | }) | |
| 833 | - | return false | |
| 834 | - | }, | |
| 835 | - | } | |
| 836 | - | return getCandidatePkgs(ctx, callback, filename, filePkg, env) | |
| 837 | - | } | |
| 838 | - | ||
| 839 | - | // A PackageExport is a package and its exports. | |
| 840 | - | type PackageExport struct { | |
| 841 | - | Fix *ImportFix | |
| 842 | - | Exports []stdlib.Symbol | |
| 843 | - | } | |
| 844 | - | ||
| 845 | - | // GetPackageExports returns all known packages with name pkg and their exports. | |
| 846 | - | func GetPackageExports(ctx context.Context, wrapped func(PackageExport), searchPkg, filename, filePkg string, env *ProcessEnv) error { | |
| 847 | - | callback := &scanCallback{ | |
| 848 | - | rootFound: func(gopathwalk.Root) bool { | |
| 849 | - | return true | |
| 850 | - | }, | |
| 851 | - | dirFound: func(pkg *pkg) bool { | |
| 852 | - | return pkgIsCandidate(filename, References{searchPkg: nil}, pkg) | |
| 853 | - | }, | |
| 854 | - | packageNameLoaded: func(pkg *pkg) bool { | |
| 855 | - | return pkg.packageName == searchPkg | |
| 856 | - | }, | |
| 857 | - | exportsLoaded: func(pkg *pkg, exports []stdlib.Symbol) { | |
| 858 | - | sortSymbols(exports) | |
| 859 | - | wrapped(PackageExport{ | |
| 860 | - | Fix: &ImportFix{ | |
| 861 | - | StmtInfo: ImportInfo{ | |
| 862 | - | ImportPath: pkg.importPathShort, | |
| 863 | - | Name: candidateImportName(pkg), | |
| 864 | - | }, | |
| 865 | - | IdentName: pkg.packageName, | |
| 866 | - | FixType: AddImport, | |
| 867 | - | Relevance: pkg.relevance, | |
| 868 | - | }, | |
| 869 | - | Exports: exports, | |
| 870 | - | }) | |
| 871 | - | }, | |
| 872 | - | } | |
| 873 | - | return getCandidatePkgs(ctx, callback, filename, filePkg, env) | |
| 874 | - | } | |
| 875 | - | ||
| 876 | - | // TODO(rfindley): we should depend on GOOS and GOARCH, to provide accurate | |
| 877 | - | // imports when doing cross-platform development. | |
| 878 | - | var requiredGoEnvVars = []string{ | |
| 879 | - | "GO111MODULE", | |
| 880 | - | "GOFLAGS", | |
| 881 | - | "GOINSECURE", | |
| 882 | - | "GOMOD", | |
| 883 | - | "GOMODCACHE", | |
| 884 | - | "GONOPROXY", | |
| 885 | - | "GONOSUMDB", | |
| 886 | - | "GOPATH", | |
| 887 | - | "GOPROXY", | |
| 888 | - | "GOROOT", | |
| 889 | - | "GOSUMDB", | |
| 890 | - | "GOWORK", | |
| 891 | - | } | |
| 892 | - | ||
| 893 | - | // ProcessEnv contains environment variables and settings that affect the use of | |
| 894 | - | // the go command, the go/build package, etc. | |
| 895 | - | // | |
| 896 | - | // ...a ProcessEnv *also* overwrites its Env along with derived state in the | |
| 897 | - | // form of the resolver. And because it is lazily initialized, an env may just | |
| 898 | - | // be broken and unusable, but there is no way for the caller to detect that: | |
| 899 | - | // all queries will just fail. | |
| 900 | - | // | |
| 901 | - | // TODO(rfindley): refactor this package so that this type (perhaps renamed to | |
| 902 | - | // just Env or Config) is an immutable configuration struct, to be exchanged | |
| 903 | - | // for an initialized object via a constructor that returns an error. Perhaps | |
| 904 | - | // the signature should be `func NewResolver(*Env) (*Resolver, error)`, where | |
| 905 | - | // resolver is a concrete type used for resolving imports. Via this | |
| 906 | - | // refactoring, we can avoid the need to call ProcessEnv.init and | |
| 907 | - | // ProcessEnv.GoEnv everywhere, and implicitly fix all the places where this | |
| 908 | - | // these are misused. Also, we'd delegate the caller the decision of how to | |
| 909 | - | // handle a broken environment. | |
| 910 | - | type ProcessEnv struct { | |
| 911 | - | GocmdRunner *gocommand.Runner | |
| 912 | - | ||
| 913 | - | BuildFlags []string | |
| 914 | - | ModFlag string | |
| 915 | - | ||
| 916 | - | // SkipPathInScan returns true if the path should be skipped from scans of | |
| 917 | - | // the RootCurrentModule root type. The function argument is a clean, | |
| 918 | - | // absolute path. | |
| 919 | - | SkipPathInScan func(string) bool | |
| 920 | - | ||
| 921 | - | // Env overrides the OS environment, and can be used to specify | |
| 922 | - | // GOPROXY, GO111MODULE, etc. PATH cannot be set here, because | |
| 923 | - | // exec.Command will not honor it. | |
| 924 | - | // Specifying all of requiredGoEnvVars avoids a call to `go env`. | |
| 925 | - | Env map[string]string | |
| 926 | - | ||
| 927 | - | WorkingDir string | |
| 928 | - | ||
| 929 | - | // If Logf is non-nil, debug logging is enabled through this function. | |
| 930 | - | Logf func(format string, args ...any) | |
| 931 | - | ||
| 932 | - | // If set, ModCache holds a shared cache of directory info to use across | |
| 933 | - | // multiple ProcessEnvs. | |
| 934 | - | ModCache *DirInfoCache | |
| 935 | - | ||
| 936 | - | initialized bool // see TODO above | |
| 937 | - | ||
| 938 | - | // resolver and resolverErr are lazily evaluated (see GetResolver). | |
| 939 | - | // This is unclean, but see the big TODO in the docstring for ProcessEnv | |
| 940 | - | // above: for now, we can't be sure that the ProcessEnv is fully initialized. | |
| 941 | - | resolver Resolver | |
| 942 | - | resolverErr error | |
| 943 | - | } | |
| 944 | - | ||
| 945 | - | func (e *ProcessEnv) goEnv() (map[string]string, error) { | |
| 946 | - | if err := e.init(); err != nil { | |
| 947 | - | return nil, err | |
| 948 | - | } | |
| 949 | - | return e.Env, nil | |
| 950 | - | } | |
| 951 | - | ||
| 952 | - | func (e *ProcessEnv) matchFile(dir, name string) (bool, error) { | |
| 953 | - | bctx, err := e.buildContext() | |
| 954 | - | if err != nil { | |
| 955 | - | return false, err | |
| 956 | - | } | |
| 957 | - | return bctx.MatchFile(dir, name) | |
| 958 | - | } | |
| 959 | - | ||
| 960 | - | // CopyConfig copies the env's configuration into a new env. | |
| 961 | - | func (e *ProcessEnv) CopyConfig() *ProcessEnv { | |
| 962 | - | copy := &ProcessEnv{ | |
| 963 | - | GocmdRunner: e.GocmdRunner, | |
| 964 | - | initialized: e.initialized, | |
| 965 | - | BuildFlags: e.BuildFlags, | |
| 966 | - | Logf: e.Logf, | |
| 967 | - | WorkingDir: e.WorkingDir, | |
| 968 | - | resolver: nil, | |
| 969 | - | Env: map[string]string{}, | |
| 970 | - | } | |
| 971 | - | maps.Copy(copy.Env, e.Env) | |
| 972 | - | return copy | |
| 973 | - | } | |
| 974 | - | ||
| 975 | - | func (e *ProcessEnv) init() error { | |
| 976 | - | if e.initialized { | |
| 977 | - | return nil | |
| 978 | - | } | |
| 979 | - | ||
| 980 | - | foundAllRequired := true | |
| 981 | - | for _, k := range requiredGoEnvVars { | |
| 982 | - | if _, ok := e.Env[k]; !ok { | |
| 983 | - | foundAllRequired = false | |
| 984 | - | break | |
| 985 | - | } | |
| 986 | - | } | |
| 987 | - | if foundAllRequired { | |
| 988 | - | e.initialized = true | |
| 989 | - | return nil | |
| 990 | - | } | |
| 991 | - | ||
| 992 | - | if e.Env == nil { | |
| 993 | - | e.Env = map[string]string{} | |
| 994 | - | } | |
| 995 | - | ||
| 996 | - | goEnv := map[string]string{} | |
| 997 | - | stdout, err := e.invokeGo(context.TODO(), "env", append([]string{"-json"}, requiredGoEnvVars...)...) | |
| 998 | - | if err != nil { | |
| 999 | - | return err | |
| 1000 | - | } | |
| 1001 | - | if err := json.Unmarshal(stdout.Bytes(), &goEnv); err != nil { | |
| 1002 | - | return err | |
| 1003 | - | } | |
| 1004 | - | maps.Copy(e.Env, goEnv) | |
| 1005 | - | e.initialized = true | |
| 1006 | - | return nil | |
| 1007 | - | } | |
| 1008 | - | ||
| 1009 | - | func (e *ProcessEnv) env() []string { | |
| 1010 | - | var env []string // the gocommand package will prepend os.Environ. | |
| 1011 | - | for k, v := range e.Env { | |
| 1012 | - | env = append(env, k+"="+v) | |
| 1013 | - | } | |
| 1014 | - | return env | |
| 1015 | - | } | |
| 1016 | - | ||
| 1017 | - | func (e *ProcessEnv) GetResolver() (Resolver, error) { | |
| 1018 | - | if err := e.init(); err != nil { | |
| 1019 | - | return nil, err | |
| 1020 | - | } | |
| 1021 | - | ||
| 1022 | - | if e.resolver == nil && e.resolverErr == nil { | |
| 1023 | - | // TODO(rfindley): we should only use a gopathResolver here if the working | |
| 1024 | - | // directory is actually *in* GOPATH. (I seem to recall an open gopls issue | |
| 1025 | - | // for this behavior, but I can't find it). | |
| 1026 | - | // | |
| 1027 | - | // For gopls, we can optionally explicitly choose a resolver type, since we | |
| 1028 | - | // already know the view type. | |
| 1029 | - | if e.Env["GOMOD"] == "" && (e.Env["GOWORK"] == "" || e.Env["GOWORK"] == "off") { | |
| 1030 | - | e.resolver = newGopathResolver(e) | |
| 1031 | - | e.logf("created gopath resolver") | |
| 1032 | - | } else if r, err := newModuleResolver(e, e.ModCache); err != nil { | |
| 1033 | - | e.resolverErr = err | |
| 1034 | - | e.logf("failed to create module resolver: %v", err) | |
| 1035 | - | } else { | |
| 1036 | - | e.resolver = Resolver(r) | |
| 1037 | - | e.logf("created module resolver") | |
| 1038 | - | } | |
| 1039 | - | } | |
| 1040 | - | ||
| 1041 | - | return e.resolver, e.resolverErr | |
| 1042 | - | } | |
| 1043 | - | ||
| 1044 | - | // logf logs if e.Logf is non-nil. | |
| 1045 | - | func (e *ProcessEnv) logf(format string, args ...any) { | |
| 1046 | - | if e.Logf != nil { | |
| 1047 | - | e.Logf(format, args...) | |
| 1048 | - | } | |
| 1049 | - | } | |
| 1050 | - | ||
| 1051 | - | // buildContext returns the build.Context to use for matching files. | |
| 1052 | - | // | |
| 1053 | - | // TODO(rfindley): support dynamic GOOS, GOARCH here, when doing cross-platform | |
| 1054 | - | // development. | |
| 1055 | - | func (e *ProcessEnv) buildContext() (*build.Context, error) { | |
| 1056 | - | ctx := build.Default | |
| 1057 | - | goenv, err := e.goEnv() | |
| 1058 | - | if err != nil { | |
| 1059 | - | return nil, err | |
| 1060 | - | } | |
| 1061 | - | ctx.GOROOT = goenv["GOROOT"] | |
| 1062 | - | ctx.GOPATH = goenv["GOPATH"] | |
| 1063 | - | ||
| 1064 | - | // As of Go 1.14, build.Context has a Dir field | |
| 1065 | - | // (see golang.org/issue/34860). | |
| 1066 | - | // Populate it only if present. | |
| 1067 | - | rc := reflect.ValueOf(&ctx).Elem() | |
| 1068 | - | dir := rc.FieldByName("Dir") | |
| 1069 | - | if dir.IsValid() && dir.Kind() == reflect.String { | |
| 1070 | - | dir.SetString(e.WorkingDir) | |
| 1071 | - | } | |
| 1072 | - | ||
| 1073 | - | // Since Go 1.11, go/build.Context.Import may invoke 'go list' depending on | |
| 1074 | - | // the value in GO111MODULE in the process's environment. We always want to | |
| 1075 | - | // run in GOPATH mode when calling Import, so we need to prevent this from | |
| 1076 | - | // happening. In Go 1.16, GO111MODULE defaults to "on", so this problem comes | |
| 1077 | - | // up more frequently. | |
| 1078 | - | // | |
| 1079 | - | // HACK: setting any of the Context I/O hooks prevents Import from invoking | |
| 1080 | - | // 'go list', regardless of GO111MODULE. This is undocumented, but it's | |
| 1081 | - | // unlikely to change before GOPATH support is removed. | |
| 1082 | - | ctx.ReadDir = ioutil.ReadDir | |
| 1083 | - | ||
| 1084 | - | return &ctx, nil | |
| 1085 | - | } | |
| 1086 | - | ||
| 1087 | - | func (e *ProcessEnv) invokeGo(ctx context.Context, verb string, args ...string) (*bytes.Buffer, error) { | |
| 1088 | - | inv := gocommand.Invocation{ | |
| 1089 | - | Verb: verb, | |
| 1090 | - | Args: args, | |
| 1091 | - | BuildFlags: e.BuildFlags, | |
| 1092 | - | Env: e.env(), | |
| 1093 | - | Logf: e.Logf, | |
| 1094 | - | WorkingDir: e.WorkingDir, | |
| 1095 | - | } | |
| 1096 | - | return e.GocmdRunner.Run(ctx, inv) | |
| 1097 | - | } | |
| 1098 | - | ||
| 1099 | - | func addStdlibCandidates(pass *pass, refs References) error { | |
| 1100 | - | localbase := func(nm string) string { | |
| 1101 | - | ans := path.Base(nm) | |
| 1102 | - | if ans[0] == 'v' { | |
| 1103 | - | // this is called, for instance, with math/rand/v2 and returns rand/v2 | |
| 1104 | - | if _, err := strconv.Atoi(ans[1:]); err == nil { | |
| 1105 | - | ix := strings.LastIndex(nm, ans) | |
| 1106 | - | more := path.Base(nm[:ix]) | |
| 1107 | - | ans = path.Join(more, ans) | |
| 1108 | - | } | |
| 1109 | - | } | |
| 1110 | - | return ans | |
| 1111 | - | } | |
| 1112 | - | add := func(pkg string) { | |
| 1113 | - | // Prevent self-imports. | |
| 1114 | - | if path.Base(pkg) == pass.f.Name.Name && filepath.Join(pass.goroot, "src", pkg) == pass.srcDir { | |
| 1115 | - | return | |
| 1116 | - | } | |
| 1117 | - | exports := symbolNameSet(stdlib.PackageSymbols[pkg]) | |
| 1118 | - | pass.addCandidate( | |
| 1119 | - | &ImportInfo{ImportPath: pkg}, | |
| 1120 | - | &PackageInfo{Name: localbase(pkg), Exports: exports}) | |
| 1121 | - | } | |
| 1122 | - | for left := range refs { | |
| 1123 | - | if left == "rand" { | |
| 1124 | - | // Make sure we try crypto/rand before any version of math/rand as both have Int() | |
| 1125 | - | // and our policy is to recommend crypto | |
| 1126 | - | add("crypto/rand") | |
| 1127 | - | // if the user's no later than go1.21, this should be "math/rand" | |
| 1128 | - | // but we have no way of figuring out what the user is using | |
| 1129 | - | // TODO: investigate using the toolchain version to disambiguate in the stdlib | |
| 1130 | - | add("math/rand/v2") | |
| 1131 | - | // math/rand has an overlapping API | |
| 1132 | - | // TestIssue66407 fails without this | |
| 1133 | - | add("math/rand") | |
| 1134 | - | continue | |
| 1135 | - | } | |
| 1136 | - | for importPath := range stdlib.PackageSymbols { | |
| 1137 | - | if path.Base(importPath) == left { | |
| 1138 | - | add(importPath) | |
| 1139 | - | } | |
| 1140 | - | } | |
| 1141 | - | } | |
| 1142 | - | return nil | |
| 1143 | - | } | |
| 1144 | - | ||
| 1145 | - | // A Resolver does the build-system-specific parts of goimports. | |
| 1146 | - | type Resolver interface { | |
| 1147 | - | // loadPackageNames loads the package names in importPaths. | |
| 1148 | - | loadPackageNames(importPaths []string, srcDir string) (map[string]string, error) | |
| 1149 | - | ||
| 1150 | - | // scan works with callback to search for packages. See scanCallback for details. | |
| 1151 | - | scan(ctx context.Context, callback *scanCallback) error | |
| 1152 | - | ||
| 1153 | - | // loadExports returns the package name and set of exported symbols in the | |
| 1154 | - | // package at dir. loadExports may be called concurrently. | |
| 1155 | - | loadExports(ctx context.Context, pkg *pkg, includeTest bool) (string, []stdlib.Symbol, error) | |
| 1156 | - | ||
| 1157 | - | // scoreImportPath returns the relevance for an import path. | |
| 1158 | - | scoreImportPath(ctx context.Context, path string) float64 | |
| 1159 | - | ||
| 1160 | - | // ClearForNewScan returns a new Resolver based on the receiver that has | |
| 1161 | - | // cleared its internal caches of directory contents. | |
| 1162 | - | // | |
| 1163 | - | // The new resolver should be primed and then set via | |
| 1164 | - | // [ProcessEnv.UpdateResolver]. | |
| 1165 | - | ClearForNewScan() Resolver | |
| 1166 | - | } | |
| 1167 | - | ||
| 1168 | - | // A scanCallback controls a call to scan and receives its results. | |
| 1169 | - | // In general, minor errors will be silently discarded; a user should not | |
| 1170 | - | // expect to receive a full series of calls for everything. | |
| 1171 | - | type scanCallback struct { | |
| 1172 | - | // rootFound is called before scanning a new root dir. If it returns true, | |
| 1173 | - | // the root will be scanned. Returning false will not necessarily prevent | |
| 1174 | - | // directories from that root making it to dirFound. | |
| 1175 | - | rootFound func(gopathwalk.Root) bool | |
| 1176 | - | // dirFound is called when a directory is found that is possibly a Go package. | |
| 1177 | - | // pkg will be populated with everything except packageName. | |
| 1178 | - | // If it returns true, the package's name will be loaded. | |
| 1179 | - | dirFound func(pkg *pkg) bool | |
| 1180 | - | // packageNameLoaded is called when a package is found and its name is loaded. | |
| 1181 | - | // If it returns true, the package's exports will be loaded. | |
| 1182 | - | packageNameLoaded func(pkg *pkg) bool | |
| 1183 | - | // exportsLoaded is called when a package's exports have been loaded. | |
| 1184 | - | exportsLoaded func(pkg *pkg, exports []stdlib.Symbol) | |
| 1185 | - | } | |
| 1186 | - | ||
| 1187 | - | func addExternalCandidates(ctx context.Context, pass *pass, refs References, filename string) error { | |
| 1188 | - | ctx, done := event.Start(ctx, "imports.addExternalCandidates") | |
| 1189 | - | defer done() | |
| 1190 | - | ||
| 1191 | - | results, err := pass.source.ResolveReferences(ctx, filename, refs) | |
| 1192 | - | if err != nil { | |
| 1193 | - | return err | |
| 1194 | - | } | |
| 1195 | - | ||
| 1196 | - | for _, result := range results { | |
| 1197 | - | if result == nil { | |
| 1198 | - | continue | |
| 1199 | - | } | |
| 1200 | - | // Don't offer completions that would shadow predeclared | |
| 1201 | - | // names, such as github.com/coreos/etcd/error. | |
| 1202 | - | if types.Universe.Lookup(result.Package.Name) != nil { // predeclared | |
| 1203 | - | // Ideally we would skip this candidate only | |
| 1204 | - | // if the predeclared name is actually | |
| 1205 | - | // referenced by the file, but that's a lot | |
| 1206 | - | // trickier to compute and would still create | |
| 1207 | - | // an import that is likely to surprise the | |
| 1208 | - | // user before long. | |
| 1209 | - | continue | |
| 1210 | - | } | |
| 1211 | - | pass.addCandidate(result.Import, result.Package) | |
| 1212 | - | } | |
| 1213 | - | return nil | |
| 1214 | - | } | |
| 1215 | - | ||
| 1216 | - | // notIdentifier reports whether ch is an invalid identifier character. | |
| 1217 | - | func notIdentifier(ch rune) bool { | |
| 1218 | - | return !('a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || | |
| 1219 | - | '0' <= ch && ch <= '9' || | |
| 1220 | - | ch == '_' || | |
| 1221 | - | ch >= utf8.RuneSelf && (unicode.IsLetter(ch) || unicode.IsDigit(ch))) | |
| 1222 | - | } | |
| 1223 | - | ||
| 1224 | - | // ImportPathToAssumedName returns the assumed package name of an import path. | |
| 1225 | - | // It does this using only string parsing of the import path. | |
| 1226 | - | // It picks the last element of the path that does not look like a major | |
| 1227 | - | // version, and then picks the valid identifier off the start of that element. | |
| 1228 | - | // It is used to determine if a local rename should be added to an import for | |
| 1229 | - | // clarity. | |
| 1230 | - | // This function could be moved to a standard package and exported if we want | |
| 1231 | - | // for use in other tools. | |
| 1232 | - | func ImportPathToAssumedName(importPath string) string { | |
| 1233 | - | base := path.Base(importPath) | |
| 1234 | - | if strings.HasPrefix(base, "v") { | |
| 1235 | - | if _, err := strconv.Atoi(base[1:]); err == nil { | |
| 1236 | - | dir := path.Dir(importPath) | |
| 1237 | - | if dir != "." { | |
| 1238 | - | base = path.Base(dir) | |
| 1239 | - | } | |
| 1240 | - | } | |
| 1241 | - | } | |
| 1242 | - | base = strings.TrimPrefix(base, "go-") | |
| 1243 | - | if i := strings.IndexFunc(base, notIdentifier); i >= 0 { | |
| 1244 | - | base = base[:i] | |
| 1245 | - | } | |
| 1246 | - | return base | |
| 1247 | - | } | |
| 1248 | - | ||
| 1249 | - | // gopathResolver implements resolver for GOPATH workspaces. | |
| 1250 | - | type gopathResolver struct { | |
| 1251 | - | env *ProcessEnv | |
| 1252 | - | cache *DirInfoCache | |
| 1253 | - | scanSema chan struct{} // scanSema prevents concurrent scans. | |
| 1254 | - | } | |
| 1255 | - | ||
| 1256 | - | func newGopathResolver(env *ProcessEnv) *gopathResolver { | |
| 1257 | - | r := &gopathResolver{ | |
| 1258 | - | env: env, | |
| 1259 | - | cache: NewDirInfoCache(), | |
| 1260 | - | scanSema: make(chan struct{}, 1), | |
| 1261 | - | } | |
| 1262 | - | r.scanSema <- struct{}{} | |
| 1263 | - | return r | |
| 1264 | - | } | |
| 1265 | - | ||
| 1266 | - | func (r *gopathResolver) ClearForNewScan() Resolver { | |
| 1267 | - | return newGopathResolver(r.env) | |
| 1268 | - | } | |
| 1269 | - | ||
| 1270 | - | func (r *gopathResolver) loadPackageNames(importPaths []string, srcDir string) (map[string]string, error) { | |
| 1271 | - | names := map[string]string{} | |
| 1272 | - | bctx, err := r.env.buildContext() | |
| 1273 | - | if err != nil { | |
| 1274 | - | return nil, err | |
| 1275 | - | } | |
| 1276 | - | for _, path := range importPaths { | |
| 1277 | - | names[path] = importPathToName(bctx, path, srcDir) | |
| 1278 | - | } | |
| 1279 | - | return names, nil | |
| 1280 | - | } | |
| 1281 | - | ||
| 1282 | - | // importPathToName finds out the actual package name, as declared in its .go files. | |
| 1283 | - | func importPathToName(bctx *build.Context, importPath, srcDir string) string { | |
| 1284 | - | // Fast path for standard library without going to disk. | |
| 1285 | - | if stdlib.HasPackage(importPath) { | |
| 1286 | - | return path.Base(importPath) // stdlib packages always match their paths. | |
| 1287 | - | } | |
| 1288 | - | ||
| 1289 | - | buildPkg, err := bctx.Import(importPath, srcDir, build.FindOnly) | |
| 1290 | - | if err != nil { | |
| 1291 | - | return "" | |
| 1292 | - | } | |
| 1293 | - | pkgName, err := packageDirToName(buildPkg.Dir) | |
| 1294 | - | if err != nil { | |
| 1295 | - | return "" | |
| 1296 | - | } | |
| 1297 | - | return pkgName | |
| 1298 | - | } | |
| 1299 | - | ||
| 1300 | - | // packageDirToName is a faster version of build.Import if | |
| 1301 | - | // the only thing desired is the package name. Given a directory, | |
| 1302 | - | // packageDirToName then only parses one file in the package, | |
| 1303 | - | // trusting that the files in the directory are consistent. | |
| 1304 | - | func packageDirToName(dir string) (packageName string, err error) { | |
| 1305 | - | d, err := os.Open(dir) | |
| 1306 | - | if err != nil { | |
| 1307 | - | return "", err | |
| 1308 | - | } | |
| 1309 | - | names, err := d.Readdirnames(-1) | |
| 1310 | - | d.Close() | |
| 1311 | - | if err != nil { | |
| 1312 | - | return "", err | |
| 1313 | - | } | |
| 1314 | - | sort.Strings(names) // to have predictable behavior | |
| 1315 | - | var lastErr error | |
| 1316 | - | var nfile int | |
| 1317 | - | for _, name := range names { | |
| 1318 | - | if !strings.HasSuffix(name, ".go") { | |
| 1319 | - | continue | |
| 1320 | - | } | |
| 1321 | - | if strings.HasSuffix(name, "_test.go") { | |
| 1322 | - | continue | |
| 1323 | - | } | |
| 1324 | - | nfile++ | |
| 1325 | - | fullFile := filepath.Join(dir, name) | |
| 1326 | - | ||
| 1327 | - | fset := token.NewFileSet() | |
| 1328 | - | f, err := parser.ParseFile(fset, fullFile, nil, parser.PackageClauseOnly) | |
| 1329 | - | if err != nil { | |
| 1330 | - | lastErr = err | |
| 1331 | - | continue | |
| 1332 | - | } | |
| 1333 | - | pkgName := f.Name.Name | |
| 1334 | - | if pkgName == "documentation" { | |
| 1335 | - | // Special case from go/build.ImportDir, not | |
| 1336 | - | // handled by ctx.MatchFile. | |
| 1337 | - | continue | |
| 1338 | - | } | |
| 1339 | - | if pkgName == "main" { | |
| 1340 | - | // Also skip package main, assuming it's a +build ignore generator or example. | |
| 1341 | - | // Since you can't import a package main anyway, there's no harm here. | |
| 1342 | - | continue | |
| 1343 | - | } | |
| 1344 | - | return pkgName, nil | |
| 1345 | - | } | |
| 1346 | - | if lastErr != nil { | |
| 1347 | - | return "", lastErr | |
| 1348 | - | } | |
| 1349 | - | return "", fmt.Errorf("no importable package found in %d Go files", nfile) | |
| 1350 | - | } | |
| 1351 | - | ||
| 1352 | - | type pkg struct { | |
| 1353 | - | dir string // absolute file path to pkg directory ("/usr/lib/go/src/net/http") | |
| 1354 | - | importPathShort string // vendorless import path ("net/http", "a/b") | |
| 1355 | - | packageName string // package name loaded from source if requested | |
| 1356 | - | relevance float64 // a weakly-defined score of how relevant a package is. 0 is most relevant. | |
| 1357 | - | } | |
| 1358 | - | ||
| 1359 | - | type pkgDistance struct { | |
| 1360 | - | pkg *pkg | |
| 1361 | - | distance int // relative distance to target | |
| 1362 | - | } | |
| 1363 | - | ||
| 1364 | - | // byDistanceOrImportPathShortLength sorts by relative distance breaking ties | |
| 1365 | - | // on the short import path length and then the import string itself. | |
| 1366 | - | type byDistanceOrImportPathShortLength []pkgDistance | |
| 1367 | - | ||
| 1368 | - | func (s byDistanceOrImportPathShortLength) Len() int { return len(s) } | |
| 1369 | - | func (s byDistanceOrImportPathShortLength) Less(i, j int) bool { | |
| 1370 | - | di, dj := s[i].distance, s[j].distance | |
| 1371 | - | if di == -1 { | |
| 1372 | - | return false | |
| 1373 | - | } | |
| 1374 | - | if dj == -1 { | |
| 1375 | - | return true | |
| 1376 | - | } | |
| 1377 | - | if di != dj { | |
| 1378 | - | return di < dj | |
| 1379 | - | } | |
| 1380 | - | ||
| 1381 | - | vi, vj := s[i].pkg.importPathShort, s[j].pkg.importPathShort | |
| 1382 | - | if len(vi) != len(vj) { | |
| 1383 | - | return len(vi) < len(vj) | |
| 1384 | - | } | |
| 1385 | - | return vi < vj | |
| 1386 | - | } | |
| 1387 | - | func (s byDistanceOrImportPathShortLength) Swap(i, j int) { s[i], s[j] = s[j], s[i] } | |
| 1388 | - | ||
| 1389 | - | func distance(basepath, targetpath string) int { | |
| 1390 | - | p, err := filepath.Rel(basepath, targetpath) | |
| 1391 | - | if err != nil { | |
| 1392 | - | return -1 | |
| 1393 | - | } | |
| 1394 | - | if p == "." { | |
| 1395 | - | return 0 | |
| 1396 | - | } | |
| 1397 | - | return strings.Count(p, string(filepath.Separator)) + 1 | |
| 1398 | - | } | |
| 1399 | - | ||
| 1400 | - | func (r *gopathResolver) scan(ctx context.Context, callback *scanCallback) error { | |
| 1401 | - | add := func(root gopathwalk.Root, dir string) { | |
| 1402 | - | // We assume cached directories have not changed. We can skip them and their | |
| 1403 | - | // children. | |
| 1404 | - | if _, ok := r.cache.Load(dir); ok { | |
| 1405 | - | return | |
| 1406 | - | } | |
| 1407 | - | ||
| 1408 | - | importpath := filepath.ToSlash(dir[len(root.Path)+len("/"):]) | |
| 1409 | - | info := directoryPackageInfo{ | |
| 1410 | - | status: directoryScanned, | |
| 1411 | - | dir: dir, | |
| 1412 | - | rootType: root.Type, | |
| 1413 | - | nonCanonicalImportPath: VendorlessPath(importpath), | |
| 1414 | - | } | |
| 1415 | - | r.cache.Store(dir, info) | |
| 1416 | - | } | |
| 1417 | - | processDir := func(info directoryPackageInfo) { | |
| 1418 | - | // Skip this directory if we were not able to get the package information successfully. | |
| 1419 | - | if scanned, err := info.reachedStatus(directoryScanned); !scanned || err != nil { | |
| 1420 | - | return | |
| 1421 | - | } | |
| 1422 | - | ||
| 1423 | - | p := &pkg{ | |
| 1424 | - | importPathShort: info.nonCanonicalImportPath, | |
| 1425 | - | dir: info.dir, | |
| 1426 | - | relevance: MaxRelevance - 1, | |
| 1427 | - | } | |
| 1428 | - | if info.rootType == gopathwalk.RootGOROOT { | |
| 1429 | - | p.relevance = MaxRelevance | |
| 1430 | - | } | |
| 1431 | - | ||
| 1432 | - | if !callback.dirFound(p) { | |
| 1433 | - | return | |
| 1434 | - | } | |
| 1435 | - | var err error | |
| 1436 | - | p.packageName, err = r.cache.CachePackageName(info) | |
| 1437 | - | if err != nil { | |
| 1438 | - | return | |
| 1439 | - | } | |
| 1440 | - | ||
| 1441 | - | if !callback.packageNameLoaded(p) { | |
| 1442 | - | return | |
| 1443 | - | } | |
| 1444 | - | if _, exports, err := r.loadExports(ctx, p, false); err == nil { | |
| 1445 | - | callback.exportsLoaded(p, exports) | |
| 1446 | - | } | |
| 1447 | - | } | |
| 1448 | - | stop := r.cache.ScanAndListen(ctx, processDir) | |
| 1449 | - | defer stop() | |
| 1450 | - | ||
| 1451 | - | goenv, err := r.env.goEnv() | |
| 1452 | - | if err != nil { | |
| 1453 | - | return err | |
| 1454 | - | } | |
| 1455 | - | var roots []gopathwalk.Root | |
| 1456 | - | roots = append(roots, gopathwalk.Root{Path: filepath.Join(goenv["GOROOT"], "src"), Type: gopathwalk.RootGOROOT}) | |
| 1457 | - | for _, p := range filepath.SplitList(goenv["GOPATH"]) { | |
| 1458 | - | roots = append(roots, gopathwalk.Root{Path: filepath.Join(p, "src"), Type: gopathwalk.RootGOPATH}) | |
| 1459 | - | } | |
| 1460 | - | // The callback is not necessarily safe to use in the goroutine below. Process roots eagerly. | |
| 1461 | - | roots = filterRoots(roots, callback.rootFound) | |
| 1462 | - | // We can't cancel walks, because we need them to finish to have a usable | |
| 1463 | - | // cache. Instead, run them in a separate goroutine and detach. | |
| 1464 | - | scanDone := make(chan struct{}) | |
| 1465 | - | go func() { | |
| 1466 | - | select { | |
| 1467 | - | case <-ctx.Done(): | |
| 1468 | - | return | |
| 1469 | - | case <-r.scanSema: | |
| 1470 | - | } | |
| 1471 | - | defer func() { r.scanSema <- struct{}{} }() | |
| 1472 | - | gopathwalk.Walk(roots, add, gopathwalk.Options{Logf: r.env.Logf, ModulesEnabled: false}) | |
| 1473 | - | close(scanDone) | |
| 1474 | - | }() | |
| 1475 | - | select { | |
| 1476 | - | case <-ctx.Done(): | |
| 1477 | - | case <-scanDone: | |
| 1478 | - | } | |
| 1479 | - | return nil | |
| 1480 | - | } | |
| 1481 | - | ||
| 1482 | - | func (r *gopathResolver) scoreImportPath(ctx context.Context, path string) float64 { | |
| 1483 | - | if stdlib.HasPackage(path) { | |
| 1484 | - | return MaxRelevance | |
| 1485 | - | } | |
| 1486 | - | return MaxRelevance - 1 | |
| 1487 | - | } | |
| 1488 | - | ||
| 1489 | - | func filterRoots(roots []gopathwalk.Root, include func(gopathwalk.Root) bool) []gopathwalk.Root { | |
| 1490 | - | var result []gopathwalk.Root | |
| 1491 | - | for _, root := range roots { | |
| 1492 | - | if !include(root) { | |
| 1493 | - | continue | |
| 1494 | - | } | |
| 1495 | - | result = append(result, root) | |
| 1496 | - | } | |
| 1497 | - | return result | |
| 1498 | - | } | |
| 1499 | - | ||
| 1500 | - | func (r *gopathResolver) loadExports(ctx context.Context, pkg *pkg, includeTest bool) (string, []stdlib.Symbol, error) { | |
| 1501 | - | if info, ok := r.cache.Load(pkg.dir); ok && !includeTest { | |
| 1502 | - | return r.cache.CacheExports(ctx, r.env, info) | |
| 1503 | - | } | |
| 1504 | - | return loadExportsFromFiles(ctx, r.env, pkg.dir, includeTest) | |
| 1505 | - | } | |
| 1506 | - | ||
| 1507 | - | // VendorlessPath returns the devendorized version of the import path ipath. | |
| 1508 | - | // For example, VendorlessPath("foo/bar/vendor/a/b") returns "a/b". | |
| 1509 | - | func VendorlessPath(ipath string) string { | |
| 1510 | - | // Devendorize for use in import statement. | |
| 1511 | - | if i := strings.LastIndex(ipath, "/vendor/"); i >= 0 { | |
| 1512 | - | return ipath[i+len("/vendor/"):] | |
| 1513 | - | } | |
| 1514 | - | if strings.HasPrefix(ipath, "vendor/") { | |
| 1515 | - | return ipath[len("vendor/"):] | |
| 1516 | - | } | |
| 1517 | - | return ipath | |
| 1518 | - | } | |
| 1519 | - | ||
| 1520 | - | func loadExportsFromFiles(ctx context.Context, env *ProcessEnv, dir string, includeTest bool) (string, []stdlib.Symbol, error) { | |
| 1521 | - | // Look for non-test, buildable .go files which could provide exports. | |
| 1522 | - | all, err := os.ReadDir(dir) | |
| 1523 | - | if err != nil { | |
| 1524 | - | return "", nil, err | |
| 1525 | - | } | |
| 1526 | - | var files []fs.DirEntry | |
| 1527 | - | for _, fi := range all { | |
| 1528 | - | name := fi.Name() | |
| 1529 | - | if !strings.HasSuffix(name, ".go") || (!includeTest && strings.HasSuffix(name, "_test.go")) { | |
| 1530 | - | continue | |
| 1531 | - | } | |
| 1532 | - | match, err := env.matchFile(dir, fi.Name()) | |
| 1533 | - | if err != nil || !match { | |
| 1534 | - | continue | |
| 1535 | - | } | |
| 1536 | - | files = append(files, fi) | |
| 1537 | - | } | |
| 1538 | - | ||
| 1539 | - | if len(files) == 0 { | |
| 1540 | - | return "", nil, fmt.Errorf("dir %v contains no buildable, non-test .go files", dir) | |
| 1541 | - | } | |
| 1542 | - | ||
| 1543 | - | var pkgName string | |
| 1544 | - | var exports []stdlib.Symbol | |
| 1545 | - | fset := token.NewFileSet() | |
| 1546 | - | for _, fi := range files { | |
| 1547 | - | select { | |
| 1548 | - | case <-ctx.Done(): | |
| 1549 | - | return "", nil, ctx.Err() | |
| 1550 | - | default: | |
| 1551 | - | } | |
| 1552 | - | ||
| 1553 | - | fullFile := filepath.Join(dir, fi.Name()) | |
| 1554 | - | // Legacy ast.Object resolution is needed here. | |
| 1555 | - | f, err := parser.ParseFile(fset, fullFile, nil, 0) | |
| 1556 | - | if err != nil { | |
| 1557 | - | env.logf("error parsing %v: %v", fullFile, err) | |
| 1558 | - | continue | |
| 1559 | - | } | |
| 1560 | - | if f.Name.Name == "documentation" { | |
| 1561 | - | // Special case from go/build.ImportDir, not | |
| 1562 | - | // handled by MatchFile above. | |
| 1563 | - | continue | |
| 1564 | - | } | |
| 1565 | - | if includeTest && strings.HasSuffix(f.Name.Name, "_test") { | |
| 1566 | - | // x_test package. We want internal test files only. | |
| 1567 | - | continue | |
| 1568 | - | } | |
| 1569 | - | pkgName = f.Name.Name | |
| 1570 | - | for name, obj := range f.Scope.Objects { | |
| 1571 | - | if ast.IsExported(name) { | |
| 1572 | - | var kind stdlib.Kind | |
| 1573 | - | switch obj.Kind { | |
| 1574 | - | case ast.Con: | |
| 1575 | - | kind = stdlib.Const | |
| 1576 | - | case ast.Typ: | |
| 1577 | - | kind = stdlib.Type | |
| 1578 | - | case ast.Var: | |
| 1579 | - | kind = stdlib.Var | |
| 1580 | - | case ast.Fun: | |
| 1581 | - | kind = stdlib.Func | |
| 1582 | - | } | |
| 1583 | - | exports = append(exports, stdlib.Symbol{ | |
| 1584 | - | Name: name, | |
| 1585 | - | Kind: kind, | |
| 1586 | - | Version: 0, // unknown; be permissive | |
| 1587 | - | }) | |
| 1588 | - | } | |
| 1589 | - | } | |
| 1590 | - | } | |
| 1591 | - | sortSymbols(exports) | |
| 1592 | - | ||
| 1593 | - | env.logf("loaded exports in dir %v (package %v): %v", dir, pkgName, exports) | |
| 1594 | - | return pkgName, exports, nil | |
| 1595 | - | } | |
| 1596 | - | ||
| 1597 | - | func sortSymbols(syms []stdlib.Symbol) { | |
| 1598 | - | sort.Slice(syms, func(i, j int) bool { | |
| 1599 | - | return syms[i].Name < syms[j].Name | |
| 1600 | - | }) | |
| 1601 | - | } | |
| 1602 | - | ||
| 1603 | - | // A symbolSearcher searches for a package with a set of symbols, among a set | |
| 1604 | - | // of candidates. See [symbolSearcher.search]. | |
| 1605 | - | // | |
| 1606 | - | // The search occurs within the scope of a single file, with context captured | |
| 1607 | - | // in srcDir and xtest. | |
| 1608 | - | type symbolSearcher struct { | |
| 1609 | - | logf func(string, ...any) | |
| 1610 | - | srcDir string // directory containing the file | |
| 1611 | - | xtest bool // if set, the file containing is an x_test file | |
| 1612 | - | loadExports func(ctx context.Context, pkg *pkg, includeTest bool) (string, []stdlib.Symbol, error) | |
| 1613 | - | } | |
| 1614 | - | ||
| 1615 | - | // search searches the provided candidates for a package containing all | |
| 1616 | - | // exported symbols. | |
| 1617 | - | // | |
| 1618 | - | // If successful, returns the resulting package. | |
| 1619 | - | func (s *symbolSearcher) search(ctx context.Context, candidates []pkgDistance, pkgName string, symbols map[string]bool) (*pkg, error) { | |
| 1620 | - | // Sort the candidates by their import package length, | |
| 1621 | - | // assuming that shorter package names are better than long | |
| 1622 | - | // ones. Note that this sorts by the de-vendored name, so | |
| 1623 | - | // there's no "penalty" for vendoring. | |
| 1624 | - | sort.Sort(byDistanceOrImportPathShortLength(candidates)) | |
| 1625 | - | if s.logf != nil { | |
| 1626 | - | for i, c := range candidates { | |
| 1627 | - | s.logf("%s candidate %d/%d: %v in %v", pkgName, i+1, len(candidates), c.pkg.importPathShort, c.pkg.dir) | |
| 1628 | - | } | |
| 1629 | - | } | |
| 1630 | - | ||
| 1631 | - | // Arrange rescv so that we can we can await results in order of relevance | |
| 1632 | - | // and exit as soon as we find the first match. | |
| 1633 | - | // | |
| 1634 | - | // Search with bounded concurrency, returning as soon as the first result | |
| 1635 | - | // among rescv is non-nil. | |
| 1636 | - | rescv := make([]chan *pkg, len(candidates)) | |
| 1637 | - | for i := range candidates { | |
| 1638 | - | rescv[i] = make(chan *pkg, 1) | |
| 1639 | - | } | |
| 1640 | - | const maxConcurrentPackageImport = 4 | |
| 1641 | - | loadExportsSem := make(chan struct{}, maxConcurrentPackageImport) | |
| 1642 | - | ||
| 1643 | - | // Ensure that all work is completed at exit. | |
| 1644 | - | ctx, cancel := context.WithCancel(ctx) | |
| 1645 | - | var wg sync.WaitGroup | |
| 1646 | - | defer func() { | |
| 1647 | - | cancel() | |
| 1648 | - | wg.Wait() | |
| 1649 | - | }() | |
| 1650 | - | ||
| 1651 | - | // Start the search. | |
| 1652 | - | wg.Go(func() { | |
| 1653 | - | for i, c := range candidates { | |
| 1654 | - | select { | |
| 1655 | - | case loadExportsSem <- struct{}{}: | |
| 1656 | - | case <-ctx.Done(): | |
| 1657 | - | return | |
| 1658 | - | } | |
| 1659 | - | ||
| 1660 | - | i := i | |
| 1661 | - | c := c | |
| 1662 | - | wg.Add(1) | |
| 1663 | - | go func() { | |
| 1664 | - | defer func() { | |
| 1665 | - | <-loadExportsSem | |
| 1666 | - | wg.Done() | |
| 1667 | - | }() | |
| 1668 | - | if s.logf != nil { | |
| 1669 | - | s.logf("loading exports in dir %s (seeking package %s)", c.pkg.dir, pkgName) | |
| 1670 | - | } | |
| 1671 | - | pkg, err := s.searchOne(ctx, c, symbols) | |
| 1672 | - | if err != nil { | |
| 1673 | - | if s.logf != nil && ctx.Err() == nil { | |
| 1674 | - | s.logf("loading exports in dir %s (seeking package %s): %v", c.pkg.dir, pkgName, err) | |
| 1675 | - | } | |
| 1676 | - | pkg = nil | |
| 1677 | - | } | |
| 1678 | - | rescv[i] <- pkg // may be nil | |
| 1679 | - | }() | |
| 1680 | - | } | |
| 1681 | - | }) | |
| 1682 | - | ||
| 1683 | - | // Await the first (best) result. | |
| 1684 | - | for _, resc := range rescv { | |
| 1685 | - | select { | |
| 1686 | - | case r := <-resc: | |
| 1687 | - | if r != nil { | |
| 1688 | - | return r, nil | |
| 1689 | - | } | |
| 1690 | - | case <-ctx.Done(): | |
| 1691 | - | return nil, ctx.Err() | |
| 1692 | - | } | |
| 1693 | - | } | |
| 1694 | - | return nil, nil | |
| 1695 | - | } | |
| 1696 | - | ||
| 1697 | - | func (s *symbolSearcher) searchOne(ctx context.Context, c pkgDistance, symbols map[string]bool) (*pkg, error) { | |
| 1698 | - | if ctx.Err() != nil { | |
| 1699 | - | return nil, ctx.Err() | |
| 1700 | - | } | |
| 1701 | - | // If we're considering the package under test from an x_test, load the | |
| 1702 | - | // test variant. | |
| 1703 | - | includeTest := s.xtest && c.pkg.dir == s.srcDir | |
| 1704 | - | _, exports, err := s.loadExports(ctx, c.pkg, includeTest) | |
| 1705 | - | if err != nil { | |
| 1706 | - | return nil, err | |
| 1707 | - | } | |
| 1708 | - | ||
| 1709 | - | exportsMap := make(map[string]bool, len(exports)) | |
| 1710 | - | for _, sym := range exports { | |
| 1711 | - | exportsMap[sym.Name] = true | |
| 1712 | - | } | |
| 1713 | - | for symbol := range symbols { | |
| 1714 | - | if !exportsMap[symbol] { | |
| 1715 | - | return nil, nil // no match | |
| 1716 | - | } | |
| 1717 | - | } | |
| 1718 | - | return c.pkg, nil | |
| 1719 | - | } | |
| 1720 | - | ||
| 1721 | - | // pkgIsCandidate reports whether pkg is a candidate for satisfying the | |
| 1722 | - | // finding which package pkgIdent in the file named by filename is trying | |
| 1723 | - | // to refer to. | |
| 1724 | - | // | |
| 1725 | - | // This check is purely lexical and is meant to be as fast as possible | |
| 1726 | - | // because it's run over all $GOPATH directories to filter out poor | |
| 1727 | - | // candidates in order to limit the CPU and I/O later parsing the | |
| 1728 | - | // exports in candidate packages. | |
| 1729 | - | // | |
| 1730 | - | // filename is the file being formatted. | |
| 1731 | - | // pkgIdent is the package being searched for, like "client" (if | |
| 1732 | - | // searching for "client.New") | |
| 1733 | - | func pkgIsCandidate(filename string, refs References, pkg *pkg) bool { | |
| 1734 | - | // Check "internal" and "vendor" visibility: | |
| 1735 | - | if !CanUse(filename, pkg.dir) { | |
| 1736 | - | return false | |
| 1737 | - | } | |
| 1738 | - | ||
| 1739 | - | // Speed optimization to minimize disk I/O: | |
| 1740 | - | // | |
| 1741 | - | // Use the matchesPath heuristic to filter to package paths that could | |
| 1742 | - | // reasonably match a dangling reference. | |
| 1743 | - | // | |
| 1744 | - | // This permits mismatch naming like directory "go-foo" being package "foo", | |
| 1745 | - | // or "pkg.v3" being "pkg", or directory | |
| 1746 | - | // "google.golang.org/api/cloudbilling/v1" being package "cloudbilling", but | |
| 1747 | - | // doesn't permit a directory "foo" to be package "bar", which is strongly | |
| 1748 | - | // discouraged anyway. There's no reason goimports needs to be slow just to | |
| 1749 | - | // accommodate that. | |
| 1750 | - | for pkgIdent := range refs { | |
| 1751 | - | if matchesPath(pkgIdent, pkg.importPathShort) { | |
| 1752 | - | return true | |
| 1753 | - | } | |
| 1754 | - | } | |
| 1755 | - | return false | |
| 1756 | - | } | |
| 1757 | - | ||
| 1758 | - | // CanUse reports whether the package in dir is usable from filename, | |
| 1759 | - | // respecting the Go "internal" and "vendor" visibility rules. | |
| 1760 | - | func CanUse(filename, dir string) bool { | |
| 1761 | - | // Fast path check, before any allocations. If it doesn't contain vendor | |
| 1762 | - | // or internal, it's not tricky: | |
| 1763 | - | // Note that this can false-negative on directories like "notinternal", | |
| 1764 | - | // but we check it correctly below. This is just a fast path. | |
| 1765 | - | if !strings.Contains(dir, "vendor") && !strings.Contains(dir, "internal") { | |
| 1766 | - | return true | |
| 1767 | - | } | |
| 1768 | - | ||
| 1769 | - | dirSlash := filepath.ToSlash(dir) | |
| 1770 | - | if !strings.Contains(dirSlash, "/vendor/") && !strings.Contains(dirSlash, "/internal/") && !strings.HasSuffix(dirSlash, "/internal") { | |
| 1771 | - | return true | |
| 1772 | - | } | |
| 1773 | - | // Vendor or internal directory only visible from children of parent. | |
| 1774 | - | // That means the path from the current directory to the target directory | |
| 1775 | - | // can contain ../vendor or ../internal but not ../foo/vendor or ../foo/internal | |
| 1776 | - | // or bar/vendor or bar/internal. | |
| 1777 | - | // After stripping all the leading ../, the only okay place to see vendor or internal | |
| 1778 | - | // is at the very beginning of the path. | |
| 1779 | - | absfile, err := filepath.Abs(filename) | |
| 1780 | - | if err != nil { | |
| 1781 | - | return false | |
| 1782 | - | } | |
| 1783 | - | absdir, err := filepath.Abs(dir) | |
| 1784 | - | if err != nil { | |
| 1785 | - | return false | |
| 1786 | - | } | |
| 1787 | - | rel, err := filepath.Rel(absfile, absdir) | |
| 1788 | - | if err != nil { | |
| 1789 | - | return false | |
| 1790 | - | } | |
| 1791 | - | relSlash := filepath.ToSlash(rel) | |
| 1792 | - | if i := strings.LastIndex(relSlash, "../"); i >= 0 { | |
| 1793 | - | relSlash = relSlash[i+len("../"):] | |
| 1794 | - | } | |
| 1795 | - | return !strings.Contains(relSlash, "/vendor/") && !strings.Contains(relSlash, "/internal/") && !strings.HasSuffix(relSlash, "/internal") | |
| 1796 | - | } | |
| 1797 | - | ||
| 1798 | - | // matchesPath reports whether ident may match a potential package name | |
| 1799 | - | // referred to by path, using heuristics to filter out unidiomatic package | |
| 1800 | - | // names. | |
| 1801 | - | // | |
| 1802 | - | // Specifically, it checks whether either of the last two '/'- or '\'-delimited | |
| 1803 | - | // path segments matches the identifier. The segment-matching heuristic must | |
| 1804 | - | // allow for various conventions around segment naming, including go-foo, | |
| 1805 | - | // foo-go, and foo.v3. To handle all of these, matching considers both (1) the | |
| 1806 | - | // entire segment, ignoring '-' and '.', as well as (2) the last subsegment | |
| 1807 | - | // separated by '-' or '.'. So the segment foo-go matches all of the following | |
| 1808 | - | // identifiers: foo, go, and foogo. All matches are case insensitive (for ASCII | |
| 1809 | - | // identifiers). | |
| 1810 | - | // | |
| 1811 | - | // See the docstring for [pkgIsCandidate] for an explanation of how this | |
| 1812 | - | // heuristic filters potential candidate packages. | |
| 1813 | - | func matchesPath(ident, path string) bool { | |
| 1814 | - | // Ignore case, for ASCII. | |
| 1815 | - | lowerIfASCII := func(b byte) byte { | |
| 1816 | - | if 'A' <= b && b <= 'Z' { | |
| 1817 | - | return b + ('a' - 'A') | |
| 1818 | - | } | |
| 1819 | - | return b | |
| 1820 | - | } | |
| 1821 | - | ||
| 1822 | - | // match reports whether path[start:end] matches ident, ignoring [.-]. | |
| 1823 | - | match := func(start, end int) bool { | |
| 1824 | - | ii := len(ident) - 1 // current byte in ident | |
| 1825 | - | pi := end - 1 // current byte in path | |
| 1826 | - | for ; pi >= start && ii >= 0; pi-- { | |
| 1827 | - | pb := path[pi] | |
| 1828 | - | if pb == '-' || pb == '.' { | |
| 1829 | - | continue | |
| 1830 | - | } | |
| 1831 | - | pb = lowerIfASCII(pb) | |
| 1832 | - | ib := lowerIfASCII(ident[ii]) | |
| 1833 | - | if pb != ib { | |
| 1834 | - | return false | |
| 1835 | - | } | |
| 1836 | - | ii-- | |
| 1837 | - | } | |
| 1838 | - | return ii < 0 && pi < start // all bytes matched | |
| 1839 | - | } | |
| 1840 | - | ||
| 1841 | - | // segmentEnd and subsegmentEnd hold the end points of the current segment | |
| 1842 | - | // and subsegment intervals. | |
| 1843 | - | segmentEnd := len(path) | |
| 1844 | - | subsegmentEnd := len(path) | |
| 1845 | - | ||
| 1846 | - | // Count slashes; we only care about the last two segments. | |
| 1847 | - | nslash := 0 | |
| 1848 | - | ||
| 1849 | - | for i := len(path) - 1; i >= 0; i-- { | |
| 1850 | - | switch b := path[i]; b { | |
| 1851 | - | // TODO(rfindley): we handle backlashes here only because the previous | |
| 1852 | - | // heuristic handled backslashes. This is perhaps overly defensive, but is | |
| 1853 | - | // the result of many lessons regarding Chesterton's fence and the | |
| 1854 | - | // goimports codebase. | |
| 1855 | - | // | |
| 1856 | - | // However, this function is only ever called with something called an | |
| 1857 | - | // 'importPath'. Is it possible that this is a real import path, and | |
| 1858 | - | // therefore we need only consider forward slashes? | |
| 1859 | - | case '/', '\\': | |
| 1860 | - | if match(i+1, segmentEnd) || match(i+1, subsegmentEnd) { | |
| 1861 | - | return true | |
| 1862 | - | } | |
| 1863 | - | nslash++ | |
| 1864 | - | if nslash == 2 { | |
| 1865 | - | return false // did not match above | |
| 1866 | - | } | |
| 1867 | - | segmentEnd, subsegmentEnd = i, i // reset | |
| 1868 | - | case '-', '.': | |
| 1869 | - | if match(i+1, subsegmentEnd) { | |
| 1870 | - | return true | |
| 1871 | - | } | |
| 1872 | - | subsegmentEnd = i | |
| 1873 | - | } | |
| 1874 | - | } | |
| 1875 | - | return match(0, segmentEnd) || match(0, subsegmentEnd) | |
| 1876 | - | } | |
| 1877 | - | ||
| 1878 | - | type visitFn func(node ast.Node) ast.Visitor | |
| 1879 | - | ||
| 1880 | - | func (fn visitFn) Visit(node ast.Node) ast.Visitor { | |
| 1881 | - | return fn(node) | |
| 1882 | - | } | |
| 1883 | - | ||
| 1884 | - | func symbolNameSet(symbols []stdlib.Symbol) map[string]bool { | |
| 1885 | - | names := make(map[string]bool) | |
| 1886 | - | for _, sym := range symbols { | |
| 1887 | - | switch sym.Kind { | |
| 1888 | - | case stdlib.Const, stdlib.Var, stdlib.Type, stdlib.Func: | |
| 1889 | - | names[sym.Name] = true | |
| 1890 | - | } | |
| 1891 | - | } | |
| 1892 | - | return names | |
| 1893 | - | } | |
| @@ -1,1893 +0,0 @@ | |||||
| 1 | - | // Copyright 2013 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 imports | |||
| 6 | - | ||||
| 7 | - | import ( | |||
| 8 | - | "bytes" | |||
| 9 | - | "context" | |||
| 10 | - | "encoding/json" | |||
| 11 | - | "fmt" | |||
| 12 | - | "go/ast" | |||
| 13 | - | "go/build" | |||
| 14 | - | "go/parser" | |||
| 15 | - | "go/token" | |||
| 16 | - | "go/types" | |||
| 17 | - | "io/fs" | |||
| 18 | - | "io/ioutil" | |||
| 19 | - | "maps" | |||
| 20 | - | "os" | |||
| 21 | - | "path" | |||
| 22 | - | "path/filepath" | |||
| 23 | - | "reflect" | |||
| 24 | - | "sort" | |||
| 25 | - | "strconv" | |||
| 26 | - | "strings" | |||
| 27 | - | "sync" | |||
| 28 | - | "unicode" | |||
| 29 | - | "unicode/utf8" | |||
| 30 | - | ||||
| 31 | - | "golang.org/x/tools/go/ast/astutil" | |||
| 32 | - | "golang.org/x/tools/internal/event" | |||
| 33 | - | "golang.org/x/tools/internal/gocommand" | |||
| 34 | - | "golang.org/x/tools/internal/gopathwalk" | |||
| 35 | - | "golang.org/x/tools/internal/stdlib" | |||
| 36 | - | ) | |||
| 37 | - | ||||
| 38 | - | // importToGroup is a list of functions which map from an import path to | |||
| 39 | - | // a group number. | |||
| 40 | - | var importToGroup = []func(localPrefix, importPath string) (num int, ok bool){ | |||
| 41 | - | func(localPrefix, importPath string) (num int, ok bool) { | |||
| 42 | - | if localPrefix == "" { | |||
| 43 | - | return | |||
| 44 | - | } | |||
| 45 | - | for p := range strings.SplitSeq(localPrefix, ",") { | |||
| 46 | - | if strings.HasPrefix(importPath, p) || strings.TrimSuffix(p, "/") == importPath { | |||
| 47 | - | return 3, true | |||
| 48 | - | } | |||
| 49 | - | } | |||
| 50 | - | return | |||
| 51 | - | }, | |||
| 52 | - | func(_, importPath string) (num int, ok bool) { | |||
| 53 | - | if strings.HasPrefix(importPath, "appengine") { | |||
| 54 | - | return 2, true | |||
| 55 | - | } | |||
| 56 | - | return | |||
| 57 | - | }, | |||
| 58 | - | func(_, importPath string) (num int, ok bool) { | |||
| 59 | - | firstComponent := strings.Split(importPath, "/")[0] | |||
| 60 | - | if strings.Contains(firstComponent, ".") { | |||
| 61 | - | return 1, true | |||
| 62 | - | } | |||
| 63 | - | return | |||
| 64 | - | }, | |||
| 65 | - | } | |||
| 66 | - | ||||
| 67 | - | func importGroup(localPrefix, importPath string) int { | |||
| 68 | - | for _, fn := range importToGroup { | |||
| 69 | - | if n, ok := fn(localPrefix, importPath); ok { | |||
| 70 | - | return n | |||
| 71 | - | } | |||
| 72 | - | } | |||
| 73 | - | return 0 | |||
| 74 | - | } | |||
| 75 | - | ||||
| 76 | - | type ImportFixType int | |||
| 77 | - | ||||
| 78 | - | const ( | |||
| 79 | - | AddImport ImportFixType = iota | |||
| 80 | - | DeleteImport | |||
| 81 | - | SetImportName | |||
| 82 | - | ) | |||
| 83 | - | ||||
| 84 | - | type ImportFix struct { | |||
| 85 | - | // StmtInfo represents the import statement this fix will add, remove, or change. | |||
| 86 | - | StmtInfo ImportInfo | |||
| 87 | - | // IdentName is the identifier that this fix will add or remove. | |||
| 88 | - | IdentName string | |||
| 89 | - | // FixType is the type of fix this is (AddImport, DeleteImport, SetImportName). | |||
| 90 | - | FixType ImportFixType | |||
| 91 | - | Relevance float64 // see pkg | |||
| 92 | - | } | |||
| 93 | - | ||||
| 94 | - | // parseOtherFiles parses all the Go files in srcDir except filename, including | |||
| 95 | - | // test files if filename looks like a test. | |||
| 96 | - | // | |||
| 97 | - | // It returns an error only if ctx is cancelled. Files with parse errors are | |||
| 98 | - | // ignored. | |||
| 99 | - | func parseOtherFiles(ctx context.Context, fset *token.FileSet, srcDir, filename string) ([]*ast.File, error) { | |||
| 100 | - | // This could use go/packages but it doesn't buy much, and it fails | |||
| 101 | - | // with https://golang.org/issue/26296 in LoadFiles mode in some cases. | |||
| 102 | - | considerTests := strings.HasSuffix(filename, "_test.go") | |||
| 103 | - | ||||
| 104 | - | fileBase := filepath.Base(filename) | |||
| 105 | - | packageFileInfos, err := os.ReadDir(srcDir) | |||
| 106 | - | if err != nil { | |||
| 107 | - | return nil, ctx.Err() | |||
| 108 | - | } | |||
| 109 | - | ||||
| 110 | - | var files []*ast.File | |||
| 111 | - | for _, fi := range packageFileInfos { | |||
| 112 | - | if ctx.Err() != nil { | |||
| 113 | - | return nil, ctx.Err() | |||
| 114 | - | } | |||
| 115 | - | if fi.Name() == fileBase || !strings.HasSuffix(fi.Name(), ".go") { | |||
| 116 | - | continue | |||
| 117 | - | } | |||
| 118 | - | if !considerTests && strings.HasSuffix(fi.Name(), "_test.go") { | |||
| 119 | - | continue | |||
| 120 | - | } | |||
| 121 | - | ||||
| 122 | - | f, err := parser.ParseFile(fset, filepath.Join(srcDir, fi.Name()), nil, parser.SkipObjectResolution) | |||
| 123 | - | if err != nil { | |||
| 124 | - | continue | |||
| 125 | - | } | |||
| 126 | - | ||||
| 127 | - | files = append(files, f) | |||
| 128 | - | } | |||
| 129 | - | ||||
| 130 | - | return files, ctx.Err() | |||
| 131 | - | } | |||
| 132 | - | ||||
| 133 | - | // addGlobals puts the names of package vars into the provided map. | |||
| 134 | - | func addGlobals(f *ast.File, globals map[string]bool) { | |||
| 135 | - | for _, decl := range f.Decls { | |||
| 136 | - | genDecl, ok := decl.(*ast.GenDecl) | |||
| 137 | - | if !ok { | |||
| 138 | - | continue | |||
| 139 | - | } | |||
| 140 | - | ||||
| 141 | - | for _, spec := range genDecl.Specs { | |||
| 142 | - | valueSpec, ok := spec.(*ast.ValueSpec) | |||
| 143 | - | if !ok { | |||
| 144 | - | continue | |||
| 145 | - | } | |||
| 146 | - | globals[valueSpec.Names[0].Name] = true | |||
| 147 | - | } | |||
| 148 | - | } | |||
| 149 | - | } | |||
| 150 | - | ||||
| 151 | - | // collectReferences builds a map of selector expressions, from | |||
| 152 | - | // left hand side (X) to a set of right hand sides (Sel). | |||
| 153 | - | func collectReferences(f *ast.File) References { | |||
| 154 | - | refs := References{} | |||
| 155 | - | ||||
| 156 | - | var visitor visitFn | |||
| 157 | - | visitor = func(node ast.Node) ast.Visitor { | |||
| 158 | - | if node == nil { | |||
| 159 | - | return visitor | |||
| 160 | - | } | |||
| 161 | - | switch v := node.(type) { | |||
| 162 | - | case *ast.SelectorExpr: | |||
| 163 | - | xident, ok := v.X.(*ast.Ident) | |||
| 164 | - | if !ok { | |||
| 165 | - | break | |||
| 166 | - | } | |||
| 167 | - | if xident.Obj != nil { | |||
| 168 | - | // If the parser can resolve it, it's not a package ref. | |||
| 169 | - | break | |||
| 170 | - | } | |||
| 171 | - | if !ast.IsExported(v.Sel.Name) { | |||
| 172 | - | // Whatever this is, it's not exported from a package. | |||
| 173 | - | break | |||
| 174 | - | } | |||
| 175 | - | pkgName := xident.Name | |||
| 176 | - | r := refs[pkgName] | |||
| 177 | - | if r == nil { | |||
| 178 | - | r = make(map[string]bool) | |||
| 179 | - | refs[pkgName] = r | |||
| 180 | - | } | |||
| 181 | - | r[v.Sel.Name] = true | |||
| 182 | - | } | |||
| 183 | - | return visitor | |||
| 184 | - | } | |||
| 185 | - | ast.Walk(visitor, f) | |||
| 186 | - | return refs | |||
| 187 | - | } | |||
| 188 | - | ||||
| 189 | - | // collectImports returns all the imports in f. | |||
| 190 | - | // Unnamed imports (., _) and "C" are ignored. | |||
| 191 | - | func collectImports(f *ast.File) []*ImportInfo { | |||
| 192 | - | var imports []*ImportInfo | |||
| 193 | - | for _, imp := range f.Imports { | |||
| 194 | - | var name string | |||
| 195 | - | if imp.Name != nil { | |||
| 196 | - | name = imp.Name.Name | |||
| 197 | - | } | |||
| 198 | - | if imp.Path.Value == `"C"` || name == "_" || name == "." { | |||
| 199 | - | continue | |||
| 200 | - | } | |||
| 201 | - | path := strings.Trim(imp.Path.Value, `"`) | |||
| 202 | - | imports = append(imports, &ImportInfo{ | |||
| 203 | - | Name: name, | |||
| 204 | - | ImportPath: path, | |||
| 205 | - | }) | |||
| 206 | - | } | |||
| 207 | - | return imports | |||
| 208 | - | } | |||
| 209 | - | ||||
| 210 | - | // findMissingImport searches pass's candidates for an import that provides | |||
| 211 | - | // pkg, containing all of syms. | |||
| 212 | - | func (p *pass) findMissingImport(pkg string, syms map[string]bool) *ImportInfo { | |||
| 213 | - | for _, candidate := range p.candidates { | |||
| 214 | - | pkgInfo, ok := p.knownPackages[candidate.ImportPath] | |||
| 215 | - | if !ok { | |||
| 216 | - | continue | |||
| 217 | - | } | |||
| 218 | - | if p.importIdentifier(candidate) != pkg { | |||
| 219 | - | continue | |||
| 220 | - | } | |||
| 221 | - | ||||
| 222 | - | allFound := true | |||
| 223 | - | for right := range syms { | |||
| 224 | - | if !pkgInfo.Exports[right] { | |||
| 225 | - | allFound = false | |||
| 226 | - | break | |||
| 227 | - | } | |||
| 228 | - | } | |||
| 229 | - | ||||
| 230 | - | if allFound { | |||
| 231 | - | return candidate | |||
| 232 | - | } | |||
| 233 | - | } | |||
| 234 | - | return nil | |||
| 235 | - | } | |||
| 236 | - | ||||
| 237 | - | // A pass contains all the inputs and state necessary to fix a file's imports. | |||
| 238 | - | // It can be modified in some ways during use; see comments below. | |||
| 239 | - | type pass struct { | |||
| 240 | - | // Inputs. These must be set before a call to load, and not modified after. | |||
| 241 | - | fset *token.FileSet // fset used to parse f and its siblings. | |||
| 242 | - | f *ast.File // the file being fixed. | |||
| 243 | - | srcDir string // the directory containing f. | |||
| 244 | - | logf func(string, ...any) | |||
| 245 | - | source Source // the environment to use for go commands, etc. | |||
| 246 | - | loadRealPackageNames bool // if true, load package names from disk rather than guessing them. | |||
| 247 | - | otherFiles []*ast.File // sibling files. | |||
| 248 | - | goroot string | |||
| 249 | - | ||||
| 250 | - | // Intermediate state, generated by load. | |||
| 251 | - | existingImports map[string][]*ImportInfo | |||
| 252 | - | allRefs References | |||
| 253 | - | missingRefs References | |||
| 254 | - | ||||
| 255 | - | // Inputs to fix. These can be augmented between successive fix calls. | |||
| 256 | - | lastTry bool // indicates that this is the last call and fix should clean up as best it can. | |||
| 257 | - | candidates []*ImportInfo // candidate imports in priority order. | |||
| 258 | - | knownPackages map[string]*PackageInfo // information about all known packages. | |||
| 259 | - | } | |||
| 260 | - | ||||
| 261 | - | // loadPackageNames saves the package names for everything referenced by imports. | |||
| 262 | - | func (p *pass) loadPackageNames(ctx context.Context, imports []*ImportInfo) error { | |||
| 263 | - | if p.logf != nil { | |||
| 264 | - | p.logf("loading package names for %v packages", len(imports)) | |||
| 265 | - | defer func() { | |||
| 266 | - | p.logf("done loading package names for %v packages", len(imports)) | |||
| 267 | - | }() | |||
| 268 | - | } | |||
| 269 | - | var unknown []string | |||
| 270 | - | for _, imp := range imports { | |||
| 271 | - | if _, ok := p.knownPackages[imp.ImportPath]; ok { | |||
| 272 | - | continue | |||
| 273 | - | } | |||
| 274 | - | unknown = append(unknown, imp.ImportPath) | |||
| 275 | - | } | |||
| 276 | - | names, err := p.source.LoadPackageNames(ctx, p.srcDir, unknown) | |||
| 277 | - | if err != nil { | |||
| 278 | - | return err | |||
| 279 | - | } | |||
| 280 | - | ||||
| 281 | - | // TODO(rfindley): revisit this. Why do we need to store known packages with | |||
| 282 | - | // no exports? The inconsistent data is confusing. | |||
| 283 | - | for path, name := range names { | |||
| 284 | - | p.knownPackages[path] = &PackageInfo{ | |||
| 285 | - | Name: name, | |||
| 286 | - | Exports: map[string]bool{}, | |||
| 287 | - | } | |||
| 288 | - | } | |||
| 289 | - | return nil | |||
| 290 | - | } | |||
| 291 | - | ||||
| 292 | - | // WithoutVersion removes a trailing major version, if there is one. | |||
| 293 | - | func WithoutVersion(nm string) string { | |||
| 294 | - | if v := path.Base(nm); len(v) > 0 && v[0] == 'v' { | |||
| 295 | - | if _, err := strconv.Atoi(v[1:]); err == nil { | |||
| 296 | - | // this is, for instance, called with rand/v2 and returns rand | |||
| 297 | - | if len(v) < len(nm) { | |||
| 298 | - | xnm := nm[:len(nm)-len(v)-1] | |||
| 299 | - | return path.Base(xnm) | |||
| 300 | - | } | |||
| 301 | - | } | |||
| 302 | - | } | |||
| 303 | - | return nm | |||
| 304 | - | } | |||
| 305 | - | ||||
| 306 | - | // importIdentifier returns the identifier that imp will introduce. It will | |||
| 307 | - | // guess if the package name has not been loaded, e.g. because the source | |||
| 308 | - | // is not available. | |||
| 309 | - | func (p *pass) importIdentifier(imp *ImportInfo) string { | |||
| 310 | - | if imp.Name != "" { | |||
| 311 | - | return imp.Name | |||
| 312 | - | } | |||
| 313 | - | known := p.knownPackages[imp.ImportPath] | |||
| 314 | - | if known != nil && known.Name != "" { | |||
| 315 | - | return WithoutVersion(known.Name) | |||
| 316 | - | } | |||
| 317 | - | return ImportPathToAssumedName(imp.ImportPath) | |||
| 318 | - | } | |||
| 319 | - | ||||
| 320 | - | // load reads in everything necessary to run a pass, and reports whether the | |||
| 321 | - | // file already has all the imports it needs. It fills in p.missingRefs with the | |||
| 322 | - | // file's missing symbols, if any, or removes unused imports if not. | |||
| 323 | - | func (p *pass) load(ctx context.Context) ([]*ImportFix, bool) { | |||
| 324 | - | p.knownPackages = map[string]*PackageInfo{} | |||
| 325 | - | p.missingRefs = References{} | |||
| 326 | - | p.existingImports = map[string][]*ImportInfo{} | |||
| 327 | - | ||||
| 328 | - | // Load basic information about the file in question. | |||
| 329 | - | p.allRefs = collectReferences(p.f) | |||
| 330 | - | ||||
| 331 | - | // Load stuff from other files in the same package: | |||
| 332 | - | // global variables so we know they don't need resolving, and imports | |||
| 333 | - | // that we might want to mimic. | |||
| 334 | - | globals := map[string]bool{} | |||
| 335 | - | for _, otherFile := range p.otherFiles { | |||
| 336 | - | // Don't load globals from files that are in the same directory | |||
| 337 | - | // but a different package. Using them to suggest imports is OK. | |||
| 338 | - | if p.f.Name.Name == otherFile.Name.Name { | |||
| 339 | - | addGlobals(otherFile, globals) | |||
| 340 | - | } | |||
| 341 | - | p.candidates = append(p.candidates, collectImports(otherFile)...) | |||
| 342 | - | } | |||
| 343 | - | ||||
| 344 | - | // Resolve all the import paths we've seen to package names, and store | |||
| 345 | - | // f's imports by the identifier they introduce. | |||
| 346 | - | imports := collectImports(p.f) | |||
| 347 | - | if p.loadRealPackageNames { | |||
| 348 | - | err := p.loadPackageNames(ctx, append(imports, p.candidates...)) | |||
| 349 | - | if err != nil { | |||
| 350 | - | if p.logf != nil { | |||
| 351 | - | p.logf("loading package names: %v", err) | |||
| 352 | - | } | |||
| 353 | - | return nil, false | |||
| 354 | - | } | |||
| 355 | - | } | |||
| 356 | - | for _, imp := range imports { | |||
| 357 | - | p.existingImports[p.importIdentifier(imp)] = append(p.existingImports[p.importIdentifier(imp)], imp) | |||
| 358 | - | } | |||
| 359 | - | ||||
| 360 | - | // Find missing references. | |||
| 361 | - | for left, rights := range p.allRefs { | |||
| 362 | - | if globals[left] { | |||
| 363 | - | continue | |||
| 364 | - | } | |||
| 365 | - | _, ok := p.existingImports[left] | |||
| 366 | - | if !ok { | |||
| 367 | - | p.missingRefs[left] = rights | |||
| 368 | - | continue | |||
| 369 | - | } | |||
| 370 | - | } | |||
| 371 | - | if len(p.missingRefs) != 0 { | |||
| 372 | - | return nil, false | |||
| 373 | - | } | |||
| 374 | - | ||||
| 375 | - | return p.fix() | |||
| 376 | - | } | |||
| 377 | - | ||||
| 378 | - | // fix attempts to satisfy missing imports using p.candidates. If it finds | |||
| 379 | - | // everything, or if p.lastTry is true, it updates fixes to add the imports it found, | |||
| 380 | - | // delete anything unused, and update import names, and returns true. | |||
| 381 | - | func (p *pass) fix() ([]*ImportFix, bool) { | |||
| 382 | - | // Find missing imports. | |||
| 383 | - | var selected []*ImportInfo | |||
| 384 | - | for left, rights := range p.missingRefs { | |||
| 385 | - | if imp := p.findMissingImport(left, rights); imp != nil { | |||
| 386 | - | selected = append(selected, imp) | |||
| 387 | - | } | |||
| 388 | - | } | |||
| 389 | - | ||||
| 390 | - | if !p.lastTry && len(selected) != len(p.missingRefs) { | |||
| 391 | - | return nil, false | |||
| 392 | - | } | |||
| 393 | - | ||||
| 394 | - | // Found everything, or giving up. Add the new imports and remove any unused. | |||
| 395 | - | var fixes []*ImportFix | |||
| 396 | - | for _, identifierImports := range p.existingImports { | |||
| 397 | - | for _, imp := range identifierImports { | |||
| 398 | - | // We deliberately ignore globals here, because we can't be sure | |||
| 399 | - | // they're in the same package. People do things like put multiple | |||
| 400 | - | // main packages in the same directory, and we don't want to | |||
| 401 | - | // remove imports if they happen to have the same name as a var in | |||
| 402 | - | // a different package. | |||
| 403 | - | if _, ok := p.allRefs[p.importIdentifier(imp)]; !ok { | |||
| 404 | - | fixes = append(fixes, &ImportFix{ | |||
| 405 | - | StmtInfo: *imp, | |||
| 406 | - | IdentName: p.importIdentifier(imp), | |||
| 407 | - | FixType: DeleteImport, | |||
| 408 | - | }) | |||
| 409 | - | continue | |||
| 410 | - | } | |||
| 411 | - | ||||
| 412 | - | // An existing import may need to update its import name to be correct. | |||
| 413 | - | if name := p.importSpecName(imp); name != imp.Name { | |||
| 414 | - | fixes = append(fixes, &ImportFix{ | |||
| 415 | - | StmtInfo: ImportInfo{ | |||
| 416 | - | Name: name, | |||
| 417 | - | ImportPath: imp.ImportPath, | |||
| 418 | - | }, | |||
| 419 | - | IdentName: p.importIdentifier(imp), | |||
| 420 | - | FixType: SetImportName, | |||
| 421 | - | }) | |||
| 422 | - | } | |||
| 423 | - | } | |||
| 424 | - | } | |||
| 425 | - | // Collecting fixes involved map iteration, so sort for stability. See | |||
| 426 | - | // golang/go#59976. | |||
| 427 | - | sortFixes(fixes) | |||
| 428 | - | ||||
| 429 | - | // collect selected fixes in a separate slice, so that it can be sorted | |||
| 430 | - | // separately. Note that these fixes must occur after fixes to existing | |||
| 431 | - | // imports. TODO(rfindley): figure out why. | |||
| 432 | - | var selectedFixes []*ImportFix | |||
| 433 | - | for _, imp := range selected { | |||
| 434 | - | selectedFixes = append(selectedFixes, &ImportFix{ | |||
| 435 | - | StmtInfo: ImportInfo{ | |||
| 436 | - | Name: p.importSpecName(imp), | |||
| 437 | - | ImportPath: imp.ImportPath, | |||
| 438 | - | }, | |||
| 439 | - | IdentName: p.importIdentifier(imp), | |||
| 440 | - | FixType: AddImport, | |||
| 441 | - | }) | |||
| 442 | - | } | |||
| 443 | - | sortFixes(selectedFixes) | |||
| 444 | - | ||||
| 445 | - | return append(fixes, selectedFixes...), true | |||
| 446 | - | } | |||
| 447 | - | ||||
| 448 | - | func sortFixes(fixes []*ImportFix) { | |||
| 449 | - | sort.Slice(fixes, func(i, j int) bool { | |||
| 450 | - | fi, fj := fixes[i], fixes[j] | |||
| 451 | - | if fi.StmtInfo.ImportPath != fj.StmtInfo.ImportPath { | |||
| 452 | - | return fi.StmtInfo.ImportPath < fj.StmtInfo.ImportPath | |||
| 453 | - | } | |||
| 454 | - | if fi.StmtInfo.Name != fj.StmtInfo.Name { | |||
| 455 | - | return fi.StmtInfo.Name < fj.StmtInfo.Name | |||
| 456 | - | } | |||
| 457 | - | if fi.IdentName != fj.IdentName { | |||
| 458 | - | return fi.IdentName < fj.IdentName | |||
| 459 | - | } | |||
| 460 | - | return fi.FixType < fj.FixType | |||
| 461 | - | }) | |||
| 462 | - | } | |||
| 463 | - | ||||
| 464 | - | // importSpecName gets the import name of imp in the import spec. | |||
| 465 | - | // | |||
| 466 | - | // When the import identifier matches the assumed import name, the import name does | |||
| 467 | - | // not appear in the import spec. | |||
| 468 | - | func (p *pass) importSpecName(imp *ImportInfo) string { | |||
| 469 | - | // If we did not load the real package names, or the name is already set, | |||
| 470 | - | // we just return the existing name. | |||
| 471 | - | if !p.loadRealPackageNames || imp.Name != "" { | |||
| 472 | - | return imp.Name | |||
| 473 | - | } | |||
| 474 | - | ||||
| 475 | - | ident := p.importIdentifier(imp) | |||
| 476 | - | if ident == ImportPathToAssumedName(imp.ImportPath) { | |||
| 477 | - | return "" // ident not needed since the assumed and real names are the same. | |||
| 478 | - | } | |||
| 479 | - | return ident | |||
| 480 | - | } | |||
| 481 | - | ||||
| 482 | - | // apply will perform the fixes on f in order. | |||
| 483 | - | func apply(fset *token.FileSet, f *ast.File, fixes []*ImportFix) { | |||
| 484 | - | for _, fix := range fixes { | |||
| 485 | - | switch fix.FixType { | |||
| 486 | - | case DeleteImport: | |||
| 487 | - | astutil.DeleteNamedImport(fset, f, fix.StmtInfo.Name, fix.StmtInfo.ImportPath) | |||
| 488 | - | case AddImport: | |||
| 489 | - | astutil.AddNamedImport(fset, f, fix.StmtInfo.Name, fix.StmtInfo.ImportPath) | |||
| 490 | - | case SetImportName: | |||
| 491 | - | // Find the matching import path and change the name. | |||
| 492 | - | for _, spec := range f.Imports { | |||
| 493 | - | path := strings.Trim(spec.Path.Value, `"`) | |||
| 494 | - | if path == fix.StmtInfo.ImportPath { | |||
| 495 | - | spec.Name = &ast.Ident{ | |||
| 496 | - | Name: fix.StmtInfo.Name, | |||
| 497 | - | NamePos: spec.Pos(), | |||
| 498 | - | } | |||
| 499 | - | } | |||
| 500 | - | } | |||
| 501 | - | } | |||
| 502 | - | } | |||
| 503 | - | } | |||
| 504 | - | ||||
| 505 | - | // assumeSiblingImportsValid assumes that siblings' use of packages is valid, | |||
| 506 | - | // adding the exports they use. | |||
| 507 | - | func (p *pass) assumeSiblingImportsValid() { | |||
| 508 | - | for _, f := range p.otherFiles { | |||
| 509 | - | refs := collectReferences(f) | |||
| 510 | - | imports := collectImports(f) | |||
| 511 | - | importsByName := map[string]*ImportInfo{} | |||
| 512 | - | for _, imp := range imports { | |||
| 513 | - | importsByName[p.importIdentifier(imp)] = imp | |||
| 514 | - | } | |||
| 515 | - | for left, rights := range refs { | |||
| 516 | - | if imp, ok := importsByName[left]; ok { | |||
| 517 | - | if m, ok := stdlib.PackageSymbols[imp.ImportPath]; ok { | |||
| 518 | - | // We have the stdlib in memory; no need to guess. | |||
| 519 | - | rights = symbolNameSet(m) | |||
| 520 | - | } | |||
| 521 | - | // TODO(rfindley): we should set package name here, for consistency. | |||
| 522 | - | p.addCandidate(imp, &PackageInfo{ | |||
| 523 | - | // no name; we already know it. | |||
| 524 | - | Exports: rights, | |||
| 525 | - | }) | |||
| 526 | - | } | |||
| 527 | - | } | |||
| 528 | - | } | |||
| 529 | - | } | |||
| 530 | - | ||||
| 531 | - | // addCandidate adds a candidate import to p, and merges in the information | |||
| 532 | - | // in pkg. | |||
| 533 | - | func (p *pass) addCandidate(imp *ImportInfo, pkg *PackageInfo) { | |||
| 534 | - | p.candidates = append(p.candidates, imp) | |||
| 535 | - | if existing, ok := p.knownPackages[imp.ImportPath]; ok { | |||
| 536 | - | if existing.Name == "" { | |||
| 537 | - | existing.Name = pkg.Name | |||
| 538 | - | } | |||
| 539 | - | for export := range pkg.Exports { | |||
| 540 | - | existing.Exports[export] = true | |||
| 541 | - | } | |||
| 542 | - | } else { | |||
| 543 | - | p.knownPackages[imp.ImportPath] = pkg | |||
| 544 | - | } | |||
| 545 | - | } | |||
| 546 | - | ||||
| 547 | - | // fixImports adds and removes imports from f so that all its references are | |||
| 548 | - | // satisfied and there are no unused imports. | |||
| 549 | - | // | |||
| 550 | - | // This is declared as a variable rather than a function so goimports can | |||
| 551 | - | // easily be extended by adding a file with an init function. | |||
| 552 | - | // | |||
| 553 | - | // DO NOT REMOVE: used internally at Google. | |||
| 554 | - | var fixImports = fixImportsDefault | |||
| 555 | - | ||||
| 556 | - | func fixImportsDefault(fset *token.FileSet, f *ast.File, filename string, env *ProcessEnv) error { | |||
| 557 | - | fixes, err := getFixes(context.Background(), fset, f, filename, env) | |||
| 558 | - | if err != nil { | |||
| 559 | - | return err | |||
| 560 | - | } | |||
| 561 | - | apply(fset, f, fixes) | |||
| 562 | - | return nil | |||
| 563 | - | } | |||
| 564 | - | ||||
| 565 | - | // getFixes gets the import fixes that need to be made to f in order to fix the imports. | |||
| 566 | - | // It does not modify the ast. | |||
| 567 | - | func getFixes(ctx context.Context, fset *token.FileSet, f *ast.File, filename string, env *ProcessEnv) ([]*ImportFix, error) { | |||
| 568 | - | source, err := NewProcessEnvSource(env, filename, f.Name.Name) | |||
| 569 | - | if err != nil { | |||
| 570 | - | return nil, err | |||
| 571 | - | } | |||
| 572 | - | goEnv, err := env.goEnv() | |||
| 573 | - | if err != nil { | |||
| 574 | - | return nil, err | |||
| 575 | - | } | |||
| 576 | - | return getFixesWithSource(ctx, fset, f, filename, goEnv["GOROOT"], env.logf, source) | |||
| 577 | - | } | |||
| 578 | - | ||||
| 579 | - | func getFixesWithSource(ctx context.Context, fset *token.FileSet, f *ast.File, filename string, goroot string, logf func(string, ...any), source Source) ([]*ImportFix, error) { | |||
| 580 | - | // This logic is defensively duplicated from getFixes. | |||
| 581 | - | abs, err := filepath.Abs(filename) | |||
| 582 | - | if err != nil { | |||
| 583 | - | return nil, err | |||
| 584 | - | } | |||
| 585 | - | srcDir := filepath.Dir(abs) | |||
| 586 | - | ||||
| 587 | - | if logf != nil { | |||
| 588 | - | logf("fixImports(filename=%q), srcDir=%q ...", filename, srcDir) | |||
| 589 | - | } | |||
| 590 | - | ||||
| 591 | - | // First pass: looking only at f, and using the naive algorithm to | |||
| 592 | - | // derive package names from import paths, see if the file is already | |||
| 593 | - | // complete. We can't add any imports yet, because we don't know | |||
| 594 | - | // if missing references are actually package vars. | |||
| 595 | - | p := &pass{ | |||
| 596 | - | fset: fset, | |||
| 597 | - | f: f, | |||
| 598 | - | srcDir: srcDir, | |||
| 599 | - | logf: logf, | |||
| 600 | - | goroot: goroot, | |||
| 601 | - | source: source, | |||
| 602 | - | } | |||
| 603 | - | if fixes, done := p.load(ctx); done { | |||
| 604 | - | return fixes, nil | |||
| 605 | - | } | |||
| 606 | - | ||||
| 607 | - | otherFiles, err := parseOtherFiles(ctx, fset, srcDir, filename) | |||
| 608 | - | if err != nil { | |||
| 609 | - | return nil, err | |||
| 610 | - | } | |||
| 611 | - | ||||
| 612 | - | // Second pass: add information from other files in the same package, | |||
| 613 | - | // like their package vars and imports. | |||
| 614 | - | p.otherFiles = otherFiles | |||
| 615 | - | if fixes, done := p.load(ctx); done { | |||
| 616 | - | return fixes, nil | |||
| 617 | - | } | |||
| 618 | - | ||||
| 619 | - | // Now we can try adding imports from the stdlib. | |||
| 620 | - | p.assumeSiblingImportsValid() | |||
| 621 | - | addStdlibCandidates(p, p.missingRefs) | |||
| 622 | - | if fixes, done := p.fix(); done { | |||
| 623 | - | return fixes, nil | |||
| 624 | - | } | |||
| 625 | - | ||||
| 626 | - | // Third pass: get real package names where we had previously used | |||
| 627 | - | // the naive algorithm. | |||
| 628 | - | p = &pass{ | |||
| 629 | - | fset: fset, | |||
| 630 | - | f: f, | |||
| 631 | - | srcDir: srcDir, | |||
| 632 | - | logf: logf, | |||
| 633 | - | goroot: goroot, | |||
| 634 | - | source: p.source, // safe to reuse, as it's just a wrapper around env | |||
| 635 | - | } | |||
| 636 | - | p.loadRealPackageNames = true | |||
| 637 | - | p.otherFiles = otherFiles | |||
| 638 | - | if fixes, done := p.load(ctx); done { | |||
| 639 | - | return fixes, nil | |||
| 640 | - | } | |||
| 641 | - | ||||
| 642 | - | if err := addStdlibCandidates(p, p.missingRefs); err != nil { | |||
| 643 | - | return nil, err | |||
| 644 | - | } | |||
| 645 | - | p.assumeSiblingImportsValid() | |||
| 646 | - | if fixes, done := p.fix(); done { | |||
| 647 | - | return fixes, nil | |||
| 648 | - | } | |||
| 649 | - | ||||
| 650 | - | // Go look for candidates in $GOPATH, etc. We don't necessarily load | |||
| 651 | - | // the real exports of sibling imports, so keep assuming their contents. | |||
| 652 | - | if err := addExternalCandidates(ctx, p, p.missingRefs, filename); err != nil { | |||
| 653 | - | return nil, err | |||
| 654 | - | } | |||
| 655 | - | ||||
| 656 | - | p.lastTry = true | |||
| 657 | - | fixes, _ := p.fix() | |||
| 658 | - | return fixes, nil | |||
| 659 | - | } | |||
| 660 | - | ||||
| 661 | - | // MaxRelevance is the highest relevance, used for the standard library. | |||
| 662 | - | // Chosen arbitrarily to match pre-existing gopls code. | |||
| 663 | - | const MaxRelevance = 7.0 | |||
| 664 | - | ||||
| 665 | - | // getCandidatePkgs works with the passed callback to find all acceptable packages. | |||
| 666 | - | // It deduplicates by import path, and uses a cached stdlib rather than reading | |||
| 667 | - | // from disk. | |||
| 668 | - | func getCandidatePkgs(ctx context.Context, wrappedCallback *scanCallback, filename, filePkg string, env *ProcessEnv) error { | |||
| 669 | - | notSelf := func(p *pkg) bool { | |||
| 670 | - | return p.packageName != filePkg || p.dir != filepath.Dir(filename) | |||
| 671 | - | } | |||
| 672 | - | goenv, err := env.goEnv() | |||
| 673 | - | if err != nil { | |||
| 674 | - | return err | |||
| 675 | - | } | |||
| 676 | - | ||||
| 677 | - | var mu sync.Mutex // to guard asynchronous access to dupCheck | |||
| 678 | - | dupCheck := map[string]struct{}{} | |||
| 679 | - | ||||
| 680 | - | // Start off with the standard library. | |||
| 681 | - | for importPath, symbols := range stdlib.PackageSymbols { | |||
| 682 | - | p := &pkg{ | |||
| 683 | - | dir: filepath.Join(goenv["GOROOT"], "src", importPath), | |||
| 684 | - | importPathShort: importPath, | |||
| 685 | - | packageName: path.Base(importPath), | |||
| 686 | - | relevance: MaxRelevance, | |||
| 687 | - | } | |||
| 688 | - | dupCheck[importPath] = struct{}{} | |||
| 689 | - | if notSelf(p) && wrappedCallback.dirFound(p) && wrappedCallback.packageNameLoaded(p) { | |||
| 690 | - | var exports []stdlib.Symbol | |||
| 691 | - | for _, sym := range symbols { | |||
| 692 | - | switch sym.Kind { | |||
| 693 | - | case stdlib.Func, stdlib.Type, stdlib.Var, stdlib.Const: | |||
| 694 | - | exports = append(exports, sym) | |||
| 695 | - | } | |||
| 696 | - | } | |||
| 697 | - | wrappedCallback.exportsLoaded(p, exports) | |||
| 698 | - | } | |||
| 699 | - | } | |||
| 700 | - | ||||
| 701 | - | scanFilter := &scanCallback{ | |||
| 702 | - | rootFound: func(root gopathwalk.Root) bool { | |||
| 703 | - | // Exclude goroot results -- getting them is relatively expensive, not cached, | |||
| 704 | - | // and generally redundant with the in-memory version. | |||
| 705 | - | return root.Type != gopathwalk.RootGOROOT && wrappedCallback.rootFound(root) | |||
| 706 | - | }, | |||
| 707 | - | dirFound: wrappedCallback.dirFound, | |||
| 708 | - | packageNameLoaded: func(pkg *pkg) bool { | |||
| 709 | - | mu.Lock() | |||
| 710 | - | defer mu.Unlock() | |||
| 711 | - | if _, ok := dupCheck[pkg.importPathShort]; ok { | |||
| 712 | - | return false | |||
| 713 | - | } | |||
| 714 | - | dupCheck[pkg.importPathShort] = struct{}{} | |||
| 715 | - | return notSelf(pkg) && wrappedCallback.packageNameLoaded(pkg) | |||
| 716 | - | }, | |||
| 717 | - | exportsLoaded: func(pkg *pkg, exports []stdlib.Symbol) { | |||
| 718 | - | // If we're an x_test, load the package under test's test variant. | |||
| 719 | - | if strings.HasSuffix(filePkg, "_test") && pkg.dir == filepath.Dir(filename) { | |||
| 720 | - | var err error | |||
| 721 | - | _, exports, err = loadExportsFromFiles(ctx, env, pkg.dir, true) | |||
| 722 | - | if err != nil { | |||
| 723 | - | return | |||
| 724 | - | } | |||
| 725 | - | } | |||
| 726 | - | wrappedCallback.exportsLoaded(pkg, exports) | |||
| 727 | - | }, | |||
| 728 | - | } | |||
| 729 | - | resolver, err := env.GetResolver() | |||
| 730 | - | if err != nil { | |||
| 731 | - | return err | |||
| 732 | - | } | |||
| 733 | - | return resolver.scan(ctx, scanFilter) | |||
| 734 | - | } | |||
| 735 | - | ||||
| 736 | - | func ScoreImportPaths(ctx context.Context, env *ProcessEnv, paths []string) (map[string]float64, error) { | |||
| 737 | - | result := make(map[string]float64) | |||
| 738 | - | resolver, err := env.GetResolver() | |||
| 739 | - | if err != nil { | |||
| 740 | - | return nil, err | |||
| 741 | - | } | |||
| 742 | - | for _, path := range paths { | |||
| 743 | - | result[path] = resolver.scoreImportPath(ctx, path) | |||
| 744 | - | } | |||
| 745 | - | return result, nil | |||
| 746 | - | } | |||
| 747 | - | ||||
| 748 | - | func PrimeCache(ctx context.Context, resolver Resolver) error { | |||
| 749 | - | // Fully scan the disk for directories, but don't actually read any Go files. | |||
| 750 | - | callback := &scanCallback{ | |||
| 751 | - | rootFound: func(root gopathwalk.Root) bool { | |||
| 752 | - | // See getCandidatePkgs: walking GOROOT is apparently expensive and | |||
| 753 | - | // unnecessary. | |||
| 754 | - | return root.Type != gopathwalk.RootGOROOT | |||
| 755 | - | }, | |||
| 756 | - | dirFound: func(pkg *pkg) bool { | |||
| 757 | - | return false | |||
| 758 | - | }, | |||
| 759 | - | // packageNameLoaded and exportsLoaded must never be called. | |||
| 760 | - | } | |||
| 761 | - | ||||
| 762 | - | return resolver.scan(ctx, callback) | |||
| 763 | - | } | |||
| 764 | - | ||||
| 765 | - | func candidateImportName(pkg *pkg) string { | |||
| 766 | - | if ImportPathToAssumedName(pkg.importPathShort) != pkg.packageName { | |||
| 767 | - | return pkg.packageName | |||
| 768 | - | } | |||
| 769 | - | return "" | |||
| 770 | - | } | |||
| 771 | - | ||||
| 772 | - | // GetAllCandidates calls wrapped for each package whose name starts with | |||
| 773 | - | // searchPrefix, and can be imported from filename with the package name filePkg. | |||
| 774 | - | // | |||
| 775 | - | // Beware that the wrapped function may be called multiple times concurrently. | |||
| 776 | - | // TODO(adonovan): encapsulate the concurrency. | |||
| 777 | - | func GetAllCandidates(ctx context.Context, wrapped func(ImportFix), searchPrefix, filename, filePkg string, env *ProcessEnv) error { | |||
| 778 | - | callback := &scanCallback{ | |||
| 779 | - | rootFound: func(gopathwalk.Root) bool { | |||
| 780 | - | return true | |||
| 781 | - | }, | |||
| 782 | - | dirFound: func(pkg *pkg) bool { | |||
| 783 | - | if !CanUse(filename, pkg.dir) { | |||
| 784 | - | return false | |||
| 785 | - | } | |||
| 786 | - | // Try the assumed package name first, then a simpler path match | |||
| 787 | - | // in case of packages named vN, which are not uncommon. | |||
| 788 | - | return strings.HasPrefix(ImportPathToAssumedName(pkg.importPathShort), searchPrefix) || | |||
| 789 | - | strings.HasPrefix(path.Base(pkg.importPathShort), searchPrefix) | |||
| 790 | - | }, | |||
| 791 | - | packageNameLoaded: func(pkg *pkg) bool { | |||
| 792 | - | if !strings.HasPrefix(pkg.packageName, searchPrefix) { | |||
| 793 | - | return false | |||
| 794 | - | } | |||
| 795 | - | wrapped(ImportFix{ | |||
| 796 | - | StmtInfo: ImportInfo{ | |||
| 797 | - | ImportPath: pkg.importPathShort, | |||
| 798 | - | Name: candidateImportName(pkg), | |||
| 799 | - | }, | |||
| 800 | - | IdentName: pkg.packageName, | |||
| 801 | - | FixType: AddImport, | |||
| 802 | - | Relevance: pkg.relevance, | |||
| 803 | - | }) | |||
| 804 | - | return false | |||
| 805 | - | }, | |||
| 806 | - | } | |||
| 807 | - | return getCandidatePkgs(ctx, callback, filename, filePkg, env) | |||
| 808 | - | } | |||
| 809 | - | ||||
| 810 | - | // GetImportPaths calls wrapped for each package whose import path starts with | |||
| 811 | - | // searchPrefix, and can be imported from filename with the package name filePkg. | |||
| 812 | - | func GetImportPaths(ctx context.Context, wrapped func(ImportFix), searchPrefix, filename, filePkg string, env *ProcessEnv) error { | |||
| 813 | - | callback := &scanCallback{ | |||
| 814 | - | rootFound: func(gopathwalk.Root) bool { | |||
| 815 | - | return true | |||
| 816 | - | }, | |||
| 817 | - | dirFound: func(pkg *pkg) bool { | |||
| 818 | - | if !CanUse(filename, pkg.dir) { | |||
| 819 | - | return false | |||
| 820 | - | } | |||
| 821 | - | return strings.HasPrefix(pkg.importPathShort, searchPrefix) | |||
| 822 | - | }, | |||
| 823 | - | packageNameLoaded: func(pkg *pkg) bool { | |||
| 824 | - | wrapped(ImportFix{ | |||
| 825 | - | StmtInfo: ImportInfo{ | |||
| 826 | - | ImportPath: pkg.importPathShort, | |||
| 827 | - | Name: candidateImportName(pkg), | |||
| 828 | - | }, | |||
| 829 | - | IdentName: pkg.packageName, | |||
| 830 | - | FixType: AddImport, | |||
| 831 | - | Relevance: pkg.relevance, | |||
| 832 | - | }) | |||
| 833 | - | return false | |||
| 834 | - | }, | |||
| 835 | - | } | |||
| 836 | - | return getCandidatePkgs(ctx, callback, filename, filePkg, env) | |||
| 837 | - | } | |||
| 838 | - | ||||
| 839 | - | // A PackageExport is a package and its exports. | |||
| 840 | - | type PackageExport struct { | |||
| 841 | - | Fix *ImportFix | |||
| 842 | - | Exports []stdlib.Symbol | |||
| 843 | - | } | |||
| 844 | - | ||||
| 845 | - | // GetPackageExports returns all known packages with name pkg and their exports. | |||
| 846 | - | func GetPackageExports(ctx context.Context, wrapped func(PackageExport), searchPkg, filename, filePkg string, env *ProcessEnv) error { | |||
| 847 | - | callback := &scanCallback{ | |||
| 848 | - | rootFound: func(gopathwalk.Root) bool { | |||
| 849 | - | return true | |||
| 850 | - | }, | |||
| 851 | - | dirFound: func(pkg *pkg) bool { | |||
| 852 | - | return pkgIsCandidate(filename, References{searchPkg: nil}, pkg) | |||
| 853 | - | }, | |||
| 854 | - | packageNameLoaded: func(pkg *pkg) bool { | |||
| 855 | - | return pkg.packageName == searchPkg | |||
| 856 | - | }, | |||
| 857 | - | exportsLoaded: func(pkg *pkg, exports []stdlib.Symbol) { | |||
| 858 | - | sortSymbols(exports) | |||
| 859 | - | wrapped(PackageExport{ | |||
| 860 | - | Fix: &ImportFix{ | |||
| 861 | - | StmtInfo: ImportInfo{ | |||
| 862 | - | ImportPath: pkg.importPathShort, | |||
| 863 | - | Name: candidateImportName(pkg), | |||
| 864 | - | }, | |||
| 865 | - | IdentName: pkg.packageName, | |||
| 866 | - | FixType: AddImport, | |||
| 867 | - | Relevance: pkg.relevance, | |||
| 868 | - | }, | |||
| 869 | - | Exports: exports, | |||
| 870 | - | }) | |||
| 871 | - | }, | |||
| 872 | - | } | |||
| 873 | - | return getCandidatePkgs(ctx, callback, filename, filePkg, env) | |||
| 874 | - | } | |||
| 875 | - | ||||
| 876 | - | // TODO(rfindley): we should depend on GOOS and GOARCH, to provide accurate | |||
| 877 | - | // imports when doing cross-platform development. | |||
| 878 | - | var requiredGoEnvVars = []string{ | |||
| 879 | - | "GO111MODULE", | |||
| 880 | - | "GOFLAGS", | |||
| 881 | - | "GOINSECURE", | |||
| 882 | - | "GOMOD", | |||
| 883 | - | "GOMODCACHE", | |||
| 884 | - | "GONOPROXY", | |||
| 885 | - | "GONOSUMDB", | |||
| 886 | - | "GOPATH", | |||
| 887 | - | "GOPROXY", | |||
| 888 | - | "GOROOT", | |||
| 889 | - | "GOSUMDB", | |||
| 890 | - | "GOWORK", | |||
| 891 | - | } | |||
| 892 | - | ||||
| 893 | - | // ProcessEnv contains environment variables and settings that affect the use of | |||
| 894 | - | // the go command, the go/build package, etc. | |||
| 895 | - | // | |||
| 896 | - | // ...a ProcessEnv *also* overwrites its Env along with derived state in the | |||
| 897 | - | // form of the resolver. And because it is lazily initialized, an env may just | |||
| 898 | - | // be broken and unusable, but there is no way for the caller to detect that: | |||
| 899 | - | // all queries will just fail. | |||
| 900 | - | // | |||
| 901 | - | // TODO(rfindley): refactor this package so that this type (perhaps renamed to | |||
| 902 | - | // just Env or Config) is an immutable configuration struct, to be exchanged | |||
| 903 | - | // for an initialized object via a constructor that returns an error. Perhaps | |||
| 904 | - | // the signature should be `func NewResolver(*Env) (*Resolver, error)`, where | |||
| 905 | - | // resolver is a concrete type used for resolving imports. Via this | |||
| 906 | - | // refactoring, we can avoid the need to call ProcessEnv.init and | |||
| 907 | - | // ProcessEnv.GoEnv everywhere, and implicitly fix all the places where this | |||
| 908 | - | // these are misused. Also, we'd delegate the caller the decision of how to | |||
| 909 | - | // handle a broken environment. | |||
| 910 | - | type ProcessEnv struct { | |||
| 911 | - | GocmdRunner *gocommand.Runner | |||
| 912 | - | ||||
| 913 | - | BuildFlags []string | |||
| 914 | - | ModFlag string | |||
| 915 | - | ||||
| 916 | - | // SkipPathInScan returns true if the path should be skipped from scans of | |||
| 917 | - | // the RootCurrentModule root type. The function argument is a clean, | |||
| 918 | - | // absolute path. | |||
| 919 | - | SkipPathInScan func(string) bool | |||
| 920 | - | ||||
| 921 | - | // Env overrides the OS environment, and can be used to specify | |||
| 922 | - | // GOPROXY, GO111MODULE, etc. PATH cannot be set here, because | |||
| 923 | - | // exec.Command will not honor it. | |||
| 924 | - | // Specifying all of requiredGoEnvVars avoids a call to `go env`. | |||
| 925 | - | Env map[string]string | |||
| 926 | - | ||||
| 927 | - | WorkingDir string | |||
| 928 | - | ||||
| 929 | - | // If Logf is non-nil, debug logging is enabled through this function. | |||
| 930 | - | Logf func(format string, args ...any) | |||
| 931 | - | ||||
| 932 | - | // If set, ModCache holds a shared cache of directory info to use across | |||
| 933 | - | // multiple ProcessEnvs. | |||
| 934 | - | ModCache *DirInfoCache | |||
| 935 | - | ||||
| 936 | - | initialized bool // see TODO above | |||
| 937 | - | ||||
| 938 | - | // resolver and resolverErr are lazily evaluated (see GetResolver). | |||
| 939 | - | // This is unclean, but see the big TODO in the docstring for ProcessEnv | |||
| 940 | - | // above: for now, we can't be sure that the ProcessEnv is fully initialized. | |||
| 941 | - | resolver Resolver | |||
| 942 | - | resolverErr error | |||
| 943 | - | } | |||
| 944 | - | ||||
| 945 | - | func (e *ProcessEnv) goEnv() (map[string]string, error) { | |||
| 946 | - | if err := e.init(); err != nil { | |||
| 947 | - | return nil, err | |||
| 948 | - | } | |||
| 949 | - | return e.Env, nil | |||
| 950 | - | } | |||
| 951 | - | ||||
| 952 | - | func (e *ProcessEnv) matchFile(dir, name string) (bool, error) { | |||
| 953 | - | bctx, err := e.buildContext() | |||
| 954 | - | if err != nil { | |||
| 955 | - | return false, err | |||
| 956 | - | } | |||
| 957 | - | return bctx.MatchFile(dir, name) | |||
| 958 | - | } | |||
| 959 | - | ||||
| 960 | - | // CopyConfig copies the env's configuration into a new env. | |||
| 961 | - | func (e *ProcessEnv) CopyConfig() *ProcessEnv { | |||
| 962 | - | copy := &ProcessEnv{ | |||
| 963 | - | GocmdRunner: e.GocmdRunner, | |||
| 964 | - | initialized: e.initialized, | |||
| 965 | - | BuildFlags: e.BuildFlags, | |||
| 966 | - | Logf: e.Logf, | |||
| 967 | - | WorkingDir: e.WorkingDir, | |||
| 968 | - | resolver: nil, | |||
| 969 | - | Env: map[string]string{}, | |||
| 970 | - | } | |||
| 971 | - | maps.Copy(copy.Env, e.Env) | |||
| 972 | - | return copy | |||
| 973 | - | } | |||
| 974 | - | ||||
| 975 | - | func (e *ProcessEnv) init() error { | |||
| 976 | - | if e.initialized { | |||
| 977 | - | return nil | |||
| 978 | - | } | |||
| 979 | - | ||||
| 980 | - | foundAllRequired := true | |||
| 981 | - | for _, k := range requiredGoEnvVars { | |||
| 982 | - | if _, ok := e.Env[k]; !ok { | |||
| 983 | - | foundAllRequired = false | |||
| 984 | - | break | |||
| 985 | - | } | |||
| 986 | - | } | |||
| 987 | - | if foundAllRequired { | |||
| 988 | - | e.initialized = true | |||
| 989 | - | return nil | |||
| 990 | - | } | |||
| 991 | - | ||||
| 992 | - | if e.Env == nil { | |||
| 993 | - | e.Env = map[string]string{} | |||
| 994 | - | } | |||
| 995 | - | ||||
| 996 | - | goEnv := map[string]string{} | |||
| 997 | - | stdout, err := e.invokeGo(context.TODO(), "env", append([]string{"-json"}, requiredGoEnvVars...)...) | |||
| 998 | - | if err != nil { | |||
| 999 | - | return err | |||
| 1000 | - | } | |||
| 1001 | - | if err := json.Unmarshal(stdout.Bytes(), &goEnv); err != nil { | |||
| 1002 | - | return err | |||
| 1003 | - | } | |||
| 1004 | - | maps.Copy(e.Env, goEnv) | |||
| 1005 | - | e.initialized = true | |||
| 1006 | - | return nil | |||
| 1007 | - | } | |||
| 1008 | - | ||||
| 1009 | - | func (e *ProcessEnv) env() []string { | |||
| 1010 | - | var env []string // the gocommand package will prepend os.Environ. | |||
| 1011 | - | for k, v := range e.Env { | |||
| 1012 | - | env = append(env, k+"="+v) | |||
| 1013 | - | } | |||
| 1014 | - | return env | |||
| 1015 | - | } | |||
| 1016 | - | ||||
| 1017 | - | func (e *ProcessEnv) GetResolver() (Resolver, error) { | |||
| 1018 | - | if err := e.init(); err != nil { | |||
| 1019 | - | return nil, err | |||
| 1020 | - | } | |||
| 1021 | - | ||||
| 1022 | - | if e.resolver == nil && e.resolverErr == nil { | |||
| 1023 | - | // TODO(rfindley): we should only use a gopathResolver here if the working | |||
| 1024 | - | // directory is actually *in* GOPATH. (I seem to recall an open gopls issue | |||
| 1025 | - | // for this behavior, but I can't find it). | |||
| 1026 | - | // | |||
| 1027 | - | // For gopls, we can optionally explicitly choose a resolver type, since we | |||
| 1028 | - | // already know the view type. | |||
| 1029 | - | if e.Env["GOMOD"] == "" && (e.Env["GOWORK"] == "" || e.Env["GOWORK"] == "off") { | |||
| 1030 | - | e.resolver = newGopathResolver(e) | |||
| 1031 | - | e.logf("created gopath resolver") | |||
| 1032 | - | } else if r, err := newModuleResolver(e, e.ModCache); err != nil { | |||
| 1033 | - | e.resolverErr = err | |||
| 1034 | - | e.logf("failed to create module resolver: %v", err) | |||
| 1035 | - | } else { | |||
| 1036 | - | e.resolver = Resolver(r) | |||
| 1037 | - | e.logf("created module resolver") | |||
| 1038 | - | } | |||
| 1039 | - | } | |||
| 1040 | - | ||||
| 1041 | - | return e.resolver, e.resolverErr | |||
| 1042 | - | } | |||
| 1043 | - | ||||
| 1044 | - | // logf logs if e.Logf is non-nil. | |||
| 1045 | - | func (e *ProcessEnv) logf(format string, args ...any) { | |||
| 1046 | - | if e.Logf != nil { | |||
| 1047 | - | e.Logf(format, args...) | |||
| 1048 | - | } | |||
| 1049 | - | } | |||
| 1050 | - | ||||
| 1051 | - | // buildContext returns the build.Context to use for matching files. | |||
| 1052 | - | // | |||
| 1053 | - | // TODO(rfindley): support dynamic GOOS, GOARCH here, when doing cross-platform | |||
| 1054 | - | // development. | |||
| 1055 | - | func (e *ProcessEnv) buildContext() (*build.Context, error) { | |||
| 1056 | - | ctx := build.Default | |||
| 1057 | - | goenv, err := e.goEnv() | |||
| 1058 | - | if err != nil { | |||
| 1059 | - | return nil, err | |||
| 1060 | - | } | |||
| 1061 | - | ctx.GOROOT = goenv["GOROOT"] | |||
| 1062 | - | ctx.GOPATH = goenv["GOPATH"] | |||
| 1063 | - | ||||
| 1064 | - | // As of Go 1.14, build.Context has a Dir field | |||
| 1065 | - | // (see golang.org/issue/34860). | |||
| 1066 | - | // Populate it only if present. | |||
| 1067 | - | rc := reflect.ValueOf(&ctx).Elem() | |||
| 1068 | - | dir := rc.FieldByName("Dir") | |||
| 1069 | - | if dir.IsValid() && dir.Kind() == reflect.String { | |||
| 1070 | - | dir.SetString(e.WorkingDir) | |||
| 1071 | - | } | |||
| 1072 | - | ||||
| 1073 | - | // Since Go 1.11, go/build.Context.Import may invoke 'go list' depending on | |||
| 1074 | - | // the value in GO111MODULE in the process's environment. We always want to | |||
| 1075 | - | // run in GOPATH mode when calling Import, so we need to prevent this from | |||
| 1076 | - | // happening. In Go 1.16, GO111MODULE defaults to "on", so this problem comes | |||
| 1077 | - | // up more frequently. | |||
| 1078 | - | // | |||
| 1079 | - | // HACK: setting any of the Context I/O hooks prevents Import from invoking | |||
| 1080 | - | // 'go list', regardless of GO111MODULE. This is undocumented, but it's | |||
| 1081 | - | // unlikely to change before GOPATH support is removed. | |||
| 1082 | - | ctx.ReadDir = ioutil.ReadDir | |||
| 1083 | - | ||||
| 1084 | - | return &ctx, nil | |||
| 1085 | - | } | |||
| 1086 | - | ||||
| 1087 | - | func (e *ProcessEnv) invokeGo(ctx context.Context, verb string, args ...string) (*bytes.Buffer, error) { | |||
| 1088 | - | inv := gocommand.Invocation{ | |||
| 1089 | - | Verb: verb, | |||
| 1090 | - | Args: args, | |||
| 1091 | - | BuildFlags: e.BuildFlags, | |||
| 1092 | - | Env: e.env(), | |||
| 1093 | - | Logf: e.Logf, | |||
| 1094 | - | WorkingDir: e.WorkingDir, | |||
| 1095 | - | } | |||
| 1096 | - | return e.GocmdRunner.Run(ctx, inv) | |||
| 1097 | - | } | |||
| 1098 | - | ||||
| 1099 | - | func addStdlibCandidates(pass *pass, refs References) error { | |||
| 1100 | - | localbase := func(nm string) string { | |||
| 1101 | - | ans := path.Base(nm) | |||
| 1102 | - | if ans[0] == 'v' { | |||
| 1103 | - | // this is called, for instance, with math/rand/v2 and returns rand/v2 | |||
| 1104 | - | if _, err := strconv.Atoi(ans[1:]); err == nil { | |||
| 1105 | - | ix := strings.LastIndex(nm, ans) | |||
| 1106 | - | more := path.Base(nm[:ix]) | |||
| 1107 | - | ans = path.Join(more, ans) | |||
| 1108 | - | } | |||
| 1109 | - | } | |||
| 1110 | - | return ans | |||
| 1111 | - | } | |||
| 1112 | - | add := func(pkg string) { | |||
| 1113 | - | // Prevent self-imports. | |||
| 1114 | - | if path.Base(pkg) == pass.f.Name.Name && filepath.Join(pass.goroot, "src", pkg) == pass.srcDir { | |||
| 1115 | - | return | |||
| 1116 | - | } | |||
| 1117 | - | exports := symbolNameSet(stdlib.PackageSymbols[pkg]) | |||
| 1118 | - | pass.addCandidate( | |||
| 1119 | - | &ImportInfo{ImportPath: pkg}, | |||
| 1120 | - | &PackageInfo{Name: localbase(pkg), Exports: exports}) | |||
| 1121 | - | } | |||
| 1122 | - | for left := range refs { | |||
| 1123 | - | if left == "rand" { | |||
| 1124 | - | // Make sure we try crypto/rand before any version of math/rand as both have Int() | |||
| 1125 | - | // and our policy is to recommend crypto | |||
| 1126 | - | add("crypto/rand") | |||
| 1127 | - | // if the user's no later than go1.21, this should be "math/rand" | |||
| 1128 | - | // but we have no way of figuring out what the user is using | |||
| 1129 | - | // TODO: investigate using the toolchain version to disambiguate in the stdlib | |||
| 1130 | - | add("math/rand/v2") | |||
| 1131 | - | // math/rand has an overlapping API | |||
| 1132 | - | // TestIssue66407 fails without this | |||
| 1133 | - | add("math/rand") | |||
| 1134 | - | continue | |||
| 1135 | - | } | |||
| 1136 | - | for importPath := range stdlib.PackageSymbols { | |||
| 1137 | - | if path.Base(importPath) == left { | |||
| 1138 | - | add(importPath) | |||
| 1139 | - | } | |||
| 1140 | - | } | |||
| 1141 | - | } | |||
| 1142 | - | return nil | |||
| 1143 | - | } | |||
| 1144 | - | ||||
| 1145 | - | // A Resolver does the build-system-specific parts of goimports. | |||
| 1146 | - | type Resolver interface { | |||
| 1147 | - | // loadPackageNames loads the package names in importPaths. | |||
| 1148 | - | loadPackageNames(importPaths []string, srcDir string) (map[string]string, error) | |||
| 1149 | - | ||||
| 1150 | - | // scan works with callback to search for packages. See scanCallback for details. | |||
| 1151 | - | scan(ctx context.Context, callback *scanCallback) error | |||
| 1152 | - | ||||
| 1153 | - | // loadExports returns the package name and set of exported symbols in the | |||
| 1154 | - | // package at dir. loadExports may be called concurrently. | |||
| 1155 | - | loadExports(ctx context.Context, pkg *pkg, includeTest bool) (string, []stdlib.Symbol, error) | |||
| 1156 | - | ||||
| 1157 | - | // scoreImportPath returns the relevance for an import path. | |||
| 1158 | - | scoreImportPath(ctx context.Context, path string) float64 | |||
| 1159 | - | ||||
| 1160 | - | // ClearForNewScan returns a new Resolver based on the receiver that has | |||
| 1161 | - | // cleared its internal caches of directory contents. | |||
| 1162 | - | // | |||
| 1163 | - | // The new resolver should be primed and then set via | |||
| 1164 | - | // [ProcessEnv.UpdateResolver]. | |||
| 1165 | - | ClearForNewScan() Resolver | |||
| 1166 | - | } | |||
| 1167 | - | ||||
| 1168 | - | // A scanCallback controls a call to scan and receives its results. | |||
| 1169 | - | // In general, minor errors will be silently discarded; a user should not | |||
| 1170 | - | // expect to receive a full series of calls for everything. | |||
| 1171 | - | type scanCallback struct { | |||
| 1172 | - | // rootFound is called before scanning a new root dir. If it returns true, | |||
| 1173 | - | // the root will be scanned. Returning false will not necessarily prevent | |||
| 1174 | - | // directories from that root making it to dirFound. | |||
| 1175 | - | rootFound func(gopathwalk.Root) bool | |||
| 1176 | - | // dirFound is called when a directory is found that is possibly a Go package. | |||
| 1177 | - | // pkg will be populated with everything except packageName. | |||
| 1178 | - | // If it returns true, the package's name will be loaded. | |||
| 1179 | - | dirFound func(pkg *pkg) bool | |||
| 1180 | - | // packageNameLoaded is called when a package is found and its name is loaded. | |||
| 1181 | - | // If it returns true, the package's exports will be loaded. | |||
| 1182 | - | packageNameLoaded func(pkg *pkg) bool | |||
| 1183 | - | // exportsLoaded is called when a package's exports have been loaded. | |||
| 1184 | - | exportsLoaded func(pkg *pkg, exports []stdlib.Symbol) | |||
| 1185 | - | } | |||
| 1186 | - | ||||
| 1187 | - | func addExternalCandidates(ctx context.Context, pass *pass, refs References, filename string) error { | |||
| 1188 | - | ctx, done := event.Start(ctx, "imports.addExternalCandidates") | |||
| 1189 | - | defer done() | |||
| 1190 | - | ||||
| 1191 | - | results, err := pass.source.ResolveReferences(ctx, filename, refs) | |||
| 1192 | - | if err != nil { | |||
| 1193 | - | return err | |||
| 1194 | - | } | |||
| 1195 | - | ||||
| 1196 | - | for _, result := range results { | |||
| 1197 | - | if result == nil { | |||
| 1198 | - | continue | |||
| 1199 | - | } | |||
| 1200 | - | // Don't offer completions that would shadow predeclared | |||
| 1201 | - | // names, such as github.com/coreos/etcd/error. | |||
| 1202 | - | if types.Universe.Lookup(result.Package.Name) != nil { // predeclared | |||
| 1203 | - | // Ideally we would skip this candidate only | |||
| 1204 | - | // if the predeclared name is actually | |||
| 1205 | - | // referenced by the file, but that's a lot | |||
| 1206 | - | // trickier to compute and would still create | |||
| 1207 | - | // an import that is likely to surprise the | |||
| 1208 | - | // user before long. | |||
| 1209 | - | continue | |||
| 1210 | - | } | |||
| 1211 | - | pass.addCandidate(result.Import, result.Package) | |||
| 1212 | - | } | |||
| 1213 | - | return nil | |||
| 1214 | - | } | |||
| 1215 | - | ||||
| 1216 | - | // notIdentifier reports whether ch is an invalid identifier character. | |||
| 1217 | - | func notIdentifier(ch rune) bool { | |||
| 1218 | - | return !('a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || | |||
| 1219 | - | '0' <= ch && ch <= '9' || | |||
| 1220 | - | ch == '_' || | |||
| 1221 | - | ch >= utf8.RuneSelf && (unicode.IsLetter(ch) || unicode.IsDigit(ch))) | |||
| 1222 | - | } | |||
| 1223 | - | ||||
| 1224 | - | // ImportPathToAssumedName returns the assumed package name of an import path. | |||
| 1225 | - | // It does this using only string parsing of the import path. | |||
| 1226 | - | // It picks the last element of the path that does not look like a major | |||
| 1227 | - | // version, and then picks the valid identifier off the start of that element. | |||
| 1228 | - | // It is used to determine if a local rename should be added to an import for | |||
| 1229 | - | // clarity. | |||
| 1230 | - | // This function could be moved to a standard package and exported if we want | |||
| 1231 | - | // for use in other tools. | |||
| 1232 | - | func ImportPathToAssumedName(importPath string) string { | |||
| 1233 | - | base := path.Base(importPath) | |||
| 1234 | - | if strings.HasPrefix(base, "v") { | |||
| 1235 | - | if _, err := strconv.Atoi(base[1:]); err == nil { | |||
| 1236 | - | dir := path.Dir(importPath) | |||
| 1237 | - | if dir != "." { | |||
| 1238 | - | base = path.Base(dir) | |||
| 1239 | - | } | |||
| 1240 | - | } | |||
| 1241 | - | } | |||
| 1242 | - | base = strings.TrimPrefix(base, "go-") | |||
| 1243 | - | if i := strings.IndexFunc(base, notIdentifier); i >= 0 { | |||
| 1244 | - | base = base[:i] | |||
| 1245 | - | } | |||
| 1246 | - | return base | |||
| 1247 | - | } | |||
| 1248 | - | ||||
| 1249 | - | // gopathResolver implements resolver for GOPATH workspaces. | |||
| 1250 | - | type gopathResolver struct { | |||
| 1251 | - | env *ProcessEnv | |||
| 1252 | - | cache *DirInfoCache | |||
| 1253 | - | scanSema chan struct{} // scanSema prevents concurrent scans. | |||
| 1254 | - | } | |||
| 1255 | - | ||||
| 1256 | - | func newGopathResolver(env *ProcessEnv) *gopathResolver { | |||
| 1257 | - | r := &gopathResolver{ | |||
| 1258 | - | env: env, | |||
| 1259 | - | cache: NewDirInfoCache(), | |||
| 1260 | - | scanSema: make(chan struct{}, 1), | |||
| 1261 | - | } | |||
| 1262 | - | r.scanSema <- struct{}{} | |||
| 1263 | - | return r | |||
| 1264 | - | } | |||
| 1265 | - | ||||
| 1266 | - | func (r *gopathResolver) ClearForNewScan() Resolver { | |||
| 1267 | - | return newGopathResolver(r.env) | |||
| 1268 | - | } | |||
| 1269 | - | ||||
| 1270 | - | func (r *gopathResolver) loadPackageNames(importPaths []string, srcDir string) (map[string]string, error) { | |||
| 1271 | - | names := map[string]string{} | |||
| 1272 | - | bctx, err := r.env.buildContext() | |||
| 1273 | - | if err != nil { | |||
| 1274 | - | return nil, err | |||
| 1275 | - | } | |||
| 1276 | - | for _, path := range importPaths { | |||
| 1277 | - | names[path] = importPathToName(bctx, path, srcDir) | |||
| 1278 | - | } | |||
| 1279 | - | return names, nil | |||
| 1280 | - | } | |||
| 1281 | - | ||||
| 1282 | - | // importPathToName finds out the actual package name, as declared in its .go files. | |||
| 1283 | - | func importPathToName(bctx *build.Context, importPath, srcDir string) string { | |||
| 1284 | - | // Fast path for standard library without going to disk. | |||
| 1285 | - | if stdlib.HasPackage(importPath) { | |||
| 1286 | - | return path.Base(importPath) // stdlib packages always match their paths. | |||
| 1287 | - | } | |||
| 1288 | - | ||||
| 1289 | - | buildPkg, err := bctx.Import(importPath, srcDir, build.FindOnly) | |||
| 1290 | - | if err != nil { | |||
| 1291 | - | return "" | |||
| 1292 | - | } | |||
| 1293 | - | pkgName, err := packageDirToName(buildPkg.Dir) | |||
| 1294 | - | if err != nil { | |||
| 1295 | - | return "" | |||
| 1296 | - | } | |||
| 1297 | - | return pkgName | |||
| 1298 | - | } | |||
| 1299 | - | ||||
| 1300 | - | // packageDirToName is a faster version of build.Import if | |||
| 1301 | - | // the only thing desired is the package name. Given a directory, | |||
| 1302 | - | // packageDirToName then only parses one file in the package, | |||
| 1303 | - | // trusting that the files in the directory are consistent. | |||
| 1304 | - | func packageDirToName(dir string) (packageName string, err error) { | |||
| 1305 | - | d, err := os.Open(dir) | |||
| 1306 | - | if err != nil { | |||
| 1307 | - | return "", err | |||
| 1308 | - | } | |||
| 1309 | - | names, err := d.Readdirnames(-1) | |||
| 1310 | - | d.Close() | |||
| 1311 | - | if err != nil { | |||
| 1312 | - | return "", err | |||
| 1313 | - | } | |||
| 1314 | - | sort.Strings(names) // to have predictable behavior | |||
| 1315 | - | var lastErr error | |||
| 1316 | - | var nfile int | |||
| 1317 | - | for _, name := range names { | |||
| 1318 | - | if !strings.HasSuffix(name, ".go") { | |||
| 1319 | - | continue | |||
| 1320 | - | } | |||
| 1321 | - | if strings.HasSuffix(name, "_test.go") { | |||
| 1322 | - | continue | |||
| 1323 | - | } | |||
| 1324 | - | nfile++ | |||
| 1325 | - | fullFile := filepath.Join(dir, name) | |||
| 1326 | - | ||||
| 1327 | - | fset := token.NewFileSet() | |||
| 1328 | - | f, err := parser.ParseFile(fset, fullFile, nil, parser.PackageClauseOnly) | |||
| 1329 | - | if err != nil { | |||
| 1330 | - | lastErr = err | |||
| 1331 | - | continue | |||
| 1332 | - | } | |||
| 1333 | - | pkgName := f.Name.Name | |||
| 1334 | - | if pkgName == "documentation" { | |||
| 1335 | - | // Special case from go/build.ImportDir, not | |||
| 1336 | - | // handled by ctx.MatchFile. | |||
| 1337 | - | continue | |||
| 1338 | - | } | |||
| 1339 | - | if pkgName == "main" { | |||
| 1340 | - | // Also skip package main, assuming it's a +build ignore generator or example. | |||
| 1341 | - | // Since you can't import a package main anyway, there's no harm here. | |||
| 1342 | - | continue | |||
| 1343 | - | } | |||
| 1344 | - | return pkgName, nil | |||
| 1345 | - | } | |||
| 1346 | - | if lastErr != nil { | |||
| 1347 | - | return "", lastErr | |||
| 1348 | - | } | |||
| 1349 | - | return "", fmt.Errorf("no importable package found in %d Go files", nfile) | |||
| 1350 | - | } | |||
| 1351 | - | ||||
| 1352 | - | type pkg struct { | |||
| 1353 | - | dir string // absolute file path to pkg directory ("/usr/lib/go/src/net/http") | |||
| 1354 | - | importPathShort string // vendorless import path ("net/http", "a/b") | |||
| 1355 | - | packageName string // package name loaded from source if requested | |||
| 1356 | - | relevance float64 // a weakly-defined score of how relevant a package is. 0 is most relevant. | |||
| 1357 | - | } | |||
| 1358 | - | ||||
| 1359 | - | type pkgDistance struct { | |||
| 1360 | - | pkg *pkg | |||
| 1361 | - | distance int // relative distance to target | |||
| 1362 | - | } | |||
| 1363 | - | ||||
| 1364 | - | // byDistanceOrImportPathShortLength sorts by relative distance breaking ties | |||
| 1365 | - | // on the short import path length and then the import string itself. | |||
| 1366 | - | type byDistanceOrImportPathShortLength []pkgDistance | |||
| 1367 | - | ||||
| 1368 | - | func (s byDistanceOrImportPathShortLength) Len() int { return len(s) } | |||
| 1369 | - | func (s byDistanceOrImportPathShortLength) Less(i, j int) bool { | |||
| 1370 | - | di, dj := s[i].distance, s[j].distance | |||
| 1371 | - | if di == -1 { | |||
| 1372 | - | return false | |||
| 1373 | - | } | |||
| 1374 | - | if dj == -1 { | |||
| 1375 | - | return true | |||
| 1376 | - | } | |||
| 1377 | - | if di != dj { | |||
| 1378 | - | return di < dj | |||
| 1379 | - | } | |||
| 1380 | - | ||||
| 1381 | - | vi, vj := s[i].pkg.importPathShort, s[j].pkg.importPathShort | |||
| 1382 | - | if len(vi) != len(vj) { | |||
| 1383 | - | return len(vi) < len(vj) | |||
| 1384 | - | } | |||
| 1385 | - | return vi < vj | |||
| 1386 | - | } | |||
| 1387 | - | func (s byDistanceOrImportPathShortLength) Swap(i, j int) { s[i], s[j] = s[j], s[i] } | |||
| 1388 | - | ||||
| 1389 | - | func distance(basepath, targetpath string) int { | |||
| 1390 | - | p, err := filepath.Rel(basepath, targetpath) | |||
| 1391 | - | if err != nil { | |||
| 1392 | - | return -1 | |||
| 1393 | - | } | |||
| 1394 | - | if p == "." { | |||
| 1395 | - | return 0 | |||
| 1396 | - | } | |||
| 1397 | - | return strings.Count(p, string(filepath.Separator)) + 1 | |||
| 1398 | - | } | |||
| 1399 | - | ||||
| 1400 | - | func (r *gopathResolver) scan(ctx context.Context, callback *scanCallback) error { | |||
| 1401 | - | add := func(root gopathwalk.Root, dir string) { | |||
| 1402 | - | // We assume cached directories have not changed. We can skip them and their | |||
| 1403 | - | // children. | |||
| 1404 | - | if _, ok := r.cache.Load(dir); ok { | |||
| 1405 | - | return | |||
| 1406 | - | } | |||
| 1407 | - | ||||
| 1408 | - | importpath := filepath.ToSlash(dir[len(root.Path)+len("/"):]) | |||
| 1409 | - | info := directoryPackageInfo{ | |||
| 1410 | - | status: directoryScanned, | |||
| 1411 | - | dir: dir, | |||
| 1412 | - | rootType: root.Type, | |||
| 1413 | - | nonCanonicalImportPath: VendorlessPath(importpath), | |||
| 1414 | - | } | |||
| 1415 | - | r.cache.Store(dir, info) | |||
| 1416 | - | } | |||
| 1417 | - | processDir := func(info directoryPackageInfo) { | |||
| 1418 | - | // Skip this directory if we were not able to get the package information successfully. | |||
| 1419 | - | if scanned, err := info.reachedStatus(directoryScanned); !scanned || err != nil { | |||
| 1420 | - | return | |||
| 1421 | - | } | |||
| 1422 | - | ||||
| 1423 | - | p := &pkg{ | |||
| 1424 | - | importPathShort: info.nonCanonicalImportPath, | |||
| 1425 | - | dir: info.dir, | |||
| 1426 | - | relevance: MaxRelevance - 1, | |||
| 1427 | - | } | |||
| 1428 | - | if info.rootType == gopathwalk.RootGOROOT { | |||
| 1429 | - | p.relevance = MaxRelevance | |||
| 1430 | - | } | |||
| 1431 | - | ||||
| 1432 | - | if !callback.dirFound(p) { | |||
| 1433 | - | return | |||
| 1434 | - | } | |||
| 1435 | - | var err error | |||
| 1436 | - | p.packageName, err = r.cache.CachePackageName(info) | |||
| 1437 | - | if err != nil { | |||
| 1438 | - | return | |||
| 1439 | - | } | |||
| 1440 | - | ||||
| 1441 | - | if !callback.packageNameLoaded(p) { | |||
| 1442 | - | return | |||
| 1443 | - | } | |||
| 1444 | - | if _, exports, err := r.loadExports(ctx, p, false); err == nil { | |||
| 1445 | - | callback.exportsLoaded(p, exports) | |||
| 1446 | - | } | |||
| 1447 | - | } | |||
| 1448 | - | stop := r.cache.ScanAndListen(ctx, processDir) | |||
| 1449 | - | defer stop() | |||
| 1450 | - | ||||
| 1451 | - | goenv, err := r.env.goEnv() | |||
| 1452 | - | if err != nil { | |||
| 1453 | - | return err | |||
| 1454 | - | } | |||
| 1455 | - | var roots []gopathwalk.Root | |||
| 1456 | - | roots = append(roots, gopathwalk.Root{Path: filepath.Join(goenv["GOROOT"], "src"), Type: gopathwalk.RootGOROOT}) | |||
| 1457 | - | for _, p := range filepath.SplitList(goenv["GOPATH"]) { | |||
| 1458 | - | roots = append(roots, gopathwalk.Root{Path: filepath.Join(p, "src"), Type: gopathwalk.RootGOPATH}) | |||
| 1459 | - | } | |||
| 1460 | - | // The callback is not necessarily safe to use in the goroutine below. Process roots eagerly. | |||
| 1461 | - | roots = filterRoots(roots, callback.rootFound) | |||
| 1462 | - | // We can't cancel walks, because we need them to finish to have a usable | |||
| 1463 | - | // cache. Instead, run them in a separate goroutine and detach. | |||
| 1464 | - | scanDone := make(chan struct{}) | |||
| 1465 | - | go func() { | |||
| 1466 | - | select { | |||
| 1467 | - | case <-ctx.Done(): | |||
| 1468 | - | return | |||
| 1469 | - | case <-r.scanSema: | |||
| 1470 | - | } | |||
| 1471 | - | defer func() { r.scanSema <- struct{}{} }() | |||
| 1472 | - | gopathwalk.Walk(roots, add, gopathwalk.Options{Logf: r.env.Logf, ModulesEnabled: false}) | |||
| 1473 | - | close(scanDone) | |||
| 1474 | - | }() | |||
| 1475 | - | select { | |||
| 1476 | - | case <-ctx.Done(): | |||
| 1477 | - | case <-scanDone: | |||
| 1478 | - | } | |||
| 1479 | - | return nil | |||
| 1480 | - | } | |||
| 1481 | - | ||||
| 1482 | - | func (r *gopathResolver) scoreImportPath(ctx context.Context, path string) float64 { | |||
| 1483 | - | if stdlib.HasPackage(path) { | |||
| 1484 | - | return MaxRelevance | |||
| 1485 | - | } | |||
| 1486 | - | return MaxRelevance - 1 | |||
| 1487 | - | } | |||
| 1488 | - | ||||
| 1489 | - | func filterRoots(roots []gopathwalk.Root, include func(gopathwalk.Root) bool) []gopathwalk.Root { | |||
| 1490 | - | var result []gopathwalk.Root | |||
| 1491 | - | for _, root := range roots { | |||
| 1492 | - | if !include(root) { | |||
| 1493 | - | continue | |||
| 1494 | - | } | |||
| 1495 | - | result = append(result, root) | |||
| 1496 | - | } | |||
| 1497 | - | return result | |||
| 1498 | - | } | |||
| 1499 | - | ||||
| 1500 | - | func (r *gopathResolver) loadExports(ctx context.Context, pkg *pkg, includeTest bool) (string, []stdlib.Symbol, error) { | |||
| 1501 | - | if info, ok := r.cache.Load(pkg.dir); ok && !includeTest { | |||
| 1502 | - | return r.cache.CacheExports(ctx, r.env, info) | |||
| 1503 | - | } | |||
| 1504 | - | return loadExportsFromFiles(ctx, r.env, pkg.dir, includeTest) | |||
| 1505 | - | } | |||
| 1506 | - | ||||
| 1507 | - | // VendorlessPath returns the devendorized version of the import path ipath. | |||
| 1508 | - | // For example, VendorlessPath("foo/bar/vendor/a/b") returns "a/b". | |||
| 1509 | - | func VendorlessPath(ipath string) string { | |||
| 1510 | - | // Devendorize for use in import statement. | |||
| 1511 | - | if i := strings.LastIndex(ipath, "/vendor/"); i >= 0 { | |||
| 1512 | - | return ipath[i+len("/vendor/"):] | |||
| 1513 | - | } | |||
| 1514 | - | if strings.HasPrefix(ipath, "vendor/") { | |||
| 1515 | - | return ipath[len("vendor/"):] | |||
| 1516 | - | } | |||
| 1517 | - | return ipath | |||
| 1518 | - | } | |||
| 1519 | - | ||||
| 1520 | - | func loadExportsFromFiles(ctx context.Context, env *ProcessEnv, dir string, includeTest bool) (string, []stdlib.Symbol, error) { | |||
| 1521 | - | // Look for non-test, buildable .go files which could provide exports. | |||
| 1522 | - | all, err := os.ReadDir(dir) | |||
| 1523 | - | if err != nil { | |||
| 1524 | - | return "", nil, err | |||
| 1525 | - | } | |||
| 1526 | - | var files []fs.DirEntry | |||
| 1527 | - | for _, fi := range all { | |||
| 1528 | - | name := fi.Name() | |||
| 1529 | - | if !strings.HasSuffix(name, ".go") || (!includeTest && strings.HasSuffix(name, "_test.go")) { | |||
| 1530 | - | continue | |||
| 1531 | - | } | |||
| 1532 | - | match, err := env.matchFile(dir, fi.Name()) | |||
| 1533 | - | if err != nil || !match { | |||
| 1534 | - | continue | |||
| 1535 | - | } | |||
| 1536 | - | files = append(files, fi) | |||
| 1537 | - | } | |||
| 1538 | - | ||||
| 1539 | - | if len(files) == 0 { | |||
| 1540 | - | return "", nil, fmt.Errorf("dir %v contains no buildable, non-test .go files", dir) | |||
| 1541 | - | } | |||
| 1542 | - | ||||
| 1543 | - | var pkgName string | |||
| 1544 | - | var exports []stdlib.Symbol | |||
| 1545 | - | fset := token.NewFileSet() | |||
| 1546 | - | for _, fi := range files { | |||
| 1547 | - | select { | |||
| 1548 | - | case <-ctx.Done(): | |||
| 1549 | - | return "", nil, ctx.Err() | |||
| 1550 | - | default: | |||
| 1551 | - | } | |||
| 1552 | - | ||||
| 1553 | - | fullFile := filepath.Join(dir, fi.Name()) | |||
| 1554 | - | // Legacy ast.Object resolution is needed here. | |||
| 1555 | - | f, err := parser.ParseFile(fset, fullFile, nil, 0) | |||
| 1556 | - | if err != nil { | |||
| 1557 | - | env.logf("error parsing %v: %v", fullFile, err) | |||
| 1558 | - | continue | |||
| 1559 | - | } | |||
| 1560 | - | if f.Name.Name == "documentation" { | |||
| 1561 | - | // Special case from go/build.ImportDir, not | |||
| 1562 | - | // handled by MatchFile above. | |||
| 1563 | - | continue | |||
| 1564 | - | } | |||
| 1565 | - | if includeTest && strings.HasSuffix(f.Name.Name, "_test") { | |||
| 1566 | - | // x_test package. We want internal test files only. | |||
| 1567 | - | continue | |||
| 1568 | - | } | |||
| 1569 | - | pkgName = f.Name.Name | |||
| 1570 | - | for name, obj := range f.Scope.Objects { | |||
| 1571 | - | if ast.IsExported(name) { | |||
| 1572 | - | var kind stdlib.Kind | |||
| 1573 | - | switch obj.Kind { | |||
| 1574 | - | case ast.Con: | |||
| 1575 | - | kind = stdlib.Const | |||
| 1576 | - | case ast.Typ: | |||
| 1577 | - | kind = stdlib.Type | |||
| 1578 | - | case ast.Var: | |||
| 1579 | - | kind = stdlib.Var | |||
| 1580 | - | case ast.Fun: | |||
| 1581 | - | kind = stdlib.Func | |||
| 1582 | - | } | |||
| 1583 | - | exports = append(exports, stdlib.Symbol{ | |||
| 1584 | - | Name: name, | |||
| 1585 | - | Kind: kind, | |||
| 1586 | - | Version: 0, // unknown; be permissive | |||
| 1587 | - | }) | |||
| 1588 | - | } | |||
| 1589 | - | } | |||
| 1590 | - | } | |||
| 1591 | - | sortSymbols(exports) | |||
| 1592 | - | ||||
| 1593 | - | env.logf("loaded exports in dir %v (package %v): %v", dir, pkgName, exports) | |||
| 1594 | - | return pkgName, exports, nil | |||
| 1595 | - | } | |||
| 1596 | - | ||||
| 1597 | - | func sortSymbols(syms []stdlib.Symbol) { | |||
| 1598 | - | sort.Slice(syms, func(i, j int) bool { | |||
| 1599 | - | return syms[i].Name < syms[j].Name | |||
| 1600 | - | }) | |||
| 1601 | - | } | |||
| 1602 | - | ||||
| 1603 | - | // A symbolSearcher searches for a package with a set of symbols, among a set | |||
| 1604 | - | // of candidates. See [symbolSearcher.search]. | |||
| 1605 | - | // | |||
| 1606 | - | // The search occurs within the scope of a single file, with context captured | |||
| 1607 | - | // in srcDir and xtest. | |||
| 1608 | - | type symbolSearcher struct { | |||
| 1609 | - | logf func(string, ...any) | |||
| 1610 | - | srcDir string // directory containing the file | |||
| 1611 | - | xtest bool // if set, the file containing is an x_test file | |||
| 1612 | - | loadExports func(ctx context.Context, pkg *pkg, includeTest bool) (string, []stdlib.Symbol, error) | |||
| 1613 | - | } | |||
| 1614 | - | ||||
| 1615 | - | // search searches the provided candidates for a package containing all | |||
| 1616 | - | // exported symbols. | |||
| 1617 | - | // | |||
| 1618 | - | // If successful, returns the resulting package. | |||
| 1619 | - | func (s *symbolSearcher) search(ctx context.Context, candidates []pkgDistance, pkgName string, symbols map[string]bool) (*pkg, error) { | |||
| 1620 | - | // Sort the candidates by their import package length, | |||
| 1621 | - | // assuming that shorter package names are better than long | |||
| 1622 | - | // ones. Note that this sorts by the de-vendored name, so | |||
| 1623 | - | // there's no "penalty" for vendoring. | |||
| 1624 | - | sort.Sort(byDistanceOrImportPathShortLength(candidates)) | |||
| 1625 | - | if s.logf != nil { | |||
| 1626 | - | for i, c := range candidates { | |||
| 1627 | - | s.logf("%s candidate %d/%d: %v in %v", pkgName, i+1, len(candidates), c.pkg.importPathShort, c.pkg.dir) | |||
| 1628 | - | } | |||
| 1629 | - | } | |||
| 1630 | - | ||||
| 1631 | - | // Arrange rescv so that we can we can await results in order of relevance | |||
| 1632 | - | // and exit as soon as we find the first match. | |||
| 1633 | - | // | |||
| 1634 | - | // Search with bounded concurrency, returning as soon as the first result | |||
| 1635 | - | // among rescv is non-nil. | |||
| 1636 | - | rescv := make([]chan *pkg, len(candidates)) | |||
| 1637 | - | for i := range candidates { | |||
| 1638 | - | rescv[i] = make(chan *pkg, 1) | |||
| 1639 | - | } | |||
| 1640 | - | const maxConcurrentPackageImport = 4 | |||
| 1641 | - | loadExportsSem := make(chan struct{}, maxConcurrentPackageImport) | |||
| 1642 | - | ||||
| 1643 | - | // Ensure that all work is completed at exit. | |||
| 1644 | - | ctx, cancel := context.WithCancel(ctx) | |||
| 1645 | - | var wg sync.WaitGroup | |||
| 1646 | - | defer func() { | |||
| 1647 | - | cancel() | |||
| 1648 | - | wg.Wait() | |||
| 1649 | - | }() | |||
| 1650 | - | ||||
| 1651 | - | // Start the search. | |||
| 1652 | - | wg.Go(func() { | |||
| 1653 | - | for i, c := range candidates { | |||
| 1654 | - | select { | |||
| 1655 | - | case loadExportsSem <- struct{}{}: | |||
| 1656 | - | case <-ctx.Done(): | |||
| 1657 | - | return | |||
| 1658 | - | } | |||
| 1659 | - | ||||
| 1660 | - | i := i | |||
| 1661 | - | c := c | |||
| 1662 | - | wg.Add(1) | |||
| 1663 | - | go func() { | |||
| 1664 | - | defer func() { | |||
| 1665 | - | <-loadExportsSem | |||
| 1666 | - | wg.Done() | |||
| 1667 | - | }() | |||
| 1668 | - | if s.logf != nil { | |||
| 1669 | - | s.logf("loading exports in dir %s (seeking package %s)", c.pkg.dir, pkgName) | |||
| 1670 | - | } | |||
| 1671 | - | pkg, err := s.searchOne(ctx, c, symbols) | |||
| 1672 | - | if err != nil { | |||
| 1673 | - | if s.logf != nil && ctx.Err() == nil { | |||
| 1674 | - | s.logf("loading exports in dir %s (seeking package %s): %v", c.pkg.dir, pkgName, err) | |||
| 1675 | - | } | |||
| 1676 | - | pkg = nil | |||
| 1677 | - | } | |||
| 1678 | - | rescv[i] <- pkg // may be nil | |||
| 1679 | - | }() | |||
| 1680 | - | } | |||
| 1681 | - | }) | |||
| 1682 | - | ||||
| 1683 | - | // Await the first (best) result. | |||
| 1684 | - | for _, resc := range rescv { | |||
| 1685 | - | select { | |||
| 1686 | - | case r := <-resc: | |||
| 1687 | - | if r != nil { | |||
| 1688 | - | return r, nil | |||
| 1689 | - | } | |||
| 1690 | - | case <-ctx.Done(): | |||
| 1691 | - | return nil, ctx.Err() | |||
| 1692 | - | } | |||
| 1693 | - | } | |||
| 1694 | - | return nil, nil | |||
| 1695 | - | } | |||
| 1696 | - | ||||
| 1697 | - | func (s *symbolSearcher) searchOne(ctx context.Context, c pkgDistance, symbols map[string]bool) (*pkg, error) { | |||
| 1698 | - | if ctx.Err() != nil { | |||
| 1699 | - | return nil, ctx.Err() | |||
| 1700 | - | } | |||
| 1701 | - | // If we're considering the package under test from an x_test, load the | |||
| 1702 | - | // test variant. | |||
| 1703 | - | includeTest := s.xtest && c.pkg.dir == s.srcDir | |||
| 1704 | - | _, exports, err := s.loadExports(ctx, c.pkg, includeTest) | |||
| 1705 | - | if err != nil { | |||
| 1706 | - | return nil, err | |||
| 1707 | - | } | |||
| 1708 | - | ||||
| 1709 | - | exportsMap := make(map[string]bool, len(exports)) | |||
| 1710 | - | for _, sym := range exports { | |||
| 1711 | - | exportsMap[sym.Name] = true | |||
| 1712 | - | } | |||
| 1713 | - | for symbol := range symbols { | |||
| 1714 | - | if !exportsMap[symbol] { | |||
| 1715 | - | return nil, nil // no match | |||
| 1716 | - | } | |||
| 1717 | - | } | |||
| 1718 | - | return c.pkg, nil | |||
| 1719 | - | } | |||
| 1720 | - | ||||
| 1721 | - | // pkgIsCandidate reports whether pkg is a candidate for satisfying the | |||
| 1722 | - | // finding which package pkgIdent in the file named by filename is trying | |||
| 1723 | - | // to refer to. | |||
| 1724 | - | // | |||
| 1725 | - | // This check is purely lexical and is meant to be as fast as possible | |||
| 1726 | - | // because it's run over all $GOPATH directories to filter out poor | |||
| 1727 | - | // candidates in order to limit the CPU and I/O later parsing the | |||
| 1728 | - | // exports in candidate packages. | |||
| 1729 | - | // | |||
| 1730 | - | // filename is the file being formatted. | |||
| 1731 | - | // pkgIdent is the package being searched for, like "client" (if | |||
| 1732 | - | // searching for "client.New") | |||
| 1733 | - | func pkgIsCandidate(filename string, refs References, pkg *pkg) bool { | |||
| 1734 | - | // Check "internal" and "vendor" visibility: | |||
| 1735 | - | if !CanUse(filename, pkg.dir) { | |||
| 1736 | - | return false | |||
| 1737 | - | } | |||
| 1738 | - | ||||
| 1739 | - | // Speed optimization to minimize disk I/O: | |||
| 1740 | - | // | |||
| 1741 | - | // Use the matchesPath heuristic to filter to package paths that could | |||
| 1742 | - | // reasonably match a dangling reference. | |||
| 1743 | - | // | |||
| 1744 | - | // This permits mismatch naming like directory "go-foo" being package "foo", | |||
| 1745 | - | // or "pkg.v3" being "pkg", or directory | |||
| 1746 | - | // "google.golang.org/api/cloudbilling/v1" being package "cloudbilling", but | |||
| 1747 | - | // doesn't permit a directory "foo" to be package "bar", which is strongly | |||
| 1748 | - | // discouraged anyway. There's no reason goimports needs to be slow just to | |||
| 1749 | - | // accommodate that. | |||
| 1750 | - | for pkgIdent := range refs { | |||
| 1751 | - | if matchesPath(pkgIdent, pkg.importPathShort) { | |||
| 1752 | - | return true | |||
| 1753 | - | } | |||
| 1754 | - | } | |||
| 1755 | - | return false | |||
| 1756 | - | } | |||
| 1757 | - | ||||
| 1758 | - | // CanUse reports whether the package in dir is usable from filename, | |||
| 1759 | - | // respecting the Go "internal" and "vendor" visibility rules. | |||
| 1760 | - | func CanUse(filename, dir string) bool { | |||
| 1761 | - | // Fast path check, before any allocations. If it doesn't contain vendor | |||
| 1762 | - | // or internal, it's not tricky: | |||
| 1763 | - | // Note that this can false-negative on directories like "notinternal", | |||
| 1764 | - | // but we check it correctly below. This is just a fast path. | |||
| 1765 | - | if !strings.Contains(dir, "vendor") && !strings.Contains(dir, "internal") { | |||
| 1766 | - | return true | |||
| 1767 | - | } | |||
| 1768 | - | ||||
| 1769 | - | dirSlash := filepath.ToSlash(dir) | |||
| 1770 | - | if !strings.Contains(dirSlash, "/vendor/") && !strings.Contains(dirSlash, "/internal/") && !strings.HasSuffix(dirSlash, "/internal") { | |||
| 1771 | - | return true | |||
| 1772 | - | } | |||
| 1773 | - | // Vendor or internal directory only visible from children of parent. | |||
| 1774 | - | // That means the path from the current directory to the target directory | |||
| 1775 | - | // can contain ../vendor or ../internal but not ../foo/vendor or ../foo/internal | |||
| 1776 | - | // or bar/vendor or bar/internal. | |||
| 1777 | - | // After stripping all the leading ../, the only okay place to see vendor or internal | |||
| 1778 | - | // is at the very beginning of the path. | |||
| 1779 | - | absfile, err := filepath.Abs(filename) | |||
| 1780 | - | if err != nil { | |||
| 1781 | - | return false | |||
| 1782 | - | } | |||
| 1783 | - | absdir, err := filepath.Abs(dir) | |||
| 1784 | - | if err != nil { | |||
| 1785 | - | return false | |||
| 1786 | - | } | |||
| 1787 | - | rel, err := filepath.Rel(absfile, absdir) | |||
| 1788 | - | if err != nil { | |||
| 1789 | - | return false | |||
| 1790 | - | } | |||
| 1791 | - | relSlash := filepath.ToSlash(rel) | |||
| 1792 | - | if i := strings.LastIndex(relSlash, "../"); i >= 0 { | |||
| 1793 | - | relSlash = relSlash[i+len("../"):] | |||
| 1794 | - | } | |||
| 1795 | - | return !strings.Contains(relSlash, "/vendor/") && !strings.Contains(relSlash, "/internal/") && !strings.HasSuffix(relSlash, "/internal") | |||
| 1796 | - | } | |||
| 1797 | - | ||||
| 1798 | - | // matchesPath reports whether ident may match a potential package name | |||
| 1799 | - | // referred to by path, using heuristics to filter out unidiomatic package | |||
| 1800 | - | // names. | |||
| 1801 | - | // | |||
| 1802 | - | // Specifically, it checks whether either of the last two '/'- or '\'-delimited | |||
| 1803 | - | // path segments matches the identifier. The segment-matching heuristic must | |||
| 1804 | - | // allow for various conventions around segment naming, including go-foo, | |||
| 1805 | - | // foo-go, and foo.v3. To handle all of these, matching considers both (1) the | |||
| 1806 | - | // entire segment, ignoring '-' and '.', as well as (2) the last subsegment | |||
| 1807 | - | // separated by '-' or '.'. So the segment foo-go matches all of the following | |||
| 1808 | - | // identifiers: foo, go, and foogo. All matches are case insensitive (for ASCII | |||
| 1809 | - | // identifiers). | |||
| 1810 | - | // | |||
| 1811 | - | // See the docstring for [pkgIsCandidate] for an explanation of how this | |||
| 1812 | - | // heuristic filters potential candidate packages. | |||
| 1813 | - | func matchesPath(ident, path string) bool { | |||
| 1814 | - | // Ignore case, for ASCII. | |||
| 1815 | - | lowerIfASCII := func(b byte) byte { | |||
| 1816 | - | if 'A' <= b && b <= 'Z' { | |||
| 1817 | - | return b + ('a' - 'A') | |||
| 1818 | - | } | |||
| 1819 | - | return b | |||
| 1820 | - | } | |||
| 1821 | - | ||||
| 1822 | - | // match reports whether path[start:end] matches ident, ignoring [.-]. | |||
| 1823 | - | match := func(start, end int) bool { | |||
| 1824 | - | ii := len(ident) - 1 // current byte in ident | |||
| 1825 | - | pi := end - 1 // current byte in path | |||
| 1826 | - | for ; pi >= start && ii >= 0; pi-- { | |||
| 1827 | - | pb := path[pi] | |||
| 1828 | - | if pb == '-' || pb == '.' { | |||
| 1829 | - | continue | |||
| 1830 | - | } | |||
| 1831 | - | pb = lowerIfASCII(pb) | |||
| 1832 | - | ib := lowerIfASCII(ident[ii]) | |||
| 1833 | - | if pb != ib { | |||
| 1834 | - | return false | |||
| 1835 | - | } | |||
| 1836 | - | ii-- | |||
| 1837 | - | } | |||
| 1838 | - | return ii < 0 && pi < start // all bytes matched | |||
| 1839 | - | } | |||
| 1840 | - | ||||
| 1841 | - | // segmentEnd and subsegmentEnd hold the end points of the current segment | |||
| 1842 | - | // and subsegment intervals. | |||
| 1843 | - | segmentEnd := len(path) | |||
| 1844 | - | subsegmentEnd := len(path) | |||
| 1845 | - | ||||
| 1846 | - | // Count slashes; we only care about the last two segments. | |||
| 1847 | - | nslash := 0 | |||
| 1848 | - | ||||
| 1849 | - | for i := len(path) - 1; i >= 0; i-- { | |||
| 1850 | - | switch b := path[i]; b { | |||
| 1851 | - | // TODO(rfindley): we handle backlashes here only because the previous | |||
| 1852 | - | // heuristic handled backslashes. This is perhaps overly defensive, but is | |||
| 1853 | - | // the result of many lessons regarding Chesterton's fence and the | |||
| 1854 | - | // goimports codebase. | |||
| 1855 | - | // | |||
| 1856 | - | // However, this function is only ever called with something called an | |||
| 1857 | - | // 'importPath'. Is it possible that this is a real import path, and | |||
| 1858 | - | // therefore we need only consider forward slashes? | |||
| 1859 | - | case '/', '\\': | |||
| 1860 | - | if match(i+1, segmentEnd) || match(i+1, subsegmentEnd) { | |||
| 1861 | - | return true | |||
| 1862 | - | } | |||
| 1863 | - | nslash++ | |||
| 1864 | - | if nslash == 2 { | |||
| 1865 | - | return false // did not match above | |||
| 1866 | - | } | |||
| 1867 | - | segmentEnd, subsegmentEnd = i, i // reset | |||
| 1868 | - | case '-', '.': | |||
| 1869 | - | if match(i+1, subsegmentEnd) { | |||
| 1870 | - | return true | |||
| 1871 | - | } | |||
| 1872 | - | subsegmentEnd = i | |||
| 1873 | - | } | |||
| 1874 | - | } | |||
| 1875 | - | return match(0, segmentEnd) || match(0, subsegmentEnd) | |||
| 1876 | - | } | |||
| 1877 | - | ||||
| 1878 | - | type visitFn func(node ast.Node) ast.Visitor | |||
| 1879 | - | ||||
| 1880 | - | func (fn visitFn) Visit(node ast.Node) ast.Visitor { | |||
| 1881 | - | return fn(node) | |||
| 1882 | - | } | |||
| 1883 | - | ||||
| 1884 | - | func symbolNameSet(symbols []stdlib.Symbol) map[string]bool { | |||
| 1885 | - | names := make(map[string]bool) | |||
| 1886 | - | for _, sym := range symbols { | |||
| 1887 | - | switch sym.Kind { | |||
| 1888 | - | case stdlib.Const, stdlib.Var, stdlib.Type, stdlib.Func: | |||
| 1889 | - | names[sym.Name] = true | |||
| 1890 | - | } | |||
| 1891 | - | } | |||
| 1892 | - | return names | |||
| 1893 | - | } | |||