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
| @@ -1,1697 +0,0 @@ | |||
| 1 | - | package toml | |
| 2 | - | ||
| 3 | - | import ( | |
| 4 | - | "bytes" | |
| 5 | - | "encoding" | |
| 6 | - | "encoding/json" | |
| 7 | - | "errors" | |
| 8 | - | "fmt" | |
| 9 | - | "io" | |
| 10 | - | "math" | |
| 11 | - | "reflect" | |
| 12 | - | "slices" | |
| 13 | - | "strconv" | |
| 14 | - | "strings" | |
| 15 | - | "sync" | |
| 16 | - | "time" | |
| 17 | - | "unicode/utf8" | |
| 18 | - | ||
| 19 | - | "github.com/pelletier/go-toml/v2/internal/parserbridge" | |
| 20 | - | "github.com/pelletier/go-toml/v2/unstable" | |
| 21 | - | ) | |
| 22 | - | ||
| 23 | - | // Marshal serializes a Go value as a TOML document. | |
| 24 | - | // | |
| 25 | - | // It is a shortcut for Encoder.Encode() with the default options. | |
| 26 | - | func Marshal(v interface{}) ([]byte, error) { | |
| 27 | - | enc := Encoder{indentSymbol: " "} | |
| 28 | - | ||
| 29 | - | e := encoderStatePool.Get().(*encoderState) | |
| 30 | - | e.Encoder = &enc | |
| 31 | - | e.marshalerOn = enc.marshalerInterface | |
| 32 | - | e.buf = e.buf[:0] | |
| 33 | - | e.keyStack = e.keyStack[:0] | |
| 34 | - | e.lastWasHeader = false | |
| 35 | - | ||
| 36 | - | err := e.encodeRoot(v) | |
| 37 | - | if err != nil { | |
| 38 | - | encoderStatePool.Put(e) | |
| 39 | - | return nil, err | |
| 40 | - | } | |
| 41 | - | ||
| 42 | - | out := make([]byte, len(e.buf)) | |
| 43 | - | copy(out, e.buf) | |
| 44 | - | encoderStatePool.Put(e) | |
| 45 | - | return out, nil | |
| 46 | - | } | |
| 47 | - | ||
| 48 | - | // Encoder writes a TOML document to an output stream. | |
| 49 | - | type Encoder struct { | |
| 50 | - | // output | |
| 51 | - | w io.Writer | |
| 52 | - | ||
| 53 | - | // global settings | |
| 54 | - | tablesInline bool | |
| 55 | - | arraysMultiline bool | |
| 56 | - | indentSymbol string | |
| 57 | - | indentTables bool | |
| 58 | - | marshalJSONNumbers bool | |
| 59 | - | ||
| 60 | - | // toggles the unstable.Marshaler interface | |
| 61 | - | marshalerInterface bool | |
| 62 | - | } | |
| 63 | - | ||
| 64 | - | // NewEncoder returns a new Encoder that writes to w. | |
| 65 | - | func NewEncoder(w io.Writer) *Encoder { | |
| 66 | - | return &Encoder{ | |
| 67 | - | w: w, | |
| 68 | - | indentSymbol: " ", | |
| 69 | - | } | |
| 70 | - | } | |
| 71 | - | ||
| 72 | - | // SetTablesInline forces the encoder to emit all tables inline. | |
| 73 | - | // | |
| 74 | - | // This behavior can be controlled on an individual struct field basis with | |
| 75 | - | // the inline tag: | |
| 76 | - | // | |
| 77 | - | // MyField `toml:",inline"` | |
| 78 | - | func (enc *Encoder) SetTablesInline(inline bool) *Encoder { | |
| 79 | - | enc.tablesInline = inline | |
| 80 | - | return enc | |
| 81 | - | } | |
| 82 | - | ||
| 83 | - | // SetArraysMultiline forces the encoder to emit all arrays with one element | |
| 84 | - | // per line. | |
| 85 | - | // | |
| 86 | - | // This behavior can be controlled on an individual struct field basis with | |
| 87 | - | // the multiline tag: | |
| 88 | - | // | |
| 89 | - | // MyField `multiline:"true"` | |
| 90 | - | func (enc *Encoder) SetArraysMultiline(multiline bool) *Encoder { | |
| 91 | - | enc.arraysMultiline = multiline | |
| 92 | - | return enc | |
| 93 | - | } | |
| 94 | - | ||
| 95 | - | // SetIndentSymbol defines the string that should be used for indentation. The | |
| 96 | - | // provided string is repeated for each indentation level. Defaults to two | |
| 97 | - | // spaces. | |
| 98 | - | func (enc *Encoder) SetIndentSymbol(s string) *Encoder { | |
| 99 | - | enc.indentSymbol = s | |
| 100 | - | return enc | |
| 101 | - | } | |
| 102 | - | ||
| 103 | - | // SetIndentTables forces the encoder to intent tables and array tables. | |
| 104 | - | func (enc *Encoder) SetIndentTables(indent bool) *Encoder { | |
| 105 | - | enc.indentTables = indent | |
| 106 | - | return enc | |
| 107 | - | } | |
| 108 | - | ||
| 109 | - | // SetMarshalJSONNumbers forces the encoder to serialize `json.Number` as a | |
| 110 | - | // float or integer instead of relying on TextMarshaler to emit a string. | |
| 111 | - | // | |
| 112 | - | // *Unstable:* This method does not follow the compatibility guarantees of | |
| 113 | - | // semver. It can be changed or removed without a new major version being | |
| 114 | - | // issued. | |
| 115 | - | func (enc *Encoder) SetMarshalJSONNumbers(indent bool) *Encoder { | |
| 116 | - | enc.marshalJSONNumbers = indent | |
| 117 | - | return enc | |
| 118 | - | } | |
| 119 | - | ||
| 120 | - | // EnableMarshalerInterface enables the unstable.Marshaler interface. | |
| 121 | - | // | |
| 122 | - | // With this feature enabled, types implementing the unstable.Marshaler | |
| 123 | - | // interface emit their own raw TOML instead of being encoded structurally. It | |
| 124 | - | // is the encoding counterpart of Decoder.EnableUnmarshalerInterface, and allows | |
| 125 | - | // types such as unstable.RawMessage to round-trip raw TOML bytes. | |
| 126 | - | // | |
| 127 | - | // The bytes returned by MarshalTOML are spliced into the document verbatim. The | |
| 128 | - | // encoder parses them to decide between the valid positions: | |
| 129 | - | // - bytes forming a single value are emitted inline, as in `key = <raw>`; | |
| 130 | - | // - bytes forming key-value lines are emitted as the body of a `[key]` table; | |
| 131 | - | // - at the document root, the bytes are emitted as the whole document: the | |
| 132 | - | // encode counterpart of the decoder delivering the whole document to a | |
| 133 | - | // root unstable.Unmarshaler. | |
| 134 | - | // | |
| 135 | - | // An empty result is omitted from the output. Bytes that are not valid TOML | |
| 136 | - | // for their position result in an error, as do bytes forming table content in | |
| 137 | - | // a position where only a value is valid (an array element, an inline table, | |
| 138 | - | // or a table forced inline). MarshalTOML can be called more than once for the | |
| 139 | - | // same value during a single encode, so it must be deterministic. | |
| 140 | - | // | |
| 141 | - | // *Unstable:* This method does not follow the compatibility guarantees of | |
| 142 | - | // semver. It can be changed or removed without a new major version being | |
| 143 | - | // issued. | |
| 144 | - | func (enc *Encoder) EnableMarshalerInterface() *Encoder { | |
| 145 | - | enc.marshalerInterface = true | |
| 146 | - | return enc | |
| 147 | - | } | |
| 148 | - | ||
| 149 | - | // Encode writes a TOML representation of v to the stream. | |
| 150 | - | // | |
| 151 | - | // If v cannot be represented to TOML it returns an error. | |
| 152 | - | // | |
| 153 | - | // # Encoding rules | |
| 154 | - | // | |
| 155 | - | // A top level slice containing only maps or structs is encoded as [[table | |
| 156 | - | // array]]. | |
| 157 | - | // | |
| 158 | - | // All slices not matching rule 1 are encoded as [array]. As a result, any map | |
| 159 | - | // or struct they contain is encoded as an {inline table}. | |
| 160 | - | // | |
| 161 | - | // Nil interfaces and nil pointers are not supported. | |
| 162 | - | // | |
| 163 | - | // Keys in key-values always have one part. | |
| 164 | - | // | |
| 165 | - | // Intermediate tables are always printed. | |
| 166 | - | // | |
| 167 | - | // By default, strings are encoded as literal string, unless they contain | |
| 168 | - | // either a newline character or a single quote. In that case they are emitted | |
| 169 | - | // as quoted strings. | |
| 170 | - | // | |
| 171 | - | // Unsigned integers larger than math.MaxInt64 cannot be encoded. Doing so | |
| 172 | - | // results in an error. This rule exists because the TOML specification only | |
| 173 | - | // requires parsers to support at least the 64 bits integer range. Allowing | |
| 174 | - | // larger numbers would create non-standard TOML documents, which may not be | |
| 175 | - | // readable (at best) by other implementations. To encode such numbers, a | |
| 176 | - | // solution is a custom type that implements encoding.TextMarshaler. | |
| 177 | - | // | |
| 178 | - | // When encoding structs, fields are encoded in order of definition, with | |
| 179 | - | // their exact name. | |
| 180 | - | // | |
| 181 | - | // Tables and array tables are separated by empty lines. However, consecutive | |
| 182 | - | // subtables definitions are not. For example: | |
| 183 | - | // | |
| 184 | - | // [top1] | |
| 185 | - | // | |
| 186 | - | // [top2] | |
| 187 | - | // [top2.child1] | |
| 188 | - | // | |
| 189 | - | // [[array]] | |
| 190 | - | // | |
| 191 | - | // [[array]] | |
| 192 | - | // [array.child2] | |
| 193 | - | // | |
| 194 | - | // # Struct tags | |
| 195 | - | // | |
| 196 | - | // The encoding of each public struct field can be customized by the format | |
| 197 | - | // string in the "toml" key of the struct field's tag. This follows | |
| 198 | - | // encoding/json's convention. The format string starts with the name of the | |
| 199 | - | // field, optionally followed by a comma-separated list of options. The name | |
| 200 | - | // may be empty in order to provide options without overriding the default | |
| 201 | - | // name. | |
| 202 | - | // | |
| 203 | - | // The "multiline" option emits strings as quoted multi-line TOML strings, and | |
| 204 | - | // arrays with one element per line. For strings, it only takes effect when the | |
| 205 | - | // value contains a newline; single-line values are emitted as regular strings. | |
| 206 | - | // It has no effect on fields that would not be encoded as strings or arrays. | |
| 207 | - | // | |
| 208 | - | // The "inline" option turns fields that would be emitted as tables into | |
| 209 | - | // inline tables instead. It has no effect on other fields. | |
| 210 | - | // | |
| 211 | - | // The "omitempty" option prevents empty values or groups from being emitted. | |
| 212 | - | // | |
| 213 | - | // The "omitzero" option prevents zero values or groups from being emitted. | |
| 214 | - | // | |
| 215 | - | // The "commented" option prefixes the value and all its children with a | |
| 216 | - | // comment symbol. | |
| 217 | - | // | |
| 218 | - | // In addition to the "toml" tag struct tag, a "comment" tag can be used to | |
| 219 | - | // emit a TOML comment before the value being annotated. Comments are ignored | |
| 220 | - | // inside inline tables. For array tables, the comment is only present before | |
| 221 | - | // the first element of the array. | |
| 222 | - | func (enc *Encoder) Encode(v interface{}) error { | |
| 223 | - | e := encoderStatePool.Get().(*encoderState) | |
| 224 | - | e.Encoder = enc | |
| 225 | - | e.marshalerOn = enc.marshalerInterface | |
| 226 | - | e.buf = e.buf[:0] | |
| 227 | - | e.keyStack = e.keyStack[:0] | |
| 228 | - | e.lastWasHeader = false | |
| 229 | - | ||
| 230 | - | err := e.encodeRoot(v) | |
| 231 | - | if err != nil { | |
| 232 | - | encoderStatePool.Put(e) | |
| 233 | - | return err | |
| 234 | - | } | |
| 235 | - | ||
| 236 | - | _, err = enc.w.Write(e.buf) | |
| 237 | - | encoderStatePool.Put(e) | |
| 238 | - | if err != nil { | |
| 239 | - | return fmt.Errorf("toml: cannot write: %w", err) | |
| 240 | - | } | |
| 241 | - | return nil | |
| 242 | - | } | |
| 243 | - | ||
| 244 | - | var encoderStatePool = sync.Pool{ | |
| 245 | - | New: func() interface{} { return &encoderState{} }, | |
| 246 | - | } | |
| 247 | - | ||
| 248 | - | type encoderState struct { | |
| 249 | - | *Encoder | |
| 250 | - | ||
| 251 | - | buf []byte | |
| 252 | - | ||
| 253 | - | // keyStack is the dotted key of the table being encoded, shared by the | |
| 254 | - | // whole encode as a stack. | |
| 255 | - | keyStack []string | |
| 256 | - | ||
| 257 | - | // entriesPool recycles entry slices across tables of the same encode. | |
| 258 | - | entriesPool [][]entry | |
| 259 | - | ||
| 260 | - | // lastWasHeader is true when the last line written was a table header, | |
| 261 | - | // used to avoid empty lines between consecutive table definitions. | |
| 262 | - | lastWasHeader bool | |
| 263 | - | ||
| 264 | - | // stringKeyBuf is a reusable buffer to read string map keys without | |
| 265 | - | // allocating one per map. | |
| 266 | - | stringKeyBuf reflect.Value | |
| 267 | - | ||
| 268 | - | // parser classifies the bytes returned by unstable.Marshaler values as a | |
| 269 | - | // single value or a table body. Only used when marshalerOn is set. | |
| 270 | - | parser unstable.Parser | |
| 271 | - | ||
| 272 | - | // marshalerOn mirrors Encoder.marshalerInterface, copied onto the state so | |
| 273 | - | // the per-value hot path checks a direct field instead of dereferencing the | |
| 274 | - | // embedded *Encoder on every value. | |
| 275 | - | marshalerOn bool | |
| 276 | - | } | |
| 277 | - | ||
| 278 | - | // valueOptions are the encoding options attached to one entry of a table. | |
| 279 | - | type valueOptions struct { | |
| 280 | - | multiline bool | |
| 281 | - | inline bool | |
| 282 | - | omitempty bool | |
| 283 | - | omitzero bool | |
| 284 | - | commented bool | |
| 285 | - | // rawShape is the unstable.Marshaler classification of the entry's value, | |
| 286 | - | // resolved at encode time (not from tags). It lives here, in the byte of | |
| 287 | - | // padding the booleans already leave, so that entry does not grow and the | |
| 288 | - | // encoder's default (interface-disabled) path keeps its exact layout and | |
| 289 | - | // performance. It stays shapeUnknown for everything that is not a Marshaler. | |
| 290 | - | rawShape rawShape | |
| 291 | - | comment string | |
| 292 | - | } | |
| 293 | - | ||
| 294 | - | // entry is a deferred key-value of a table being encoded. | |
| 295 | - | type entry struct { | |
| 296 | - | key string | |
| 297 | - | value reflect.Value | |
| 298 | - | options valueOptions | |
| 299 | - | } | |
| 300 | - | ||
| 301 | - | // rawShape classifies the bytes produced by an unstable.Marshaler. | |
| 302 | - | type rawShape uint8 | |
| 303 | - | ||
| 304 | - | const ( | |
| 305 | - | // shapeUnknown is the default: not an unstable.Marshaler, or the interface | |
| 306 | - | // is disabled. | |
| 307 | - | shapeUnknown rawShape = iota | |
| 308 | - | // shapeEmpty is whitespace-only content: it has no TOML representation and | |
| 309 | - | // is omitted from the output. | |
| 310 | - | shapeEmpty | |
| 311 | - | // shapeValue is a single TOML value, emitted inline as `key = <raw>`. | |
| 312 | - | shapeValue | |
| 313 | - | // shapeTable is one or more key-value lines, emitted as a `[key]` body. | |
| 314 | - | shapeTable | |
| 315 | - | ) | |
| 316 | - | ||
| 317 | - | func (e *encoderState) encodeRoot(v interface{}) error { | |
| 318 | - | if v == nil { | |
| 319 | - | return errors.New("toml: cannot encode a nil interface") | |
| 320 | - | } | |
| 321 | - | ||
| 322 | - | rv := reflect.ValueOf(v) | |
| 323 | - | rv, ok := resolve(rv) | |
| 324 | - | if !ok { | |
| 325 | - | return errors.New("toml: cannot encode a nil pointer") | |
| 326 | - | } | |
| 327 | - | ||
| 328 | - | if e.marshalerOn && encPropsForType(rv.Type()).marshaler != 0 { | |
| 329 | - | return e.encodeMarshalerRoot(rv) | |
| 330 | - | } | |
| 331 | - | ||
| 332 | - | switch rv.Kind() { | |
| 333 | - | case reflect.Map, reflect.Struct: | |
| 334 | - | if isValueKind(rv) { | |
| 335 | - | return fmt.Errorf("toml: cannot encode a %s as a document root", rv.Type()) | |
| 336 | - | } | |
| 337 | - | return e.encodeTable(rv, false, 0) | |
| 338 | - | default: | |
| 339 | - | return fmt.Errorf("toml: cannot encode a %s as a document root", rv.Type()) | |
| 340 | - | } | |
| 341 | - | } | |
| 342 | - | ||
| 343 | - | // encodeMarshalerRoot emits the bytes of a root-level unstable.Marshaler as | |
| 344 | - | // the whole document: the encode counterpart of the decoder delivering the | |
| 345 | - | // whole document to a root Unmarshaler. The bytes must form a TOML document | |
| 346 | - | // (key-value lines and table headers); empty output produces an empty | |
| 347 | - | // document. | |
| 348 | - | func (e *encoderState) encodeMarshalerRoot(rv reflect.Value) error { | |
| 349 | - | raw, err := e.marshalerBytes(rv) | |
| 350 | - | if err != nil { | |
| 351 | - | return err | |
| 352 | - | } | |
| 353 | - | trimmed := bytes.TrimSpace(raw) | |
| 354 | - | if len(trimmed) == 0 { | |
| 355 | - | return nil | |
| 356 | - | } | |
| 357 | - | if err := e.validateRawTableBody(rv.Type(), trimmed); err != nil { | |
| 358 | - | // A single TOML value has no meaning at the document root; report it | |
| 359 | - | // as such rather than as a syntax error. | |
| 360 | - | if shape, _ := e.classifyRaw(trimmed); shape == shapeValue { | |
| 361 | - | return fmt.Errorf("toml: cannot encode %s as a document root: MarshalTOML returned a single TOML value, not a document", rv.Type()) | |
| 362 | - | } | |
| 363 | - | return err | |
| 364 | - | } | |
| 365 | - | e.buf = append(e.buf, trimmed...) | |
| 366 | - | e.buf = append(e.buf, '\n') | |
| 367 | - | e.lastWasHeader = false | |
| 368 | - | return nil | |
| 369 | - | } | |
| 370 | - | ||
| 371 | - | // resolve unwraps pointers and interfaces until a concrete value is found. | |
| 372 | - | // Returns false if it resolves to nil. | |
| 373 | - | func resolve(v reflect.Value) (reflect.Value, bool) { | |
| 374 | - | for { | |
| 375 | - | switch v.Kind() { | |
| 376 | - | case reflect.Ptr: | |
| 377 | - | if v.IsNil() { | |
| 378 | - | return v, false | |
| 379 | - | } | |
| 380 | - | v = v.Elem() | |
| 381 | - | case reflect.Interface: | |
| 382 | - | if v.IsNil() { | |
| 383 | - | return v, false | |
| 384 | - | } | |
| 385 | - | v = v.Elem() | |
| 386 | - | default: | |
| 387 | - | return v, true | |
| 388 | - | } | |
| 389 | - | } | |
| 390 | - | } | |
| 391 | - | ||
| 392 | - | // typeEncProps caches the per-type facts used on every value encode. | |
| 393 | - | type typeEncProps struct { | |
| 394 | - | // 0: not a TextMarshaler, 1: the type implements it, 2: its pointer does | |
| 395 | - | text uint8 | |
| 396 | - | // 0: not an unstable.Marshaler, 1: the type implements it, 2: its pointer | |
| 397 | - | // does. Only consulted when Encoder.marshalerInterface is set. | |
| 398 | - | marshaler uint8 | |
| 399 | - | // encoded as a TOML value (as opposed to a table) | |
| 400 | - | isValue bool | |
| 401 | - | } | |
| 402 | - | ||
| 403 | - | var marshalerType = reflect.TypeOf(new(unstable.Marshaler)).Elem() | |
| 404 | - | ||
| 405 | - | var typeEncPropsCache sync.Map // reflect.Type -> typeEncProps | |
| 406 | - | ||
| 407 | - | func encPropsForType(t reflect.Type) typeEncProps { | |
| 408 | - | if p, ok := typeEncPropsCache.Load(t); ok { | |
| 409 | - | return p.(typeEncProps) | |
| 410 | - | } | |
| 411 | - | var p typeEncProps | |
| 412 | - | switch { | |
| 413 | - | case t.Implements(textMarshalerType): | |
| 414 | - | p.text = 1 | |
| 415 | - | case reflect.PtrTo(t).Implements(textMarshalerType): | |
| 416 | - | p.text = 2 | |
| 417 | - | } | |
| 418 | - | switch { | |
| 419 | - | case t.Implements(marshalerType): | |
| 420 | - | p.marshaler = 1 | |
| 421 | - | case reflect.PtrTo(t).Implements(marshalerType): | |
| 422 | - | p.marshaler = 2 | |
| 423 | - | } | |
| 424 | - | switch t { | |
| 425 | - | case timeType, localDateType, localTimeType, localDateTimeType: | |
| 426 | - | p.isValue = true | |
| 427 | - | default: | |
| 428 | - | if p.text != 0 { | |
| 429 | - | p.isValue = true | |
| 430 | - | } else { | |
| 431 | - | switch t.Kind() { | |
| 432 | - | case reflect.Map, reflect.Struct: | |
| 433 | - | p.isValue = false | |
| 434 | - | default: | |
| 435 | - | p.isValue = true | |
| 436 | - | } | |
| 437 | - | } | |
| 438 | - | } | |
| 439 | - | typeEncPropsCache.Store(t, p) | |
| 440 | - | return p | |
| 441 | - | } | |
| 442 | - | ||
| 443 | - | // isValueKind returns true when the resolved value is encoded as a TOML | |
| 444 | - | // value (as opposed to a table). | |
| 445 | - | func isValueKind(v reflect.Value) bool { | |
| 446 | - | return encPropsForType(v.Type()).isValue | |
| 447 | - | } | |
| 448 | - | ||
| 449 | - | // isTableLike returns true when the value should be encoded as a table (or | |
| 450 | - | // an array of tables for slices). | |
| 451 | - | func (e *encoderState) isTableLike(v reflect.Value) bool { | |
| 452 | - | v, ok := resolve(v) | |
| 453 | - | if !ok { | |
| 454 | - | // Unresolvable values (interface-held nil pointers) are encoded as | |
| 455 | - | // the zero value of their element type by the value path. | |
| 456 | - | return false | |
| 457 | - | } | |
| 458 | - | return !isValueKind(v) | |
| 459 | - | } | |
| 460 | - | ||
| 461 | - | // isArrayOfTables returns true when the value is a non-empty slice or array | |
| 462 | - | // containing only table-like values. | |
| 463 | - | func (e *encoderState) isArrayOfTables(v reflect.Value) bool { | |
| 464 | - | v, ok := resolve(v) | |
| 465 | - | if !ok { | |
| 466 | - | return false | |
| 467 | - | } | |
| 468 | - | if v.Kind() != reflect.Slice && v.Kind() != reflect.Array { | |
| 469 | - | return false | |
| 470 | - | } | |
| 471 | - | if v.Len() == 0 { | |
| 472 | - | return false | |
| 473 | - | } | |
| 474 | - | // The Marshaler-aware classification lives in a separate method, hoisted out | |
| 475 | - | // of this loop, so the default path keeps its exact original shape. | |
| 476 | - | if e.marshalerOn { | |
| 477 | - | return e.isMarshalerArrayOfTables(v) | |
| 478 | - | } | |
| 479 | - | for i := 0; i < v.Len(); i++ { | |
| 480 | - | elem, ok := resolve(v.Index(i)) | |
| 481 | - | if !ok || isValueKind(elem) { | |
| 482 | - | return false | |
| 483 | - | } | |
| 484 | - | } | |
| 485 | - | return true | |
| 486 | - | } | |
| 487 | - | ||
| 488 | - | // isMarshalerArrayOfTables is the EnableMarshalerInterface variant of | |
| 489 | - | // isArrayOfTables: a Marshaler element counts as a table only when its raw | |
| 490 | - | // content is table shaped (key-value lines); one holding a single value makes | |
| 491 | - | // the whole slice a plain array instead. | |
| 492 | - | func (e *encoderState) isMarshalerArrayOfTables(v reflect.Value) bool { | |
| 493 | - | for i := 0; i < v.Len(); i++ { | |
| 494 | - | elem, ok := resolve(v.Index(i)) | |
| 495 | - | if !ok { | |
| 496 | - | return false | |
| 497 | - | } | |
| 498 | - | if encPropsForType(elem.Type()).marshaler != 0 { | |
| 499 | - | raw, err := e.marshalerBytes(elem) | |
| 500 | - | if err != nil { | |
| 501 | - | return false | |
| 502 | - | } | |
| 503 | - | if shape, _ := e.classifyRaw(raw); shape != shapeTable { | |
| 504 | - | return false | |
| 505 | - | } | |
| 506 | - | continue | |
| 507 | - | } | |
| 508 | - | if isValueKind(elem) { | |
| 509 | - | return false | |
| 510 | - | } | |
| 511 | - | } | |
| 512 | - | return true | |
| 513 | - | } | |
| 514 | - | ||
| 515 | - | // marshalerBytes returns the raw TOML produced by v's unstable.Marshaler | |
| 516 | - | // implementation. The caller guarantees v implements the interface | |
| 517 | - | // (encPropsForType(v.Type()).marshaler != 0). | |
| 518 | - | func (e *encoderState) marshalerBytes(v reflect.Value) ([]byte, error) { | |
| 519 | - | t := v.Type() | |
| 520 | - | var m unstable.Marshaler | |
| 521 | - | switch { | |
| 522 | - | case encPropsForType(t).marshaler == 1: | |
| 523 | - | // The type itself implements Marshaler (e.g. a value receiver). | |
| 524 | - | m = v.Interface().(unstable.Marshaler) | |
| 525 | - | case v.CanAddr(): | |
| 526 | - | // Only the pointer implements it, and v is addressable. | |
| 527 | - | m = v.Addr().Interface().(unstable.Marshaler) | |
| 528 | - | default: | |
| 529 | - | // Only the pointer implements it, but v is not addressable: take the | |
| 530 | - | // address of a copy. | |
| 531 | - | tmp := reflect.New(t) | |
| 532 | - | tmp.Elem().Set(v) | |
| 533 | - | m = tmp.Interface().(unstable.Marshaler) | |
| 534 | - | } | |
| 535 | - | b, err := m.MarshalTOML() | |
| 536 | - | if err != nil { | |
| 537 | - | return nil, fmt.Errorf("toml: error calling MarshalTOML for type %s: %w", t, err) | |
| 538 | - | } | |
| 539 | - | return b, nil | |
| 540 | - | } | |
| 541 | - | ||
| 542 | - | // validateRawTableBody checks that trimmed — table-shaped Marshaler output | |
| 543 | - | // about to be spliced verbatim — is syntactically valid TOML, so a Marshaler | |
| 544 | - | // cannot silently corrupt the document. It reuses e.parser, like classifyRaw. | |
| 545 | - | func (e *encoderState) validateRawTableBody(t reflect.Type, trimmed []byte) error { | |
| 546 | - | e.parser.Reset(trimmed) | |
| 547 | - | for e.parser.NextExpression() { | |
| 548 | - | } | |
| 549 | - | if err := e.parser.Error(); err != nil { | |
| 550 | - | return fmt.Errorf("toml: error calling MarshalTOML for type %s: invalid TOML: %w", t, err) | |
| 551 | - | } | |
| 552 | - | return nil | |
| 553 | - | } | |
| 554 | - | ||
| 555 | - | // classifyRaw decides whether b (the output of an unstable.Marshaler) is empty, | |
| 556 | - | // a single TOML value, or a table body. It returns the trimmed bytes that | |
| 557 | - | // should be spliced into the document. It reuses e.parser, so it is not safe | |
| 558 | - | // for concurrent use (encoderState is not shared). | |
| 559 | - | func (e *encoderState) classifyRaw(b []byte) (rawShape, []byte) { | |
| 560 | - | trimmed := bytes.TrimSpace(b) | |
| 561 | - | if len(trimmed) == 0 { | |
| 562 | - | return shapeEmpty, trimmed | |
| 563 | - | } | |
| 564 | - | e.parser.Reset(trimmed) | |
| 565 | - | _, rest, err := parserbridge.ParseValue(&e.parser, trimmed) | |
| 566 | - | if err == nil && len(bytes.TrimSpace(rest)) == 0 { | |
| 567 | - | return shapeValue, trimmed | |
| 568 | - | } | |
| 569 | - | return shapeTable, trimmed | |
| 570 | - | } | |
| 571 | - | ||
| 572 | - | // resolveMarshalerEntries classifies every entry whose value implements | |
| 573 | - | // unstable.Marshaler, recording the shape on the entry so the two table passes | |
| 574 | - | // can route it without re-classifying. Any error from MarshalTOML is surfaced | |
| 575 | - | // eagerly. The marshaled bytes themselves are produced again at emit time by | |
| 576 | - | // marshalerValue; that keeps entry small on the encoder's hot path, and only | |
| 577 | - | // runs when the (opt-in) interface is enabled. | |
| 578 | - | func (e *encoderState) resolveMarshalerEntries(entries []entry) error { | |
| 579 | - | for i := range entries { | |
| 580 | - | ent := &entries[i] | |
| 581 | - | v, ok := resolve(ent.value) | |
| 582 | - | if !ok || encPropsForType(v.Type()).marshaler == 0 { | |
| 583 | - | continue | |
| 584 | - | } | |
| 585 | - | raw, err := e.marshalerBytes(v) | |
| 586 | - | if err != nil { | |
| 587 | - | return err | |
| 588 | - | } | |
| 589 | - | ent.options.rawShape, _ = e.classifyRaw(raw) | |
| 590 | - | } | |
| 591 | - | return nil | |
| 592 | - | } | |
| 593 | - | ||
| 594 | - | // marshalerValue returns the trimmed bytes to splice for an entry already known | |
| 595 | - | // to be an unstable.Marshaler (ent.options.rawShape != shapeUnknown). | |
| 596 | - | func (e *encoderState) marshalerValue(ent *entry) ([]byte, error) { | |
| 597 | - | v, _ := resolve(ent.value) | |
| 598 | - | raw, err := e.marshalerBytes(v) | |
| 599 | - | if err != nil { | |
| 600 | - | return nil, err | |
| 601 | - | } | |
| 602 | - | return bytes.TrimSpace(raw), nil | |
| 603 | - | } | |
| 604 | - | ||
| 605 | - | // appendMarshalerInline emits an unstable.Marshaler value in a value position | |
| 606 | - | // (array element or inline-table member), where only a single TOML value is | |
| 607 | - | // valid. done is false when t is not a Marshaler, so appendValue falls through | |
| 608 | - | // to its normal handling. It is split out of appendValue (type check included) | |
| 609 | - | // to keep that hot path lean. | |
| 610 | - | func (e *encoderState) appendMarshalerInline(b []byte, v reflect.Value, t reflect.Type) (out []byte, done bool, err error) { | |
| 611 | - | if encPropsForType(t).marshaler == 0 { | |
| 612 | - | return b, false, nil | |
| 613 | - | } | |
| 614 | - | raw, err := e.marshalerBytes(v) | |
| 615 | - | if err != nil { | |
| 616 | - | return nil, true, err | |
| 617 | - | } | |
| 618 | - | shape, trimmed := e.classifyRaw(raw) | |
| 619 | - | switch shape { | |
| 620 | - | case shapeValue: | |
| 621 | - | return append(b, trimmed...), true, nil | |
| 622 | - | case shapeEmpty: | |
| 623 | - | return nil, true, fmt.Errorf("toml: cannot encode an empty %s as an inline value", t) | |
| 624 | - | default: | |
| 625 | - | return nil, true, fmt.Errorf("toml: cannot encode %s as an inline value: %q is not a single TOML value", t, trimmed) | |
| 626 | - | } | |
| 627 | - | } | |
| 628 | - | ||
| 629 | - | // encodeTable writes the content of a table at the given key path. | |
| 630 | - | func (e *encoderState) encodeTable(v reflect.Value, commented bool, indent int) error { | |
| 631 | - | entries, err := e.collectEntries(v) | |
| 632 | - | if err != nil { | |
| 633 | - | return err | |
| 634 | - | } | |
| 635 | - | ||
| 636 | - | // Marshaler routing is hoisted behind a single local flag. When the (opt-in) | |
| 637 | - | // interface is off, mOn is false and both passes run the exact baseline | |
| 638 | - | // code, so the default Marshal path keeps its performance. | |
| 639 | - | mOn := e.marshalerOn | |
| 640 | - | if mOn { | |
| 641 | - | // Classify Marshaler entries once, up front, so the passes can route | |
| 642 | - | // them by shape and surface MarshalTOML errors eagerly. | |
| 643 | - | if err := e.resolveMarshalerEntries(entries); err != nil { | |
| 644 | - | return err | |
| 645 | - | } | |
| 646 | - | } | |
| 647 | - | ||
| 648 | - | // First pass: emit all key-values; tables are handled by the second | |
| 649 | - | // pass. | |
| 650 | - | for i := range entries { | |
| 651 | - | ent := &entries[i] | |
| 652 | - | if mOn { | |
| 653 | - | switch ent.options.rawShape { | |
| 654 | - | case shapeUnknown: | |
| 655 | - | // Not a Marshaler: handled by the baseline logic below. | |
| 656 | - | case shapeEmpty: | |
| 657 | - | // No TOML representation: omit the key. | |
| 658 | - | continue | |
| 659 | - | case shapeValue: | |
| 660 | - | if err := e.encodeKeyValue(*ent, commented, indent); err != nil { | |
| 661 | - | return err | |
| 662 | - | } | |
| 663 | - | continue | |
| 664 | - | case shapeTable: | |
| 665 | - | // A table body is emitted in the second pass, unless it is | |
| 666 | - | // forced inline (SetTablesInline / inline tag), which has no | |
| 667 | - | // valid inline form and is reported as an error by | |
| 668 | - | // encodeKeyValue. | |
| 669 | - | if e.tablesInline || ent.options.inline { | |
| 670 | - | if err := e.encodeKeyValue(*ent, commented, indent); err != nil { | |
| 671 | - | return err | |
| 672 | - | } | |
| 673 | - | } | |
| 674 | - | continue | |
| 675 | - | } | |
| 676 | - | } | |
| 677 | - | if e.entryIsTable(ent) { | |
| 678 | - | continue | |
| 679 | - | } | |
| 680 | - | if err := e.encodeKeyValue(*ent, commented, indent); err != nil { | |
| 681 | - | return err | |
| 682 | - | } | |
| 683 | - | } | |
| 684 | - | ||
| 685 | - | // Second pass: emit the sub-tables, extending the shared key stack. | |
| 686 | - | for i := range entries { | |
| 687 | - | ent := entries[i] | |
| 688 | - | if mOn { | |
| 689 | - | switch ent.options.rawShape { | |
| 690 | - | case shapeUnknown: | |
| 691 | - | // Not a Marshaler: handled by the baseline logic below. | |
| 692 | - | case shapeValue, shapeEmpty: | |
| 693 | - | // Not a table: already handled (or omitted) in the first pass. | |
| 694 | - | continue | |
| 695 | - | case shapeTable: | |
| 696 | - | // Emit the raw body verbatim under the freshly pushed header. | |
| 697 | - | // (The forced-inline case already errored in the first pass.) | |
| 698 | - | entCommented := commented || ent.options.commented | |
| 699 | - | e.keyStack = append(e.keyStack, ent.key) | |
| 700 | - | if err := e.encodeMarshalerTable(&ent, entCommented, indent); err != nil { | |
| 701 | - | return err | |
| 702 | - | } | |
| 703 | - | e.keyStack = e.keyStack[:len(e.keyStack)-1] | |
| 704 | - | continue | |
| 705 | - | } | |
| 706 | - | } | |
| 707 | - | if !e.entryIsTable(&ent) { | |
| 708 | - | continue | |
| 709 | - | } | |
| 710 | - | entCommented := commented || ent.options.commented | |
| 711 | - | e.keyStack = append(e.keyStack, ent.key) | |
| 712 | - | ||
| 713 | - | if e.isArrayOfTables(ent.value) { | |
| 714 | - | err := e.encodeArrayTable(ent, entCommented, indent) | |
| 715 | - | if err != nil { | |
| 716 | - | return err | |
| 717 | - | } | |
| 718 | - | e.keyStack = e.keyStack[:len(e.keyStack)-1] | |
| 719 | - | continue | |
| 720 | - | } | |
| 721 | - | ||
| 722 | - | // The value is resolvable: entryIsTable already resolved it. | |
| 723 | - | tv, _ := resolve(ent.value) | |
| 724 | - | ||
| 725 | - | e.writeTableHeader(ent.options.comment, entCommented, false, indent) | |
| 726 | - | ||
| 727 | - | err := e.encodeTable(tv, entCommented, indent+1) | |
| 728 | - | if err != nil { | |
| 729 | - | return err | |
| 730 | - | } | |
| 731 | - | e.keyStack = e.keyStack[:len(e.keyStack)-1] | |
| 732 | - | } | |
| 733 | - | ||
| 734 | - | e.putEntries(entries) | |
| 735 | - | return nil | |
| 736 | - | } | |
| 737 | - | ||
| 738 | - | // encodeMarshalerTable emits a table-shaped unstable.Marshaler entry: the | |
| 739 | - | // header for the key currently on the stack, then the raw body verbatim. | |
| 740 | - | func (e *encoderState) encodeMarshalerTable(ent *entry, commented bool, indent int) error { | |
| 741 | - | raw, err := e.marshalerValue(ent) | |
| 742 | - | if err != nil { | |
| 743 | - | return err | |
| 744 | - | } | |
| 745 | - | // Validate the bytes actually being spliced: MarshalTOML is called again | |
| 746 | - | // for the emit, so this both rejects invalid TOML and guards against an | |
| 747 | - | // implementation that returned different content than during | |
| 748 | - | // classification. | |
| 749 | - | if err := e.validateRawTableBody(ent.value.Type(), raw); err != nil { | |
| 750 | - | return err | |
| 751 | - | } | |
| 752 | - | e.writeTableHeader(ent.options.comment, commented, false, indent) | |
| 753 | - | e.spliceRawTableBody(raw, commented) | |
| 754 | - | return nil | |
| 755 | - | } | |
| 756 | - | ||
| 757 | - | // spliceRawTableBody appends a raw table body verbatim after its header. When | |
| 758 | - | // the table is commented, every physical line is prefixed with the comment | |
| 759 | - | // marker so the body does not leak into the document as live keys. | |
| 760 | - | func (e *encoderState) spliceRawTableBody(raw []byte, commented bool) { | |
| 761 | - | if len(raw) == 0 { | |
| 762 | - | return | |
| 763 | - | } | |
| 764 | - | if commented { | |
| 765 | - | e.buf = append(e.buf, "# "...) | |
| 766 | - | e.buf = append(e.buf, bytes.ReplaceAll(raw, []byte("\n"), []byte("\n# "))...) | |
| 767 | - | } else { | |
| 768 | - | e.buf = append(e.buf, raw...) | |
| 769 | - | } | |
| 770 | - | e.buf = append(e.buf, '\n') | |
| 771 | - | e.lastWasHeader = false | |
| 772 | - | } | |
| 773 | - | ||
| 774 | - | // entryIsTable reports whether the entry is emitted as a (sub-)table rather | |
| 775 | - | // than a key-value. Marshaler entries are routed by encodeTable before this is | |
| 776 | - | // reached, so it carries no marshaler-specific cost. | |
| 777 | - | func (e *encoderState) entryIsTable(ent *entry) bool { | |
| 778 | - | return !e.tablesInline && !ent.options.inline && (e.isTableLike(ent.value) || e.isArrayOfTables(ent.value)) | |
| 779 | - | } | |
| 780 | - | ||
| 781 | - | // getEntries returns a reusable entry slice. | |
| 782 | - | func (e *encoderState) getEntries() []entry { | |
| 783 | - | if n := len(e.entriesPool); n > 0 { | |
| 784 | - | s := e.entriesPool[n-1] | |
| 785 | - | e.entriesPool = e.entriesPool[:n-1] | |
| 786 | - | return s[:0] | |
| 787 | - | } | |
| 788 | - | return nil | |
| 789 | - | } | |
| 790 | - | ||
| 791 | - | // putEntries returns an entry slice to the pool. | |
| 792 | - | func (e *encoderState) putEntries(s []entry) { | |
| 793 | - | if cap(s) > 0 { | |
| 794 | - | e.entriesPool = append(e.entriesPool, s) | |
| 795 | - | } | |
| 796 | - | } | |
| 797 | - | ||
| 798 | - | // encodeArrayTable writes all the elements of an array of tables. | |
| 799 | - | func (e *encoderState) encodeArrayTable(ent entry, commented bool, indent int) error { | |
| 800 | - | v, _ := resolve(ent.value) | |
| 801 | - | comment := ent.options.comment | |
| 802 | - | for i := 0; i < v.Len(); i++ { | |
| 803 | - | // Elements are resolvable: isArrayOfTables already resolved them. | |
| 804 | - | elem, _ := resolve(v.Index(i)) | |
| 805 | - | ||
| 806 | - | e.writeTableHeader(comment, commented, true, indent) | |
| 807 | - | // The comment is only present before the first element. | |
| 808 | - | comment = "" | |
| 809 | - | ||
| 810 | - | // A Marshaler element splices its raw table body verbatim. The shape | |
| 811 | - | // was checked by isArrayOfTables, but MarshalTOML is called again for | |
| 812 | - | // the emit, so the spliced bytes are validated here. | |
| 813 | - | if e.marshalerOn && encPropsForType(elem.Type()).marshaler != 0 { | |
| 814 | - | raw, err := e.marshalerBytes(elem) | |
| 815 | - | if err != nil { | |
| 816 | - | return err | |
| 817 | - | } | |
| 818 | - | trimmed := bytes.TrimSpace(raw) | |
| 819 | - | if err := e.validateRawTableBody(elem.Type(), trimmed); err != nil { | |
| 820 | - | return err | |
| 821 | - | } | |
| 822 | - | e.spliceRawTableBody(trimmed, commented) | |
| 823 | - | continue | |
| 824 | - | } | |
| 825 | - | ||
| 826 | - | err := e.encodeTable(elem, commented, indent+1) | |
| 827 | - | if err != nil { | |
| 828 | - | return err | |
| 829 | - | } | |
| 830 | - | } | |
| 831 | - | return nil | |
| 832 | - | } | |
| 833 | - | ||
| 834 | - | // writeTableHeader emits a [table] or [[array table]] header line, preceded | |
| 835 | - | // by an empty line and comments as needed. | |
| 836 | - | func (e *encoderState) writeTableHeader(comment string, commented bool, array bool, indent int) { | |
| 837 | - | key := e.keyStack | |
| 838 | - | if len(e.buf) > 0 && !e.lastWasHeader { | |
| 839 | - | e.buf = append(e.buf, '\n') | |
| 840 | - | } | |
| 841 | - | ||
| 842 | - | headerIndent := indent | |
| 843 | - | ||
| 844 | - | e.writeComment(comment, headerIndent) | |
| 845 | - | ||
| 846 | - | // The "commented" marker is emitted at column zero, ahead of any table | |
| 847 | - | // indentation, so that the indentation appears inside the comment | |
| 848 | - | // (e.g. `# [a.b]`). This matches the historical v2.3 layout. | |
| 849 | - | if commented { | |
| 850 | - | e.buf = append(e.buf, "# "...) | |
| 851 | - | } | |
| 852 | - | e.writeIndent(headerIndent) | |
| 853 | - | e.buf = append(e.buf, '[') | |
| 854 | - | if array { | |
| 855 | - | e.buf = append(e.buf, '[') | |
| 856 | - | } | |
| 857 | - | for i, part := range key { | |
| 858 | - | if i > 0 { | |
| 859 | - | e.buf = append(e.buf, '.') | |
| 860 | - | } | |
| 861 | - | e.buf = e.appendKey(e.buf, part) | |
| 862 | - | } | |
| 863 | - | e.buf = append(e.buf, ']') | |
| 864 | - | if array { | |
| 865 | - | e.buf = append(e.buf, ']') | |
| 866 | - | } | |
| 867 | - | e.buf = append(e.buf, '\n') | |
| 868 | - | e.lastWasHeader = true | |
| 869 | - | } | |
| 870 | - | ||
| 871 | - | func (e *encoderState) writeIndent(indent int) { | |
| 872 | - | if !e.indentTables { | |
| 873 | - | return | |
| 874 | - | } | |
| 875 | - | for i := 0; i < indent; i++ { | |
| 876 | - | e.buf = append(e.buf, e.indentSymbol...) | |
| 877 | - | } | |
| 878 | - | } | |
| 879 | - | ||
| 880 | - | // writeComment emits the comment lines attached to an entry. | |
| 881 | - | func (e *encoderState) writeComment(comment string, indent int) { | |
| 882 | - | if comment == "" { | |
| 883 | - | return | |
| 884 | - | } | |
| 885 | - | for _, line := range strings.Split(comment, "\n") { | |
| 886 | - | e.writeIndent(indent) | |
| 887 | - | e.buf = append(e.buf, "# "...) | |
| 888 | - | e.buf = append(e.buf, line...) | |
| 889 | - | e.buf = append(e.buf, '\n') | |
| 890 | - | } | |
| 891 | - | } | |
| 892 | - | ||
| 893 | - | // encodeKeyValue writes one `key = value` line of a table. | |
| 894 | - | func (e *encoderState) encodeKeyValue(ent entry, commented bool, indent int) error { | |
| 895 | - | commented = commented || ent.options.commented | |
| 896 | - | ||
| 897 | - | e.writeComment(ent.options.comment, indent) | |
| 898 | - | ||
| 899 | - | // The "commented" marker is emitted at column zero, ahead of any table | |
| 900 | - | // indentation, so that the indentation appears inside the comment | |
| 901 | - | // (e.g. `# key = value`). This matches the historical v2.3 layout. | |
| 902 | - | lineStart := len(e.buf) | |
| 903 | - | if commented { | |
| 904 | - | e.buf = append(e.buf, "# "...) | |
| 905 | - | } | |
| 906 | - | e.writeIndent(indent) | |
| 907 | - | e.buf = e.appendKey(e.buf, ent.key) | |
| 908 | - | e.buf = append(e.buf, " = "...) | |
| 909 | - | ||
| 910 | - | // When tables are not indented, the key is emitted at column zero | |
| 911 | - | // regardless of its nesting depth. Value continuation lines (most | |
| 912 | - | // notably the elements of a multiline array) must line up with that key, | |
| 913 | - | // so the value indentation starts from zero as well rather than from the | |
| 914 | - | // table nesting depth. | |
| 915 | - | valueIndent := indent | |
| 916 | - | if !e.indentTables { | |
| 917 | - | valueIndent = 0 | |
| 918 | - | } | |
| 919 | - | ||
| 920 | - | // A Marshaler value is delegated, keeping this hot function lean for the | |
| 921 | - | // default path (rawShape stays shapeUnknown when the interface is off). It | |
| 922 | - | // shares the commented/newline handling below. | |
| 923 | - | var err error | |
| 924 | - | if ent.options.rawShape != shapeUnknown { | |
| 925 | - | e.buf, err = e.appendMarshalerInlineValue(e.buf, &ent) | |
| 926 | - | } else { | |
| 927 | - | e.buf, err = e.appendValue(e.buf, ent.value, ent.options, valueIndent) | |
| 928 | - | } | |
| 929 | - | if err != nil { | |
| 930 | - | return err | |
| 931 | - | } | |
| 932 | - | ||
| 933 | - | // A commented value that renders across multiple lines (a multiline string | |
| 934 | - | // or a multiline array) must have every physical line prefixed with the | |
| 935 | - | // comment marker, not just the first; otherwise the continuation lines are | |
| 936 | - | // emitted as live, syntactically invalid TOML. | |
| 937 | - | if commented { | |
| 938 | - | if bytes.IndexByte(e.buf[lineStart:], '\n') >= 0 { | |
| 939 | - | region := bytes.ReplaceAll( | |
| 940 | - | append([]byte(nil), e.buf[lineStart:]...), | |
| 941 | - | []byte("\n"), []byte("\n# "), | |
| 942 | - | ) | |
| 943 | - | e.buf = append(e.buf[:lineStart], region...) | |
| 944 | - | } | |
| 945 | - | } | |
| 946 | - | e.buf = append(e.buf, '\n') | |
| 947 | - | e.lastWasHeader = false | |
| 948 | - | return nil | |
| 949 | - | } | |
| 950 | - | ||
| 951 | - | // appendMarshalerInlineValue appends the value part of a `key = ` line for an | |
| 952 | - | // unstable.Marshaler entry, leaving the trailing newline and commented handling | |
| 953 | - | // to encodeKeyValue. Empty entries are filtered out before this point, so the | |
| 954 | - | // value is either a single value (spliced verbatim) or, when forced inline by | |
| 955 | - | // SetTablesInline or an inline tag, table content (an error). | |
| 956 | - | func (e *encoderState) appendMarshalerInlineValue(b []byte, ent *entry) ([]byte, error) { | |
| 957 | - | errNotValue := func() error { | |
| 958 | - | return fmt.Errorf("toml: cannot encode %s as an inline value: not a single TOML value", ent.value.Type()) | |
| 959 | - | } | |
| 960 | - | if ent.options.rawShape != shapeValue { | |
| 961 | - | return nil, errNotValue() | |
| 962 | - | } | |
| 963 | - | raw, err := e.marshalerValue(ent) | |
| 964 | - | if err != nil { | |
| 965 | - | return nil, err | |
| 966 | - | } | |
| 967 | - | // Classify the just-returned bytes rather than trusting the earlier pass: | |
| 968 | - | // MarshalTOML is called again for the emit, and an implementation that | |
| 969 | - | // returns different content must not splice non-value bytes into a | |
| 970 | - | // `key = ` position. | |
| 971 | - | if shape, trimmed := e.classifyRaw(raw); shape == shapeValue { | |
| 972 | - | return append(b, trimmed...), nil | |
| 973 | - | } | |
| 974 | - | return nil, errNotValue() | |
| 975 | - | } | |
| 976 | - | ||
| 977 | - | // collectEntries builds the ordered list of the entries of a table, | |
| 978 | - | // applying tags and omission rules. | |
| 979 | - | func (e *encoderState) collectEntries(v reflect.Value) ([]entry, error) { | |
| 980 | - | switch v.Kind() { | |
| 981 | - | case reflect.Map: | |
| 982 | - | return e.collectMapEntries(v) | |
| 983 | - | case reflect.Struct: | |
| 984 | - | entries := e.getEntries() | |
| 985 | - | e.collectStructEntries(&entries, v) | |
| 986 | - | return entries, nil | |
| 987 | - | default: | |
| 988 | - | return nil, fmt.Errorf("toml: cannot encode a %s as a table", v.Type()) | |
| 989 | - | } | |
| 990 | - | } | |
| 991 | - | ||
| 992 | - | func (e *encoderState) collectMapEntries(v reflect.Value) ([]entry, error) { | |
| 993 | - | entries := e.getEntries() | |
| 994 | - | ||
| 995 | - | // Keys are converted to strings right away: read them into a reusable | |
| 996 | - | // buffer to avoid one allocation per key. | |
| 997 | - | var kbuf reflect.Value | |
| 998 | - | if v.Type().Key() == stringType { | |
| 999 | - | if !e.stringKeyBuf.IsValid() { | |
| 1000 | - | e.stringKeyBuf = reflect.New(stringType).Elem() | |
| 1001 | - | } | |
| 1002 | - | kbuf = e.stringKeyBuf | |
| 1003 | - | } else { | |
| 1004 | - | kbuf = reflect.New(v.Type().Key()).Elem() | |
| 1005 | - | } | |
| 1006 | - | ||
| 1007 | - | iter := v.MapRange() | |
| 1008 | - | for iter.Next() { | |
| 1009 | - | kbuf.SetIterKey(iter) | |
| 1010 | - | key, err := mapKeyString(kbuf) | |
| 1011 | - | if err != nil { | |
| 1012 | - | return nil, err | |
| 1013 | - | } | |
| 1014 | - | value := iter.Value() | |
| 1015 | - | if value.Kind() == reflect.Interface && value.IsNil() { | |
| 1016 | - | // nil interface values are skipped | |
| 1017 | - | continue | |
| 1018 | - | } | |
| 1019 | - | if value.Kind() == reflect.Ptr && value.IsNil() { | |
| 1020 | - | // nil pointers in maps are encoded as their zero value | |
| 1021 | - | value = reflect.New(value.Type().Elem()).Elem() | |
| 1022 | - | } | |
| 1023 | - | entries = append(entries, entry{key: key, value: value}) | |
| 1024 | - | } | |
| 1025 | - | ||
| 1026 | - | if len(entries) > 1 { | |
| 1027 | - | // slices.SortFunc avoids boxing the slice into a sort.Interface (an | |
| 1028 | - | // allocation that sort.Sort incurs for every table). | |
| 1029 | - | slices.SortFunc(entries, func(a, b entry) int { | |
| 1030 | - | return strings.Compare(a.key, b.key) | |
| 1031 | - | }) | |
| 1032 | - | } | |
| 1033 | - | ||
| 1034 | - | return entries, nil | |
| 1035 | - | } | |
| 1036 | - | ||
| 1037 | - | // mapKeyString converts a map key to its string representation. | |
| 1038 | - | func mapKeyString(k reflect.Value) (string, error) { | |
| 1039 | - | kr, ok := resolve(k) | |
| 1040 | - | if !ok { | |
| 1041 | - | return "", errors.New("toml: cannot encode a nil map key") | |
| 1042 | - | } | |
| 1043 | - | if kr.Type().Implements(textMarshalerType) { | |
| 1044 | - | b, err := kr.Interface().(encoding.TextMarshaler).MarshalText() | |
| 1045 | - | if err != nil { | |
| 1046 | - | return "", fmt.Errorf("toml: cannot marshal map key: %w", err) | |
| 1047 | - | } | |
| 1048 | - | return string(b), nil | |
| 1049 | - | } | |
| 1050 | - | if kr.CanAddr() && reflect.PtrTo(kr.Type()).Implements(textMarshalerType) { | |
| 1051 | - | b, err := kr.Addr().Interface().(encoding.TextMarshaler).MarshalText() | |
| 1052 | - | if err != nil { | |
| 1053 | - | return "", fmt.Errorf("toml: cannot marshal map key: %w", err) | |
| 1054 | - | } | |
| 1055 | - | return string(b), nil | |
| 1056 | - | } | |
| 1057 | - | switch kr.Kind() { | |
| 1058 | - | case reflect.String: | |
| 1059 | - | return kr.String(), nil | |
| 1060 | - | case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: | |
| 1061 | - | return strconv.FormatInt(kr.Int(), 10), nil | |
| 1062 | - | case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: | |
| 1063 | - | return strconv.FormatUint(kr.Uint(), 10), nil | |
| 1064 | - | case reflect.Float32: | |
| 1065 | - | return strconv.FormatFloat(kr.Float(), 'f', -1, 32), nil | |
| 1066 | - | case reflect.Float64: | |
| 1067 | - | return strconv.FormatFloat(kr.Float(), 'f', -1, 64), nil | |
| 1068 | - | default: | |
| 1069 | - | return "", fmt.Errorf("toml: cannot encode a map with key type %s", k.Type()) | |
| 1070 | - | } | |
| 1071 | - | } | |
| 1072 | - | ||
| 1073 | - | // encPlanField is the static encoding information of one field of a struct. | |
| 1074 | - | type encPlanField struct { | |
| 1075 | - | name string | |
| 1076 | - | index []int | |
| 1077 | - | depth int | |
| 1078 | - | options valueOptions | |
| 1079 | - | } | |
| 1080 | - | ||
| 1081 | - | // encPlan caches the per-type information needed to encode a struct: | |
| 1082 | - | // flattened fields with parsed tags, in order of definition, with shadowed | |
| 1083 | - | // duplicates already removed. | |
| 1084 | - | type encPlan struct { | |
| 1085 | - | fields []encPlanField | |
| 1086 | - | } | |
| 1087 | - | ||
| 1088 | - | var encPlans sync.Map // reflect.Type -> *encPlan | |
| 1089 | - | ||
| 1090 | - | func encPlanForType(t reflect.Type) *encPlan { | |
| 1091 | - | if plan, ok := encPlans.Load(t); ok { | |
| 1092 | - | return plan.(*encPlan) | |
| 1093 | - | } | |
| 1094 | - | plan := &encPlan{} | |
| 1095 | - | visited := map[reflect.Type]bool{} | |
| 1096 | - | buildEncPlan(plan, t, nil, 0, visited) | |
| 1097 | - | dedupEncPlan(plan) | |
| 1098 | - | encPlans.Store(t, plan) | |
| 1099 | - | return plan | |
| 1100 | - | } | |
| 1101 | - | ||
| 1102 | - | func buildEncPlan(plan *encPlan, t reflect.Type, prefix []int, depth int, visited map[reflect.Type]bool) { | |
| 1103 | - | if visited[t] { | |
| 1104 | - | return | |
| 1105 | - | } | |
| 1106 | - | visited[t] = true | |
| 1107 | - | defer delete(visited, t) | |
| 1108 | - | ||
| 1109 | - | for i := 0; i < t.NumField(); i++ { | |
| 1110 | - | f := t.Field(i) | |
| 1111 | - | ||
| 1112 | - | tag, tagged := f.Tag.Lookup("toml") | |
| 1113 | - | if tag == "-" { | |
| 1114 | - | continue | |
| 1115 | - | } | |
| 1116 | - | ||
| 1117 | - | name := f.Name | |
| 1118 | - | var opts valueOptions | |
| 1119 | - | if tagged { | |
| 1120 | - | parts := strings.Split(tag, ",") | |
| 1121 | - | if parts[0] != "" { | |
| 1122 | - | name = parts[0] | |
| 1123 | - | } | |
| 1124 | - | for _, opt := range parts[1:] { | |
| 1125 | - | switch opt { | |
| 1126 | - | case "multiline": | |
| 1127 | - | opts.multiline = true | |
| 1128 | - | case "inline": | |
| 1129 | - | opts.inline = true | |
| 1130 | - | case "omitempty": | |
| 1131 | - | opts.omitempty = true | |
| 1132 | - | case "omitzero": | |
| 1133 | - | opts.omitzero = true | |
| 1134 | - | case "commented": | |
| 1135 | - | opts.commented = true | |
| 1136 | - | } | |
| 1137 | - | } | |
| 1138 | - | } | |
| 1139 | - | // Standalone boolean tags, e.g. multiline:"true". | |
| 1140 | - | const tagTrue = "true" | |
| 1141 | - | if f.Tag.Get("multiline") == tagTrue { | |
| 1142 | - | opts.multiline = true | |
| 1143 | - | } | |
| 1144 | - | if f.Tag.Get("inline") == tagTrue { | |
| 1145 | - | opts.inline = true | |
| 1146 | - | } | |
| 1147 | - | if f.Tag.Get("commented") == tagTrue { | |
| 1148 | - | opts.commented = true | |
| 1149 | - | } | |
| 1150 | - | opts.comment = f.Tag.Get("comment") | |
| 1151 | - | ||
| 1152 | - | index := make([]int, 0, len(prefix)+1) | |
| 1153 | - | index = append(index, prefix...) | |
| 1154 | - | index = append(index, i) | |
| 1155 | - | ||
| 1156 | - | if f.Anonymous { | |
| 1157 | - | ft := f.Type | |
| 1158 | - | if ft.Kind() == reflect.Ptr { | |
| 1159 | - | ft = ft.Elem() | |
| 1160 | - | } | |
| 1161 | - | if ft.Kind() == reflect.Struct && (!tagged || tagName(tag) == "") { | |
| 1162 | - | buildEncPlan(plan, ft, index, depth+1, visited) | |
| 1163 | - | continue | |
| 1164 | - | } | |
| 1165 | - | if f.PkgPath != "" && ft.Kind() != reflect.Interface { | |
| 1166 | - | continue | |
| 1167 | - | } | |
| 1168 | - | } else if f.PkgPath != "" { | |
| 1169 | - | // unexported | |
| 1170 | - | continue | |
| 1171 | - | } | |
| 1172 | - | ||
| 1173 | - | plan.fields = append(plan.fields, encPlanField{ | |
| 1174 | - | name: name, | |
| 1175 | - | index: index, | |
| 1176 | - | depth: depth, | |
| 1177 | - | options: opts, | |
| 1178 | - | }) | |
| 1179 | - | } | |
| 1180 | - | } | |
| 1181 | - | ||
| 1182 | - | // dedupEncPlan removes the fields shadowed by another one with the same | |
| 1183 | - | // name (the shallowest wins), keeping the order of first appearance. | |
| 1184 | - | func dedupEncPlan(plan *encPlan) { | |
| 1185 | - | byName := make(map[string]int, len(plan.fields)) | |
| 1186 | - | drop := false | |
| 1187 | - | for i := range plan.fields { | |
| 1188 | - | f := &plan.fields[i] | |
| 1189 | - | j, seen := byName[f.name] | |
| 1190 | - | if !seen { | |
| 1191 | - | byName[f.name] = i | |
| 1192 | - | continue | |
| 1193 | - | } | |
| 1194 | - | drop = true | |
| 1195 | - | // Shallowest wins; on equal depth, the first in order wins. | |
| 1196 | - | if f.depth < plan.fields[j].depth { | |
| 1197 | - | plan.fields[j].name = "" | |
| 1198 | - | byName[f.name] = i | |
| 1199 | - | } else { | |
| 1200 | - | f.name = "" | |
| 1201 | - | } | |
| 1202 | - | } | |
| 1203 | - | if !drop { | |
| 1204 | - | return | |
| 1205 | - | } | |
| 1206 | - | out := plan.fields[:0] | |
| 1207 | - | for _, f := range plan.fields { | |
| 1208 | - | if f.name != "" { | |
| 1209 | - | out = append(out, f) | |
| 1210 | - | } | |
| 1211 | - | } | |
| 1212 | - | plan.fields = out | |
| 1213 | - | } | |
| 1214 | - | ||
| 1215 | - | // collectStructEntries appends the entries of a struct, flattening embedded | |
| 1216 | - | // structs in place. | |
| 1217 | - | func (e *encoderState) collectStructEntries(entries *[]entry, v reflect.Value) { | |
| 1218 | - | plan := encPlanForType(v.Type()) | |
| 1219 | - | ||
| 1220 | - | for i := range plan.fields { | |
| 1221 | - | f := &plan.fields[i] | |
| 1222 | - | fv, ok := fieldByIndexSkipNil(v, f.index) | |
| 1223 | - | if !ok { | |
| 1224 | - | // nil embedded pointer on the way: skipped | |
| 1225 | - | continue | |
| 1226 | - | } | |
| 1227 | - | ||
| 1228 | - | // Anonymous interface fields that are nil are skipped. | |
| 1229 | - | if fv.Kind() == reflect.Interface && fv.IsNil() { | |
| 1230 | - | continue | |
| 1231 | - | } | |
| 1232 | - | // nil values in struct fields are skipped | |
| 1233 | - | if (fv.Kind() == reflect.Ptr || fv.Kind() == reflect.Map) && fv.IsNil() { | |
| 1234 | - | continue | |
| 1235 | - | } | |
| 1236 | - | ||
| 1237 | - | if f.options.omitempty && isEmptyValue(fv) { | |
| 1238 | - | continue | |
| 1239 | - | } | |
| 1240 | - | if f.options.omitzero && isZeroValue(fv) { | |
| 1241 | - | continue | |
| 1242 | - | } | |
| 1243 | - | ||
| 1244 | - | *entries = append(*entries, entry{key: f.name, value: fv, options: f.options}) | |
| 1245 | - | } | |
| 1246 | - | } | |
| 1247 | - | ||
| 1248 | - | // fieldByIndexSkipNil returns the field at the given index path, reporting | |
| 1249 | - | // false if a nil embedded pointer is found on the way. | |
| 1250 | - | func fieldByIndexSkipNil(v reflect.Value, index []int) (reflect.Value, bool) { | |
| 1251 | - | for i, x := range index { | |
| 1252 | - | if i > 0 { | |
| 1253 | - | for v.Kind() == reflect.Ptr { | |
| 1254 | - | if v.IsNil() { | |
| 1255 | - | return v, false | |
| 1256 | - | } | |
| 1257 | - | v = v.Elem() | |
| 1258 | - | } | |
| 1259 | - | } | |
| 1260 | - | v = v.Field(x) | |
| 1261 | - | } | |
| 1262 | - | return v, true | |
| 1263 | - | } | |
| 1264 | - | ||
| 1265 | - | func tagName(tag string) string { | |
| 1266 | - | if idx := strings.IndexByte(tag, ','); idx >= 0 { | |
| 1267 | - | return tag[:idx] | |
| 1268 | - | } | |
| 1269 | - | return tag | |
| 1270 | - | } | |
| 1271 | - | ||
| 1272 | - | // isEmptyValue implements the omitempty rules. | |
| 1273 | - | func isEmptyValue(v reflect.Value) bool { | |
| 1274 | - | switch v.Kind() { | |
| 1275 | - | case reflect.String: | |
| 1276 | - | return v.Len() == 0 | |
| 1277 | - | case reflect.Bool: | |
| 1278 | - | return !v.Bool() | |
| 1279 | - | case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: | |
| 1280 | - | return v.Int() == 0 | |
| 1281 | - | case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: | |
| 1282 | - | return v.Uint() == 0 | |
| 1283 | - | case reflect.Float32, reflect.Float64: | |
| 1284 | - | return v.Float() == 0 | |
| 1285 | - | case reflect.Map, reflect.Slice, reflect.Array: | |
| 1286 | - | return v.Len() == 0 | |
| 1287 | - | case reflect.Ptr, reflect.Interface: | |
| 1288 | - | return v.IsNil() | |
| 1289 | - | case reflect.Struct: | |
| 1290 | - | // Structs that encode as a scalar value (time.Time, the local | |
| 1291 | - | // date/time types, or any TextMarshaler) are empty only when they | |
| 1292 | - | // equal their zero value; their fields are typically unexported, so | |
| 1293 | - | // recursing into them would be meaningless. | |
| 1294 | - | if encPropsForType(v.Type()).isValue { | |
| 1295 | - | return v.IsZero() | |
| 1296 | - | } | |
| 1297 | - | // Plain structs encode as tables and are empty when every field that | |
| 1298 | - | // would be encoded is itself empty. This matches the recursive rule | |
| 1299 | - | // used before the encoder rewrite and, in particular, treats a | |
| 1300 | - | // non-nil but empty map or slice as empty (reflect.Value.IsZero does | |
| 1301 | - | // not, which would otherwise emit an empty table header). | |
| 1302 | - | return isEmptyStruct(v) | |
| 1303 | - | default: | |
| 1304 | - | return false | |
| 1305 | - | } | |
| 1306 | - | } | |
| 1307 | - | ||
| 1308 | - | // isEmptyStruct reports whether all of a table-valued struct's encodable | |
| 1309 | - | // fields are empty per isEmptyValue. It mirrors the field selection done by | |
| 1310 | - | // collectStructEntries (embedded flattening, shadowing, and "-" skips) so the | |
| 1311 | - | // emptiness decision matches what would actually be encoded. | |
| 1312 | - | func isEmptyStruct(v reflect.Value) bool { | |
| 1313 | - | plan := encPlanForType(v.Type()) | |
| 1314 | - | for i := range plan.fields { | |
| 1315 | - | fv, ok := fieldByIndexSkipNil(v, plan.fields[i].index) | |
| 1316 | - | if !ok { | |
| 1317 | - | // A nil embedded pointer along the path contributes nothing. | |
| 1318 | - | continue | |
| 1319 | - | } | |
| 1320 | - | if !isEmptyValue(fv) { | |
| 1321 | - | return false | |
| 1322 | - | } | |
| 1323 | - | } | |
| 1324 | - | return true | |
| 1325 | - | } | |
| 1326 | - | ||
| 1327 | - | // isZeroValue implements the omitzero rules: the type's own IsZero() when | |
| 1328 | - | // implemented, the reflect zero value otherwise. | |
| 1329 | - | func isZeroValue(v reflect.Value) bool { | |
| 1330 | - | if v.Type().Implements(isZeroerType) { | |
| 1331 | - | return v.Interface().(isZeroer).IsZero() | |
| 1332 | - | } | |
| 1333 | - | if v.CanAddr() && reflect.PtrTo(v.Type()).Implements(isZeroerType) { | |
| 1334 | - | return v.Addr().Interface().(isZeroer).IsZero() | |
| 1335 | - | } | |
| 1336 | - | if !v.CanAddr() && reflect.PtrTo(v.Type()).Implements(isZeroerType) { | |
| 1337 | - | tmp := reflect.New(v.Type()) | |
| 1338 | - | tmp.Elem().Set(v) | |
| 1339 | - | return tmp.Interface().(isZeroer).IsZero() | |
| 1340 | - | } | |
| 1341 | - | return v.IsZero() | |
| 1342 | - | } | |
| 1343 | - | ||
| 1344 | - | // appendKey emits a key, quoted only if necessary. | |
| 1345 | - | func (e *encoderState) appendKey(b []byte, key string) []byte { | |
| 1346 | - | if isBareKey(key) { | |
| 1347 | - | return append(b, key...) | |
| 1348 | - | } | |
| 1349 | - | return e.appendString(b, key) | |
| 1350 | - | } | |
| 1351 | - | ||
| 1352 | - | func isBareKey(key string) bool { | |
| 1353 | - | if len(key) == 0 { | |
| 1354 | - | return false | |
| 1355 | - | } | |
| 1356 | - | for _, c := range []byte(key) { | |
| 1357 | - | if !isUnquotedKeyByte(c) { | |
| 1358 | - | return false | |
| 1359 | - | } | |
| 1360 | - | } | |
| 1361 | - | return true | |
| 1362 | - | } | |
| 1363 | - | ||
| 1364 | - | func isUnquotedKeyByte(c byte) bool { | |
| 1365 | - | return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '-' || c == '_' | |
| 1366 | - | } | |
| 1367 | - | ||
| 1368 | - | // appendValue emits a TOML value. | |
| 1369 | - | func (e *encoderState) appendValue(b []byte, v reflect.Value, opts valueOptions, indent int) ([]byte, error) { | |
| 1370 | - | t := v.Type() | |
| 1371 | - | ||
| 1372 | - | // Special types take precedence over their kind. | |
| 1373 | - | switch t { | |
| 1374 | - | case timeType: | |
| 1375 | - | return v.Interface().(time.Time).AppendFormat(b, "2006-01-02T15:04:05.999999999Z07:00"), nil | |
| 1376 | - | case localDateType: | |
| 1377 | - | return append(b, v.Interface().(LocalDate).String()...), nil | |
| 1378 | - | case localTimeType: | |
| 1379 | - | return append(b, v.Interface().(LocalTime).String()...), nil | |
| 1380 | - | case localDateTimeType: | |
| 1381 | - | return append(b, v.Interface().(LocalDateTime).String()...), nil | |
| 1382 | - | case jsonNumberType: | |
| 1383 | - | if e.marshalJSONNumbers { | |
| 1384 | - | return appendJSONNumber(b, v.Interface().(json.Number)) | |
| 1385 | - | } | |
| 1386 | - | } | |
| 1387 | - | ||
| 1388 | - | // A Marshaler reached through a value position (an array element or inline | |
| 1389 | - | // table member) splices its bytes verbatim. Everything (including the type | |
| 1390 | - | // check) lives in a separate method so this hot function keeps its default | |
| 1391 | - | // layout: when the opt-in interface is off, only the bool test runs here. | |
| 1392 | - | if e.marshalerOn { | |
| 1393 | - | if b2, done, err := e.appendMarshalerInline(b, v, t); done { | |
| 1394 | - | return b2, err | |
| 1395 | - | } | |
| 1396 | - | } | |
| 1397 | - | ||
| 1398 | - | switch encPropsForType(t).text { | |
| 1399 | - | case 1: | |
| 1400 | - | if t.Kind() != reflect.String { | |
| 1401 | - | return e.appendTextMarshaler(b, v.Interface().(encoding.TextMarshaler)) | |
| 1402 | - | } | |
| 1403 | - | case 2: | |
| 1404 | - | if v.CanAddr() { | |
| 1405 | - | return e.appendTextMarshaler(b, v.Addr().Interface().(encoding.TextMarshaler)) | |
| 1406 | - | } | |
| 1407 | - | tmp := reflect.New(t) | |
| 1408 | - | tmp.Elem().Set(v) | |
| 1409 | - | return e.appendTextMarshaler(b, tmp.Interface().(encoding.TextMarshaler)) | |
| 1410 | - | } | |
| 1411 | - | ||
| 1412 | - | switch v.Kind() { | |
| 1413 | - | case reflect.Ptr: | |
| 1414 | - | if v.IsNil() { | |
| 1415 | - | // nil pointers are encoded as the zero value of their element | |
| 1416 | - | // type. | |
| 1417 | - | return e.appendValue(b, reflect.Zero(t.Elem()), opts, indent) | |
| 1418 | - | } | |
| 1419 | - | return e.appendValue(b, v.Elem(), opts, indent) | |
| 1420 | - | case reflect.Interface: | |
| 1421 | - | if v.IsNil() { | |
| 1422 | - | return nil, errors.New("toml: cannot encode a nil interface") | |
| 1423 | - | } | |
| 1424 | - | return e.appendValue(b, v.Elem(), opts, indent) | |
| 1425 | - | case reflect.String: | |
| 1426 | - | s := v.String() | |
| 1427 | - | // The "multiline" option only takes effect when the string actually | |
| 1428 | - | // contains a newline. Wrapping a single-line value such as "2" in a | |
| 1429 | - | // """...""" block adds noise without improving readability, so it is | |
| 1430 | - | // emitted as a regular single-line string instead. | |
| 1431 | - | if opts.multiline && strings.IndexByte(s, '\n') >= 0 { | |
| 1432 | - | return e.appendMultilineString(b, s), nil | |
| 1433 | - | } | |
| 1434 | - | return e.appendString(b, s), nil | |
| 1435 | - | case reflect.Bool: | |
| 1436 | - | if v.Bool() { | |
| 1437 | - | return append(b, "true"...), nil | |
| 1438 | - | } | |
| 1439 | - | return append(b, "false"...), nil | |
| 1440 | - | case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: | |
| 1441 | - | return strconv.AppendInt(b, v.Int(), 10), nil | |
| 1442 | - | case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: | |
| 1443 | - | u := v.Uint() | |
| 1444 | - | if u > math.MaxInt64 { | |
| 1445 | - | return nil, fmt.Errorf("toml: cannot encode an unsigned integer above math.MaxInt64: %d", u) | |
| 1446 | - | } | |
| 1447 | - | return strconv.AppendUint(b, u, 10), nil | |
| 1448 | - | case reflect.Float32: | |
| 1449 | - | return appendFloat(b, v.Float(), 32), nil | |
| 1450 | - | case reflect.Float64: | |
| 1451 | - | return appendFloat(b, v.Float(), 64), nil | |
| 1452 | - | case reflect.Slice, reflect.Array: | |
| 1453 | - | return e.appendArray(b, v, opts, indent) | |
| 1454 | - | case reflect.Map: | |
| 1455 | - | return e.appendInlineTable(b, v, indent) | |
| 1456 | - | case reflect.Struct: | |
| 1457 | - | return e.appendInlineTable(b, v, indent) | |
| 1458 | - | default: | |
| 1459 | - | return nil, fmt.Errorf("toml: cannot encode value of type %s", v.Type()) | |
| 1460 | - | } | |
| 1461 | - | } | |
| 1462 | - | ||
| 1463 | - | var jsonNumberType = reflect.TypeOf(json.Number("")) | |
| 1464 | - | ||
| 1465 | - | func appendJSONNumber(b []byte, n json.Number) ([]byte, error) { | |
| 1466 | - | if n == "" { | |
| 1467 | - | return append(b, '0'), nil | |
| 1468 | - | } | |
| 1469 | - | if i, err := n.Int64(); err == nil { | |
| 1470 | - | return strconv.AppendInt(b, i, 10), nil | |
| 1471 | - | } | |
| 1472 | - | f, err := n.Float64() | |
| 1473 | - | if err != nil { | |
| 1474 | - | return nil, fmt.Errorf("toml: cannot encode json.Number %q: %w", string(n), err) | |
| 1475 | - | } | |
| 1476 | - | return appendFloat(b, f, 64), nil | |
| 1477 | - | } | |
| 1478 | - | ||
| 1479 | - | func appendFloat(b []byte, f float64, bitSize int) []byte { | |
| 1480 | - | switch { | |
| 1481 | - | case math.IsNaN(f): | |
| 1482 | - | return append(b, "nan"...) | |
| 1483 | - | case math.IsInf(f, 1): | |
| 1484 | - | return append(b, "inf"...) | |
| 1485 | - | case math.IsInf(f, -1): | |
| 1486 | - | return append(b, "-inf"...) | |
| 1487 | - | } | |
| 1488 | - | start := len(b) | |
| 1489 | - | b = strconv.AppendFloat(b, f, 'f', -1, bitSize) | |
| 1490 | - | // TOML floats must have a fractional part or an exponent. | |
| 1491 | - | if !bytes.ContainsAny(b[start:], ".eE") { | |
| 1492 | - | b = append(b, ".0"...) | |
| 1493 | - | } | |
| 1494 | - | return b | |
| 1495 | - | } | |
| 1496 | - | ||
| 1497 | - | func (e *encoderState) appendTextMarshaler(b []byte, m encoding.TextMarshaler) ([]byte, error) { | |
| 1498 | - | text, err := m.MarshalText() | |
| 1499 | - | if err != nil { | |
| 1500 | - | return nil, fmt.Errorf("toml: error calling MarshalText: %w", err) | |
| 1501 | - | } | |
| 1502 | - | return e.appendString(b, string(text)), nil | |
| 1503 | - | } | |
| 1504 | - | ||
| 1505 | - | // appendArray encodes a slice or array value. | |
| 1506 | - | func (e *encoderState) appendArray(b []byte, v reflect.Value, opts valueOptions, indent int) ([]byte, error) { | |
| 1507 | - | multiline := opts.multiline || e.arraysMultiline | |
| 1508 | - | ||
| 1509 | - | b = append(b, '[') | |
| 1510 | - | if multiline && v.Len() > 0 { | |
| 1511 | - | for i := 0; i < v.Len(); i++ { | |
| 1512 | - | if i > 0 { | |
| 1513 | - | b = append(b, ',') | |
| 1514 | - | } | |
| 1515 | - | b = append(b, '\n') | |
| 1516 | - | for j := 0; j <= indent; j++ { | |
| 1517 | - | b = append(b, e.indentSymbol...) | |
| 1518 | - | } | |
| 1519 | - | var err error | |
| 1520 | - | b, err = e.appendValue(b, v.Index(i), valueOptions{}, indent+1) | |
| 1521 | - | if err != nil { | |
| 1522 | - | return nil, err | |
| 1523 | - | } | |
| 1524 | - | } | |
| 1525 | - | b = append(b, '\n') | |
| 1526 | - | for j := 0; j < indent; j++ { | |
| 1527 | - | b = append(b, e.indentSymbol...) | |
| 1528 | - | } | |
| 1529 | - | } else { | |
| 1530 | - | for i := 0; i < v.Len(); i++ { | |
| 1531 | - | if i > 0 { | |
| 1532 | - | b = append(b, ", "...) | |
| 1533 | - | } | |
| 1534 | - | var err error | |
| 1535 | - | b, err = e.appendValue(b, v.Index(i), valueOptions{}, indent) | |
| 1536 | - | if err != nil { | |
| 1537 | - | return nil, err | |
| 1538 | - | } | |
| 1539 | - | } | |
| 1540 | - | } | |
| 1541 | - | return append(b, ']'), nil | |
| 1542 | - | } | |
| 1543 | - | ||
| 1544 | - | // appendInlineTable encodes a map or a struct as an inline table. | |
| 1545 | - | func (e *encoderState) appendInlineTable(b []byte, v reflect.Value, indent int) ([]byte, error) { | |
| 1546 | - | entries, err := e.collectEntries(v) | |
| 1547 | - | if err != nil { | |
| 1548 | - | return nil, err | |
| 1549 | - | } | |
| 1550 | - | ||
| 1551 | - | b = append(b, '{') | |
| 1552 | - | for i, ent := range entries { | |
| 1553 | - | if i > 0 { | |
| 1554 | - | b = append(b, ", "...) | |
| 1555 | - | } | |
| 1556 | - | b = e.appendKey(b, ent.key) | |
| 1557 | - | b = append(b, " = "...) | |
| 1558 | - | // multiline strings are not allowed inside inline tables: they | |
| 1559 | - | // would break the single-line requirement. | |
| 1560 | - | opts := ent.options | |
| 1561 | - | opts.multiline = false | |
| 1562 | - | b, err = e.appendValue(b, ent.value, opts, indent) | |
| 1563 | - | if err != nil { | |
| 1564 | - | return nil, err | |
| 1565 | - | } | |
| 1566 | - | } | |
| 1567 | - | e.putEntries(entries) | |
| 1568 | - | return append(b, '}'), nil | |
| 1569 | - | } | |
| 1570 | - | ||
| 1571 | - | // appendString encodes a string, using a literal string when possible and a | |
| 1572 | - | // basic string otherwise. | |
| 1573 | - | func (e *encoderState) appendString(b []byte, s string) []byte { | |
| 1574 | - | if canBeLiteral(s) { | |
| 1575 | - | b = append(b, '\'') | |
| 1576 | - | b = append(b, s...) | |
| 1577 | - | return append(b, '\'') | |
| 1578 | - | } | |
| 1579 | - | return appendBasicString(b, s) | |
| 1580 | - | } | |
| 1581 | - | ||
| 1582 | - | // canBeLiteral returns true when the string can be represented as a TOML | |
| 1583 | - | // literal string: no control characters, no single quote, no newline. | |
| 1584 | - | func canBeLiteral(s string) bool { | |
| 1585 | - | for i := 0; i < len(s); i++ { | |
| 1586 | - | c := s[i] | |
| 1587 | - | if c == '\'' || c == 0x7f || c < 0x20 { | |
| 1588 | - | return false | |
| 1589 | - | } | |
| 1590 | - | } | |
| 1591 | - | return utf8.ValidString(s) | |
| 1592 | - | } | |
| 1593 | - | ||
| 1594 | - | // appendBasicString encodes a string as a TOML basic (double-quoted) string. | |
| 1595 | - | func appendBasicString(b []byte, s string) []byte { | |
| 1596 | - | b = append(b, '"') | |
| 1597 | - | for i := 0; i < len(s); { | |
| 1598 | - | c := s[i] | |
| 1599 | - | switch { | |
| 1600 | - | case c == '"': | |
| 1601 | - | b = append(b, '\\', '"') | |
| 1602 | - | i++ | |
| 1603 | - | case c == '\\': | |
| 1604 | - | b = append(b, '\\', '\\') | |
| 1605 | - | i++ | |
| 1606 | - | case c == '\b': | |
| 1607 | - | b = append(b, '\\', 'b') | |
| 1608 | - | i++ | |
| 1609 | - | case c == '\f': | |
| 1610 | - | b = append(b, '\\', 'f') | |
| 1611 | - | i++ | |
| 1612 | - | case c == '\n': | |
| 1613 | - | b = append(b, '\\', 'n') | |
| 1614 | - | i++ | |
| 1615 | - | case c == '\r': | |
| 1616 | - | b = append(b, '\\', 'r') | |
| 1617 | - | i++ | |
| 1618 | - | case c == '\t': | |
| 1619 | - | b = append(b, '\\', 't') | |
| 1620 | - | i++ | |
| 1621 | - | case c < 0x20 || c == 0x7f: | |
| 1622 | - | b = append(b, fmt.Sprintf("\\u%04X", c)...) | |
| 1623 | - | i++ | |
| 1624 | - | default: | |
| 1625 | - | r, size := utf8.DecodeRuneInString(s[i:]) | |
| 1626 | - | if r == utf8.RuneError && size == 1 { | |
| 1627 | - | // Replace invalid bytes by the replacement character. | |
| 1628 | - | b = append(b, fmt.Sprintf("\\u%04X", c)...) | |
| 1629 | - | i++ | |
| 1630 | - | continue | |
| 1631 | - | } | |
| 1632 | - | b = append(b, s[i:i+size]...) | |
| 1633 | - | i += size | |
| 1634 | - | } | |
| 1635 | - | } | |
| 1636 | - | return append(b, '"') | |
| 1637 | - | } | |
| 1638 | - | ||
| 1639 | - | // appendMultilineString encodes a string as a TOML multi-line basic string. | |
| 1640 | - | func appendMultilineString(b []byte, s string) []byte { | |
| 1641 | - | b = append(b, `"""`...) | |
| 1642 | - | b = append(b, '\n') | |
| 1643 | - | for i := 0; i < len(s); { | |
| 1644 | - | c := s[i] | |
| 1645 | - | switch { | |
| 1646 | - | case c == '"': | |
| 1647 | - | // Runs of three or more quotes must be escaped. | |
| 1648 | - | j := i | |
| 1649 | - | for j < len(s) && s[j] == '"' { | |
| 1650 | - | j++ | |
| 1651 | - | } | |
| 1652 | - | if j-i >= 3 { | |
| 1653 | - | for ; i < j; i++ { | |
| 1654 | - | b = append(b, '\\', '"') | |
| 1655 | - | } | |
| 1656 | - | } else { | |
| 1657 | - | b = append(b, s[i:j]...) | |
| 1658 | - | i = j | |
| 1659 | - | } | |
| 1660 | - | case c == '\\': | |
| 1661 | - | b = append(b, '\\', '\\') | |
| 1662 | - | i++ | |
| 1663 | - | case c == '\n': | |
| 1664 | - | b = append(b, '\n') | |
| 1665 | - | i++ | |
| 1666 | - | case c == '\b': | |
| 1667 | - | b = append(b, '\\', 'b') | |
| 1668 | - | i++ | |
| 1669 | - | case c == '\f': | |
| 1670 | - | b = append(b, '\\', 'f') | |
| 1671 | - | i++ | |
| 1672 | - | case c == '\r': | |
| 1673 | - | b = append(b, '\\', 'r') | |
| 1674 | - | i++ | |
| 1675 | - | case c == '\t': | |
| 1676 | - | b = append(b, '\t') | |
| 1677 | - | i++ | |
| 1678 | - | case c < 0x20 || c == 0x7f: | |
| 1679 | - | b = append(b, fmt.Sprintf("\\u%04X", c)...) | |
| 1680 | - | i++ | |
| 1681 | - | default: | |
| 1682 | - | r, size := utf8.DecodeRuneInString(s[i:]) | |
| 1683 | - | if r == utf8.RuneError && size == 1 { | |
| 1684 | - | b = append(b, fmt.Sprintf("\\u%04X", c)...) | |
| 1685 | - | i++ | |
| 1686 | - | continue | |
| 1687 | - | } | |
| 1688 | - | b = append(b, s[i:i+size]...) | |
| 1689 | - | i += size | |
| 1690 | - | } | |
| 1691 | - | } | |
| 1692 | - | return append(b, `"""`...) | |
| 1693 | - | } | |
| 1694 | - | ||
| 1695 | - | func (e *encoderState) appendMultilineString(b []byte, s string) []byte { | |
| 1696 | - | return appendMultilineString(b, s) | |
| 1697 | - | } | |
| @@ -1,1697 +0,0 @@ | |||||
| 1 | - | package toml | |||
| 2 | - | ||||
| 3 | - | import ( | |||
| 4 | - | "bytes" | |||
| 5 | - | "encoding" | |||
| 6 | - | "encoding/json" | |||
| 7 | - | "errors" | |||
| 8 | - | "fmt" | |||
| 9 | - | "io" | |||
| 10 | - | "math" | |||
| 11 | - | "reflect" | |||
| 12 | - | "slices" | |||
| 13 | - | "strconv" | |||
| 14 | - | "strings" | |||
| 15 | - | "sync" | |||
| 16 | - | "time" | |||
| 17 | - | "unicode/utf8" | |||
| 18 | - | ||||
| 19 | - | "github.com/pelletier/go-toml/v2/internal/parserbridge" | |||
| 20 | - | "github.com/pelletier/go-toml/v2/unstable" | |||
| 21 | - | ) | |||
| 22 | - | ||||
| 23 | - | // Marshal serializes a Go value as a TOML document. | |||
| 24 | - | // | |||
| 25 | - | // It is a shortcut for Encoder.Encode() with the default options. | |||
| 26 | - | func Marshal(v interface{}) ([]byte, error) { | |||
| 27 | - | enc := Encoder{indentSymbol: " "} | |||
| 28 | - | ||||
| 29 | - | e := encoderStatePool.Get().(*encoderState) | |||
| 30 | - | e.Encoder = &enc | |||
| 31 | - | e.marshalerOn = enc.marshalerInterface | |||
| 32 | - | e.buf = e.buf[:0] | |||
| 33 | - | e.keyStack = e.keyStack[:0] | |||
| 34 | - | e.lastWasHeader = false | |||
| 35 | - | ||||
| 36 | - | err := e.encodeRoot(v) | |||
| 37 | - | if err != nil { | |||
| 38 | - | encoderStatePool.Put(e) | |||
| 39 | - | return nil, err | |||
| 40 | - | } | |||
| 41 | - | ||||
| 42 | - | out := make([]byte, len(e.buf)) | |||
| 43 | - | copy(out, e.buf) | |||
| 44 | - | encoderStatePool.Put(e) | |||
| 45 | - | return out, nil | |||
| 46 | - | } | |||
| 47 | - | ||||
| 48 | - | // Encoder writes a TOML document to an output stream. | |||
| 49 | - | type Encoder struct { | |||
| 50 | - | // output | |||
| 51 | - | w io.Writer | |||
| 52 | - | ||||
| 53 | - | // global settings | |||
| 54 | - | tablesInline bool | |||
| 55 | - | arraysMultiline bool | |||
| 56 | - | indentSymbol string | |||
| 57 | - | indentTables bool | |||
| 58 | - | marshalJSONNumbers bool | |||
| 59 | - | ||||
| 60 | - | // toggles the unstable.Marshaler interface | |||
| 61 | - | marshalerInterface bool | |||
| 62 | - | } | |||
| 63 | - | ||||
| 64 | - | // NewEncoder returns a new Encoder that writes to w. | |||
| 65 | - | func NewEncoder(w io.Writer) *Encoder { | |||
| 66 | - | return &Encoder{ | |||
| 67 | - | w: w, | |||
| 68 | - | indentSymbol: " ", | |||
| 69 | - | } | |||
| 70 | - | } | |||
| 71 | - | ||||
| 72 | - | // SetTablesInline forces the encoder to emit all tables inline. | |||
| 73 | - | // | |||
| 74 | - | // This behavior can be controlled on an individual struct field basis with | |||
| 75 | - | // the inline tag: | |||
| 76 | - | // | |||
| 77 | - | // MyField `toml:",inline"` | |||
| 78 | - | func (enc *Encoder) SetTablesInline(inline bool) *Encoder { | |||
| 79 | - | enc.tablesInline = inline | |||
| 80 | - | return enc | |||
| 81 | - | } | |||
| 82 | - | ||||
| 83 | - | // SetArraysMultiline forces the encoder to emit all arrays with one element | |||
| 84 | - | // per line. | |||
| 85 | - | // | |||
| 86 | - | // This behavior can be controlled on an individual struct field basis with | |||
| 87 | - | // the multiline tag: | |||
| 88 | - | // | |||
| 89 | - | // MyField `multiline:"true"` | |||
| 90 | - | func (enc *Encoder) SetArraysMultiline(multiline bool) *Encoder { | |||
| 91 | - | enc.arraysMultiline = multiline | |||
| 92 | - | return enc | |||
| 93 | - | } | |||
| 94 | - | ||||
| 95 | - | // SetIndentSymbol defines the string that should be used for indentation. The | |||
| 96 | - | // provided string is repeated for each indentation level. Defaults to two | |||
| 97 | - | // spaces. | |||
| 98 | - | func (enc *Encoder) SetIndentSymbol(s string) *Encoder { | |||
| 99 | - | enc.indentSymbol = s | |||
| 100 | - | return enc | |||
| 101 | - | } | |||
| 102 | - | ||||
| 103 | - | // SetIndentTables forces the encoder to intent tables and array tables. | |||
| 104 | - | func (enc *Encoder) SetIndentTables(indent bool) *Encoder { | |||
| 105 | - | enc.indentTables = indent | |||
| 106 | - | return enc | |||
| 107 | - | } | |||
| 108 | - | ||||
| 109 | - | // SetMarshalJSONNumbers forces the encoder to serialize `json.Number` as a | |||
| 110 | - | // float or integer instead of relying on TextMarshaler to emit a string. | |||
| 111 | - | // | |||
| 112 | - | // *Unstable:* This method does not follow the compatibility guarantees of | |||
| 113 | - | // semver. It can be changed or removed without a new major version being | |||
| 114 | - | // issued. | |||
| 115 | - | func (enc *Encoder) SetMarshalJSONNumbers(indent bool) *Encoder { | |||
| 116 | - | enc.marshalJSONNumbers = indent | |||
| 117 | - | return enc | |||
| 118 | - | } | |||
| 119 | - | ||||
| 120 | - | // EnableMarshalerInterface enables the unstable.Marshaler interface. | |||
| 121 | - | // | |||
| 122 | - | // With this feature enabled, types implementing the unstable.Marshaler | |||
| 123 | - | // interface emit their own raw TOML instead of being encoded structurally. It | |||
| 124 | - | // is the encoding counterpart of Decoder.EnableUnmarshalerInterface, and allows | |||
| 125 | - | // types such as unstable.RawMessage to round-trip raw TOML bytes. | |||
| 126 | - | // | |||
| 127 | - | // The bytes returned by MarshalTOML are spliced into the document verbatim. The | |||
| 128 | - | // encoder parses them to decide between the valid positions: | |||
| 129 | - | // - bytes forming a single value are emitted inline, as in `key = <raw>`; | |||
| 130 | - | // - bytes forming key-value lines are emitted as the body of a `[key]` table; | |||
| 131 | - | // - at the document root, the bytes are emitted as the whole document: the | |||
| 132 | - | // encode counterpart of the decoder delivering the whole document to a | |||
| 133 | - | // root unstable.Unmarshaler. | |||
| 134 | - | // | |||
| 135 | - | // An empty result is omitted from the output. Bytes that are not valid TOML | |||
| 136 | - | // for their position result in an error, as do bytes forming table content in | |||
| 137 | - | // a position where only a value is valid (an array element, an inline table, | |||
| 138 | - | // or a table forced inline). MarshalTOML can be called more than once for the | |||
| 139 | - | // same value during a single encode, so it must be deterministic. | |||
| 140 | - | // | |||
| 141 | - | // *Unstable:* This method does not follow the compatibility guarantees of | |||
| 142 | - | // semver. It can be changed or removed without a new major version being | |||
| 143 | - | // issued. | |||
| 144 | - | func (enc *Encoder) EnableMarshalerInterface() *Encoder { | |||
| 145 | - | enc.marshalerInterface = true | |||
| 146 | - | return enc | |||
| 147 | - | } | |||
| 148 | - | ||||
| 149 | - | // Encode writes a TOML representation of v to the stream. | |||
| 150 | - | // | |||
| 151 | - | // If v cannot be represented to TOML it returns an error. | |||
| 152 | - | // | |||
| 153 | - | // # Encoding rules | |||
| 154 | - | // | |||
| 155 | - | // A top level slice containing only maps or structs is encoded as [[table | |||
| 156 | - | // array]]. | |||
| 157 | - | // | |||
| 158 | - | // All slices not matching rule 1 are encoded as [array]. As a result, any map | |||
| 159 | - | // or struct they contain is encoded as an {inline table}. | |||
| 160 | - | // | |||
| 161 | - | // Nil interfaces and nil pointers are not supported. | |||
| 162 | - | // | |||
| 163 | - | // Keys in key-values always have one part. | |||
| 164 | - | // | |||
| 165 | - | // Intermediate tables are always printed. | |||
| 166 | - | // | |||
| 167 | - | // By default, strings are encoded as literal string, unless they contain | |||
| 168 | - | // either a newline character or a single quote. In that case they are emitted | |||
| 169 | - | // as quoted strings. | |||
| 170 | - | // | |||
| 171 | - | // Unsigned integers larger than math.MaxInt64 cannot be encoded. Doing so | |||
| 172 | - | // results in an error. This rule exists because the TOML specification only | |||
| 173 | - | // requires parsers to support at least the 64 bits integer range. Allowing | |||
| 174 | - | // larger numbers would create non-standard TOML documents, which may not be | |||
| 175 | - | // readable (at best) by other implementations. To encode such numbers, a | |||
| 176 | - | // solution is a custom type that implements encoding.TextMarshaler. | |||
| 177 | - | // | |||
| 178 | - | // When encoding structs, fields are encoded in order of definition, with | |||
| 179 | - | // their exact name. | |||
| 180 | - | // | |||
| 181 | - | // Tables and array tables are separated by empty lines. However, consecutive | |||
| 182 | - | // subtables definitions are not. For example: | |||
| 183 | - | // | |||
| 184 | - | // [top1] | |||
| 185 | - | // | |||
| 186 | - | // [top2] | |||
| 187 | - | // [top2.child1] | |||
| 188 | - | // | |||
| 189 | - | // [[array]] | |||
| 190 | - | // | |||
| 191 | - | // [[array]] | |||
| 192 | - | // [array.child2] | |||
| 193 | - | // | |||
| 194 | - | // # Struct tags | |||
| 195 | - | // | |||
| 196 | - | // The encoding of each public struct field can be customized by the format | |||
| 197 | - | // string in the "toml" key of the struct field's tag. This follows | |||
| 198 | - | // encoding/json's convention. The format string starts with the name of the | |||
| 199 | - | // field, optionally followed by a comma-separated list of options. The name | |||
| 200 | - | // may be empty in order to provide options without overriding the default | |||
| 201 | - | // name. | |||
| 202 | - | // | |||
| 203 | - | // The "multiline" option emits strings as quoted multi-line TOML strings, and | |||
| 204 | - | // arrays with one element per line. For strings, it only takes effect when the | |||
| 205 | - | // value contains a newline; single-line values are emitted as regular strings. | |||
| 206 | - | // It has no effect on fields that would not be encoded as strings or arrays. | |||
| 207 | - | // | |||
| 208 | - | // The "inline" option turns fields that would be emitted as tables into | |||
| 209 | - | // inline tables instead. It has no effect on other fields. | |||
| 210 | - | // | |||
| 211 | - | // The "omitempty" option prevents empty values or groups from being emitted. | |||
| 212 | - | // | |||
| 213 | - | // The "omitzero" option prevents zero values or groups from being emitted. | |||
| 214 | - | // | |||
| 215 | - | // The "commented" option prefixes the value and all its children with a | |||
| 216 | - | // comment symbol. | |||
| 217 | - | // | |||
| 218 | - | // In addition to the "toml" tag struct tag, a "comment" tag can be used to | |||
| 219 | - | // emit a TOML comment before the value being annotated. Comments are ignored | |||
| 220 | - | // inside inline tables. For array tables, the comment is only present before | |||
| 221 | - | // the first element of the array. | |||
| 222 | - | func (enc *Encoder) Encode(v interface{}) error { | |||
| 223 | - | e := encoderStatePool.Get().(*encoderState) | |||
| 224 | - | e.Encoder = enc | |||
| 225 | - | e.marshalerOn = enc.marshalerInterface | |||
| 226 | - | e.buf = e.buf[:0] | |||
| 227 | - | e.keyStack = e.keyStack[:0] | |||
| 228 | - | e.lastWasHeader = false | |||
| 229 | - | ||||
| 230 | - | err := e.encodeRoot(v) | |||
| 231 | - | if err != nil { | |||
| 232 | - | encoderStatePool.Put(e) | |||
| 233 | - | return err | |||
| 234 | - | } | |||
| 235 | - | ||||
| 236 | - | _, err = enc.w.Write(e.buf) | |||
| 237 | - | encoderStatePool.Put(e) | |||
| 238 | - | if err != nil { | |||
| 239 | - | return fmt.Errorf("toml: cannot write: %w", err) | |||
| 240 | - | } | |||
| 241 | - | return nil | |||
| 242 | - | } | |||
| 243 | - | ||||
| 244 | - | var encoderStatePool = sync.Pool{ | |||
| 245 | - | New: func() interface{} { return &encoderState{} }, | |||
| 246 | - | } | |||
| 247 | - | ||||
| 248 | - | type encoderState struct { | |||
| 249 | - | *Encoder | |||
| 250 | - | ||||
| 251 | - | buf []byte | |||
| 252 | - | ||||
| 253 | - | // keyStack is the dotted key of the table being encoded, shared by the | |||
| 254 | - | // whole encode as a stack. | |||
| 255 | - | keyStack []string | |||
| 256 | - | ||||
| 257 | - | // entriesPool recycles entry slices across tables of the same encode. | |||
| 258 | - | entriesPool [][]entry | |||
| 259 | - | ||||
| 260 | - | // lastWasHeader is true when the last line written was a table header, | |||
| 261 | - | // used to avoid empty lines between consecutive table definitions. | |||
| 262 | - | lastWasHeader bool | |||
| 263 | - | ||||
| 264 | - | // stringKeyBuf is a reusable buffer to read string map keys without | |||
| 265 | - | // allocating one per map. | |||
| 266 | - | stringKeyBuf reflect.Value | |||
| 267 | - | ||||
| 268 | - | // parser classifies the bytes returned by unstable.Marshaler values as a | |||
| 269 | - | // single value or a table body. Only used when marshalerOn is set. | |||
| 270 | - | parser unstable.Parser | |||
| 271 | - | ||||
| 272 | - | // marshalerOn mirrors Encoder.marshalerInterface, copied onto the state so | |||
| 273 | - | // the per-value hot path checks a direct field instead of dereferencing the | |||
| 274 | - | // embedded *Encoder on every value. | |||
| 275 | - | marshalerOn bool | |||
| 276 | - | } | |||
| 277 | - | ||||
| 278 | - | // valueOptions are the encoding options attached to one entry of a table. | |||
| 279 | - | type valueOptions struct { | |||
| 280 | - | multiline bool | |||
| 281 | - | inline bool | |||
| 282 | - | omitempty bool | |||
| 283 | - | omitzero bool | |||
| 284 | - | commented bool | |||
| 285 | - | // rawShape is the unstable.Marshaler classification of the entry's value, | |||
| 286 | - | // resolved at encode time (not from tags). It lives here, in the byte of | |||
| 287 | - | // padding the booleans already leave, so that entry does not grow and the | |||
| 288 | - | // encoder's default (interface-disabled) path keeps its exact layout and | |||
| 289 | - | // performance. It stays shapeUnknown for everything that is not a Marshaler. | |||
| 290 | - | rawShape rawShape | |||
| 291 | - | comment string | |||
| 292 | - | } | |||
| 293 | - | ||||
| 294 | - | // entry is a deferred key-value of a table being encoded. | |||
| 295 | - | type entry struct { | |||
| 296 | - | key string | |||
| 297 | - | value reflect.Value | |||
| 298 | - | options valueOptions | |||
| 299 | - | } | |||
| 300 | - | ||||
| 301 | - | // rawShape classifies the bytes produced by an unstable.Marshaler. | |||
| 302 | - | type rawShape uint8 | |||
| 303 | - | ||||
| 304 | - | const ( | |||
| 305 | - | // shapeUnknown is the default: not an unstable.Marshaler, or the interface | |||
| 306 | - | // is disabled. | |||
| 307 | - | shapeUnknown rawShape = iota | |||
| 308 | - | // shapeEmpty is whitespace-only content: it has no TOML representation and | |||
| 309 | - | // is omitted from the output. | |||
| 310 | - | shapeEmpty | |||
| 311 | - | // shapeValue is a single TOML value, emitted inline as `key = <raw>`. | |||
| 312 | - | shapeValue | |||
| 313 | - | // shapeTable is one or more key-value lines, emitted as a `[key]` body. | |||
| 314 | - | shapeTable | |||
| 315 | - | ) | |||
| 316 | - | ||||
| 317 | - | func (e *encoderState) encodeRoot(v interface{}) error { | |||
| 318 | - | if v == nil { | |||
| 319 | - | return errors.New("toml: cannot encode a nil interface") | |||
| 320 | - | } | |||
| 321 | - | ||||
| 322 | - | rv := reflect.ValueOf(v) | |||
| 323 | - | rv, ok := resolve(rv) | |||
| 324 | - | if !ok { | |||
| 325 | - | return errors.New("toml: cannot encode a nil pointer") | |||
| 326 | - | } | |||
| 327 | - | ||||
| 328 | - | if e.marshalerOn && encPropsForType(rv.Type()).marshaler != 0 { | |||
| 329 | - | return e.encodeMarshalerRoot(rv) | |||
| 330 | - | } | |||
| 331 | - | ||||
| 332 | - | switch rv.Kind() { | |||
| 333 | - | case reflect.Map, reflect.Struct: | |||
| 334 | - | if isValueKind(rv) { | |||
| 335 | - | return fmt.Errorf("toml: cannot encode a %s as a document root", rv.Type()) | |||
| 336 | - | } | |||
| 337 | - | return e.encodeTable(rv, false, 0) | |||
| 338 | - | default: | |||
| 339 | - | return fmt.Errorf("toml: cannot encode a %s as a document root", rv.Type()) | |||
| 340 | - | } | |||
| 341 | - | } | |||
| 342 | - | ||||
| 343 | - | // encodeMarshalerRoot emits the bytes of a root-level unstable.Marshaler as | |||
| 344 | - | // the whole document: the encode counterpart of the decoder delivering the | |||
| 345 | - | // whole document to a root Unmarshaler. The bytes must form a TOML document | |||
| 346 | - | // (key-value lines and table headers); empty output produces an empty | |||
| 347 | - | // document. | |||
| 348 | - | func (e *encoderState) encodeMarshalerRoot(rv reflect.Value) error { | |||
| 349 | - | raw, err := e.marshalerBytes(rv) | |||
| 350 | - | if err != nil { | |||
| 351 | - | return err | |||
| 352 | - | } | |||
| 353 | - | trimmed := bytes.TrimSpace(raw) | |||
| 354 | - | if len(trimmed) == 0 { | |||
| 355 | - | return nil | |||
| 356 | - | } | |||
| 357 | - | if err := e.validateRawTableBody(rv.Type(), trimmed); err != nil { | |||
| 358 | - | // A single TOML value has no meaning at the document root; report it | |||
| 359 | - | // as such rather than as a syntax error. | |||
| 360 | - | if shape, _ := e.classifyRaw(trimmed); shape == shapeValue { | |||
| 361 | - | return fmt.Errorf("toml: cannot encode %s as a document root: MarshalTOML returned a single TOML value, not a document", rv.Type()) | |||
| 362 | - | } | |||
| 363 | - | return err | |||
| 364 | - | } | |||
| 365 | - | e.buf = append(e.buf, trimmed...) | |||
| 366 | - | e.buf = append(e.buf, '\n') | |||
| 367 | - | e.lastWasHeader = false | |||
| 368 | - | return nil | |||
| 369 | - | } | |||
| 370 | - | ||||
| 371 | - | // resolve unwraps pointers and interfaces until a concrete value is found. | |||
| 372 | - | // Returns false if it resolves to nil. | |||
| 373 | - | func resolve(v reflect.Value) (reflect.Value, bool) { | |||
| 374 | - | for { | |||
| 375 | - | switch v.Kind() { | |||
| 376 | - | case reflect.Ptr: | |||
| 377 | - | if v.IsNil() { | |||
| 378 | - | return v, false | |||
| 379 | - | } | |||
| 380 | - | v = v.Elem() | |||
| 381 | - | case reflect.Interface: | |||
| 382 | - | if v.IsNil() { | |||
| 383 | - | return v, false | |||
| 384 | - | } | |||
| 385 | - | v = v.Elem() | |||
| 386 | - | default: | |||
| 387 | - | return v, true | |||
| 388 | - | } | |||
| 389 | - | } | |||
| 390 | - | } | |||
| 391 | - | ||||
| 392 | - | // typeEncProps caches the per-type facts used on every value encode. | |||
| 393 | - | type typeEncProps struct { | |||
| 394 | - | // 0: not a TextMarshaler, 1: the type implements it, 2: its pointer does | |||
| 395 | - | text uint8 | |||
| 396 | - | // 0: not an unstable.Marshaler, 1: the type implements it, 2: its pointer | |||
| 397 | - | // does. Only consulted when Encoder.marshalerInterface is set. | |||
| 398 | - | marshaler uint8 | |||
| 399 | - | // encoded as a TOML value (as opposed to a table) | |||
| 400 | - | isValue bool | |||
| 401 | - | } | |||
| 402 | - | ||||
| 403 | - | var marshalerType = reflect.TypeOf(new(unstable.Marshaler)).Elem() | |||
| 404 | - | ||||
| 405 | - | var typeEncPropsCache sync.Map // reflect.Type -> typeEncProps | |||
| 406 | - | ||||
| 407 | - | func encPropsForType(t reflect.Type) typeEncProps { | |||
| 408 | - | if p, ok := typeEncPropsCache.Load(t); ok { | |||
| 409 | - | return p.(typeEncProps) | |||
| 410 | - | } | |||
| 411 | - | var p typeEncProps | |||
| 412 | - | switch { | |||
| 413 | - | case t.Implements(textMarshalerType): | |||
| 414 | - | p.text = 1 | |||
| 415 | - | case reflect.PtrTo(t).Implements(textMarshalerType): | |||
| 416 | - | p.text = 2 | |||
| 417 | - | } | |||
| 418 | - | switch { | |||
| 419 | - | case t.Implements(marshalerType): | |||
| 420 | - | p.marshaler = 1 | |||
| 421 | - | case reflect.PtrTo(t).Implements(marshalerType): | |||
| 422 | - | p.marshaler = 2 | |||
| 423 | - | } | |||
| 424 | - | switch t { | |||
| 425 | - | case timeType, localDateType, localTimeType, localDateTimeType: | |||
| 426 | - | p.isValue = true | |||
| 427 | - | default: | |||
| 428 | - | if p.text != 0 { | |||
| 429 | - | p.isValue = true | |||
| 430 | - | } else { | |||
| 431 | - | switch t.Kind() { | |||
| 432 | - | case reflect.Map, reflect.Struct: | |||
| 433 | - | p.isValue = false | |||
| 434 | - | default: | |||
| 435 | - | p.isValue = true | |||
| 436 | - | } | |||
| 437 | - | } | |||
| 438 | - | } | |||
| 439 | - | typeEncPropsCache.Store(t, p) | |||
| 440 | - | return p | |||
| 441 | - | } | |||
| 442 | - | ||||
| 443 | - | // isValueKind returns true when the resolved value is encoded as a TOML | |||
| 444 | - | // value (as opposed to a table). | |||
| 445 | - | func isValueKind(v reflect.Value) bool { | |||
| 446 | - | return encPropsForType(v.Type()).isValue | |||
| 447 | - | } | |||
| 448 | - | ||||
| 449 | - | // isTableLike returns true when the value should be encoded as a table (or | |||
| 450 | - | // an array of tables for slices). | |||
| 451 | - | func (e *encoderState) isTableLike(v reflect.Value) bool { | |||
| 452 | - | v, ok := resolve(v) | |||
| 453 | - | if !ok { | |||
| 454 | - | // Unresolvable values (interface-held nil pointers) are encoded as | |||
| 455 | - | // the zero value of their element type by the value path. | |||
| 456 | - | return false | |||
| 457 | - | } | |||
| 458 | - | return !isValueKind(v) | |||
| 459 | - | } | |||
| 460 | - | ||||
| 461 | - | // isArrayOfTables returns true when the value is a non-empty slice or array | |||
| 462 | - | // containing only table-like values. | |||
| 463 | - | func (e *encoderState) isArrayOfTables(v reflect.Value) bool { | |||
| 464 | - | v, ok := resolve(v) | |||
| 465 | - | if !ok { | |||
| 466 | - | return false | |||
| 467 | - | } | |||
| 468 | - | if v.Kind() != reflect.Slice && v.Kind() != reflect.Array { | |||
| 469 | - | return false | |||
| 470 | - | } | |||
| 471 | - | if v.Len() == 0 { | |||
| 472 | - | return false | |||
| 473 | - | } | |||
| 474 | - | // The Marshaler-aware classification lives in a separate method, hoisted out | |||
| 475 | - | // of this loop, so the default path keeps its exact original shape. | |||
| 476 | - | if e.marshalerOn { | |||
| 477 | - | return e.isMarshalerArrayOfTables(v) | |||
| 478 | - | } | |||
| 479 | - | for i := 0; i < v.Len(); i++ { | |||
| 480 | - | elem, ok := resolve(v.Index(i)) | |||
| 481 | - | if !ok || isValueKind(elem) { | |||
| 482 | - | return false | |||
| 483 | - | } | |||
| 484 | - | } | |||
| 485 | - | return true | |||
| 486 | - | } | |||
| 487 | - | ||||
| 488 | - | // isMarshalerArrayOfTables is the EnableMarshalerInterface variant of | |||
| 489 | - | // isArrayOfTables: a Marshaler element counts as a table only when its raw | |||
| 490 | - | // content is table shaped (key-value lines); one holding a single value makes | |||
| 491 | - | // the whole slice a plain array instead. | |||
| 492 | - | func (e *encoderState) isMarshalerArrayOfTables(v reflect.Value) bool { | |||
| 493 | - | for i := 0; i < v.Len(); i++ { | |||
| 494 | - | elem, ok := resolve(v.Index(i)) | |||
| 495 | - | if !ok { | |||
| 496 | - | return false | |||
| 497 | - | } | |||
| 498 | - | if encPropsForType(elem.Type()).marshaler != 0 { | |||
| 499 | - | raw, err := e.marshalerBytes(elem) | |||
| 500 | - | if err != nil { | |||
| 501 | - | return false | |||
| 502 | - | } | |||
| 503 | - | if shape, _ := e.classifyRaw(raw); shape != shapeTable { | |||
| 504 | - | return false | |||
| 505 | - | } | |||
| 506 | - | continue | |||
| 507 | - | } | |||
| 508 | - | if isValueKind(elem) { | |||
| 509 | - | return false | |||
| 510 | - | } | |||
| 511 | - | } | |||
| 512 | - | return true | |||
| 513 | - | } | |||
| 514 | - | ||||
| 515 | - | // marshalerBytes returns the raw TOML produced by v's unstable.Marshaler | |||
| 516 | - | // implementation. The caller guarantees v implements the interface | |||
| 517 | - | // (encPropsForType(v.Type()).marshaler != 0). | |||
| 518 | - | func (e *encoderState) marshalerBytes(v reflect.Value) ([]byte, error) { | |||
| 519 | - | t := v.Type() | |||
| 520 | - | var m unstable.Marshaler | |||
| 521 | - | switch { | |||
| 522 | - | case encPropsForType(t).marshaler == 1: | |||
| 523 | - | // The type itself implements Marshaler (e.g. a value receiver). | |||
| 524 | - | m = v.Interface().(unstable.Marshaler) | |||
| 525 | - | case v.CanAddr(): | |||
| 526 | - | // Only the pointer implements it, and v is addressable. | |||
| 527 | - | m = v.Addr().Interface().(unstable.Marshaler) | |||
| 528 | - | default: | |||
| 529 | - | // Only the pointer implements it, but v is not addressable: take the | |||
| 530 | - | // address of a copy. | |||
| 531 | - | tmp := reflect.New(t) | |||
| 532 | - | tmp.Elem().Set(v) | |||
| 533 | - | m = tmp.Interface().(unstable.Marshaler) | |||
| 534 | - | } | |||
| 535 | - | b, err := m.MarshalTOML() | |||
| 536 | - | if err != nil { | |||
| 537 | - | return nil, fmt.Errorf("toml: error calling MarshalTOML for type %s: %w", t, err) | |||
| 538 | - | } | |||
| 539 | - | return b, nil | |||
| 540 | - | } | |||
| 541 | - | ||||
| 542 | - | // validateRawTableBody checks that trimmed — table-shaped Marshaler output | |||
| 543 | - | // about to be spliced verbatim — is syntactically valid TOML, so a Marshaler | |||
| 544 | - | // cannot silently corrupt the document. It reuses e.parser, like classifyRaw. | |||
| 545 | - | func (e *encoderState) validateRawTableBody(t reflect.Type, trimmed []byte) error { | |||
| 546 | - | e.parser.Reset(trimmed) | |||
| 547 | - | for e.parser.NextExpression() { | |||
| 548 | - | } | |||
| 549 | - | if err := e.parser.Error(); err != nil { | |||
| 550 | - | return fmt.Errorf("toml: error calling MarshalTOML for type %s: invalid TOML: %w", t, err) | |||
| 551 | - | } | |||
| 552 | - | return nil | |||
| 553 | - | } | |||
| 554 | - | ||||
| 555 | - | // classifyRaw decides whether b (the output of an unstable.Marshaler) is empty, | |||
| 556 | - | // a single TOML value, or a table body. It returns the trimmed bytes that | |||
| 557 | - | // should be spliced into the document. It reuses e.parser, so it is not safe | |||
| 558 | - | // for concurrent use (encoderState is not shared). | |||
| 559 | - | func (e *encoderState) classifyRaw(b []byte) (rawShape, []byte) { | |||
| 560 | - | trimmed := bytes.TrimSpace(b) | |||
| 561 | - | if len(trimmed) == 0 { | |||
| 562 | - | return shapeEmpty, trimmed | |||
| 563 | - | } | |||
| 564 | - | e.parser.Reset(trimmed) | |||
| 565 | - | _, rest, err := parserbridge.ParseValue(&e.parser, trimmed) | |||
| 566 | - | if err == nil && len(bytes.TrimSpace(rest)) == 0 { | |||
| 567 | - | return shapeValue, trimmed | |||
| 568 | - | } | |||
| 569 | - | return shapeTable, trimmed | |||
| 570 | - | } | |||
| 571 | - | ||||
| 572 | - | // resolveMarshalerEntries classifies every entry whose value implements | |||
| 573 | - | // unstable.Marshaler, recording the shape on the entry so the two table passes | |||
| 574 | - | // can route it without re-classifying. Any error from MarshalTOML is surfaced | |||
| 575 | - | // eagerly. The marshaled bytes themselves are produced again at emit time by | |||
| 576 | - | // marshalerValue; that keeps entry small on the encoder's hot path, and only | |||
| 577 | - | // runs when the (opt-in) interface is enabled. | |||
| 578 | - | func (e *encoderState) resolveMarshalerEntries(entries []entry) error { | |||
| 579 | - | for i := range entries { | |||
| 580 | - | ent := &entries[i] | |||
| 581 | - | v, ok := resolve(ent.value) | |||
| 582 | - | if !ok || encPropsForType(v.Type()).marshaler == 0 { | |||
| 583 | - | continue | |||
| 584 | - | } | |||
| 585 | - | raw, err := e.marshalerBytes(v) | |||
| 586 | - | if err != nil { | |||
| 587 | - | return err | |||
| 588 | - | } | |||
| 589 | - | ent.options.rawShape, _ = e.classifyRaw(raw) | |||
| 590 | - | } | |||
| 591 | - | return nil | |||
| 592 | - | } | |||
| 593 | - | ||||
| 594 | - | // marshalerValue returns the trimmed bytes to splice for an entry already known | |||
| 595 | - | // to be an unstable.Marshaler (ent.options.rawShape != shapeUnknown). | |||
| 596 | - | func (e *encoderState) marshalerValue(ent *entry) ([]byte, error) { | |||
| 597 | - | v, _ := resolve(ent.value) | |||
| 598 | - | raw, err := e.marshalerBytes(v) | |||
| 599 | - | if err != nil { | |||
| 600 | - | return nil, err | |||
| 601 | - | } | |||
| 602 | - | return bytes.TrimSpace(raw), nil | |||
| 603 | - | } | |||
| 604 | - | ||||
| 605 | - | // appendMarshalerInline emits an unstable.Marshaler value in a value position | |||
| 606 | - | // (array element or inline-table member), where only a single TOML value is | |||
| 607 | - | // valid. done is false when t is not a Marshaler, so appendValue falls through | |||
| 608 | - | // to its normal handling. It is split out of appendValue (type check included) | |||
| 609 | - | // to keep that hot path lean. | |||
| 610 | - | func (e *encoderState) appendMarshalerInline(b []byte, v reflect.Value, t reflect.Type) (out []byte, done bool, err error) { | |||
| 611 | - | if encPropsForType(t).marshaler == 0 { | |||
| 612 | - | return b, false, nil | |||
| 613 | - | } | |||
| 614 | - | raw, err := e.marshalerBytes(v) | |||
| 615 | - | if err != nil { | |||
| 616 | - | return nil, true, err | |||
| 617 | - | } | |||
| 618 | - | shape, trimmed := e.classifyRaw(raw) | |||
| 619 | - | switch shape { | |||
| 620 | - | case shapeValue: | |||
| 621 | - | return append(b, trimmed...), true, nil | |||
| 622 | - | case shapeEmpty: | |||
| 623 | - | return nil, true, fmt.Errorf("toml: cannot encode an empty %s as an inline value", t) | |||
| 624 | - | default: | |||
| 625 | - | return nil, true, fmt.Errorf("toml: cannot encode %s as an inline value: %q is not a single TOML value", t, trimmed) | |||
| 626 | - | } | |||
| 627 | - | } | |||
| 628 | - | ||||
| 629 | - | // encodeTable writes the content of a table at the given key path. | |||
| 630 | - | func (e *encoderState) encodeTable(v reflect.Value, commented bool, indent int) error { | |||
| 631 | - | entries, err := e.collectEntries(v) | |||
| 632 | - | if err != nil { | |||
| 633 | - | return err | |||
| 634 | - | } | |||
| 635 | - | ||||
| 636 | - | // Marshaler routing is hoisted behind a single local flag. When the (opt-in) | |||
| 637 | - | // interface is off, mOn is false and both passes run the exact baseline | |||
| 638 | - | // code, so the default Marshal path keeps its performance. | |||
| 639 | - | mOn := e.marshalerOn | |||
| 640 | - | if mOn { | |||
| 641 | - | // Classify Marshaler entries once, up front, so the passes can route | |||
| 642 | - | // them by shape and surface MarshalTOML errors eagerly. | |||
| 643 | - | if err := e.resolveMarshalerEntries(entries); err != nil { | |||
| 644 | - | return err | |||
| 645 | - | } | |||
| 646 | - | } | |||
| 647 | - | ||||
| 648 | - | // First pass: emit all key-values; tables are handled by the second | |||
| 649 | - | // pass. | |||
| 650 | - | for i := range entries { | |||
| 651 | - | ent := &entries[i] | |||
| 652 | - | if mOn { | |||
| 653 | - | switch ent.options.rawShape { | |||
| 654 | - | case shapeUnknown: | |||
| 655 | - | // Not a Marshaler: handled by the baseline logic below. | |||
| 656 | - | case shapeEmpty: | |||
| 657 | - | // No TOML representation: omit the key. | |||
| 658 | - | continue | |||
| 659 | - | case shapeValue: | |||
| 660 | - | if err := e.encodeKeyValue(*ent, commented, indent); err != nil { | |||
| 661 | - | return err | |||
| 662 | - | } | |||
| 663 | - | continue | |||
| 664 | - | case shapeTable: | |||
| 665 | - | // A table body is emitted in the second pass, unless it is | |||
| 666 | - | // forced inline (SetTablesInline / inline tag), which has no | |||
| 667 | - | // valid inline form and is reported as an error by | |||
| 668 | - | // encodeKeyValue. | |||
| 669 | - | if e.tablesInline || ent.options.inline { | |||
| 670 | - | if err := e.encodeKeyValue(*ent, commented, indent); err != nil { | |||
| 671 | - | return err | |||
| 672 | - | } | |||
| 673 | - | } | |||
| 674 | - | continue | |||
| 675 | - | } | |||
| 676 | - | } | |||
| 677 | - | if e.entryIsTable(ent) { | |||
| 678 | - | continue | |||
| 679 | - | } | |||
| 680 | - | if err := e.encodeKeyValue(*ent, commented, indent); err != nil { | |||
| 681 | - | return err | |||
| 682 | - | } | |||
| 683 | - | } | |||
| 684 | - | ||||
| 685 | - | // Second pass: emit the sub-tables, extending the shared key stack. | |||
| 686 | - | for i := range entries { | |||
| 687 | - | ent := entries[i] | |||
| 688 | - | if mOn { | |||
| 689 | - | switch ent.options.rawShape { | |||
| 690 | - | case shapeUnknown: | |||
| 691 | - | // Not a Marshaler: handled by the baseline logic below. | |||
| 692 | - | case shapeValue, shapeEmpty: | |||
| 693 | - | // Not a table: already handled (or omitted) in the first pass. | |||
| 694 | - | continue | |||
| 695 | - | case shapeTable: | |||
| 696 | - | // Emit the raw body verbatim under the freshly pushed header. | |||
| 697 | - | // (The forced-inline case already errored in the first pass.) | |||
| 698 | - | entCommented := commented || ent.options.commented | |||
| 699 | - | e.keyStack = append(e.keyStack, ent.key) | |||
| 700 | - | if err := e.encodeMarshalerTable(&ent, entCommented, indent); err != nil { | |||
| 701 | - | return err | |||
| 702 | - | } | |||
| 703 | - | e.keyStack = e.keyStack[:len(e.keyStack)-1] | |||
| 704 | - | continue | |||
| 705 | - | } | |||
| 706 | - | } | |||
| 707 | - | if !e.entryIsTable(&ent) { | |||
| 708 | - | continue | |||
| 709 | - | } | |||
| 710 | - | entCommented := commented || ent.options.commented | |||
| 711 | - | e.keyStack = append(e.keyStack, ent.key) | |||
| 712 | - | ||||
| 713 | - | if e.isArrayOfTables(ent.value) { | |||
| 714 | - | err := e.encodeArrayTable(ent, entCommented, indent) | |||
| 715 | - | if err != nil { | |||
| 716 | - | return err | |||
| 717 | - | } | |||
| 718 | - | e.keyStack = e.keyStack[:len(e.keyStack)-1] | |||
| 719 | - | continue | |||
| 720 | - | } | |||
| 721 | - | ||||
| 722 | - | // The value is resolvable: entryIsTable already resolved it. | |||
| 723 | - | tv, _ := resolve(ent.value) | |||
| 724 | - | ||||
| 725 | - | e.writeTableHeader(ent.options.comment, entCommented, false, indent) | |||
| 726 | - | ||||
| 727 | - | err := e.encodeTable(tv, entCommented, indent+1) | |||
| 728 | - | if err != nil { | |||
| 729 | - | return err | |||
| 730 | - | } | |||
| 731 | - | e.keyStack = e.keyStack[:len(e.keyStack)-1] | |||
| 732 | - | } | |||
| 733 | - | ||||
| 734 | - | e.putEntries(entries) | |||
| 735 | - | return nil | |||
| 736 | - | } | |||
| 737 | - | ||||
| 738 | - | // encodeMarshalerTable emits a table-shaped unstable.Marshaler entry: the | |||
| 739 | - | // header for the key currently on the stack, then the raw body verbatim. | |||
| 740 | - | func (e *encoderState) encodeMarshalerTable(ent *entry, commented bool, indent int) error { | |||
| 741 | - | raw, err := e.marshalerValue(ent) | |||
| 742 | - | if err != nil { | |||
| 743 | - | return err | |||
| 744 | - | } | |||
| 745 | - | // Validate the bytes actually being spliced: MarshalTOML is called again | |||
| 746 | - | // for the emit, so this both rejects invalid TOML and guards against an | |||
| 747 | - | // implementation that returned different content than during | |||
| 748 | - | // classification. | |||
| 749 | - | if err := e.validateRawTableBody(ent.value.Type(), raw); err != nil { | |||
| 750 | - | return err | |||
| 751 | - | } | |||
| 752 | - | e.writeTableHeader(ent.options.comment, commented, false, indent) | |||
| 753 | - | e.spliceRawTableBody(raw, commented) | |||
| 754 | - | return nil | |||
| 755 | - | } | |||
| 756 | - | ||||
| 757 | - | // spliceRawTableBody appends a raw table body verbatim after its header. When | |||
| 758 | - | // the table is commented, every physical line is prefixed with the comment | |||
| 759 | - | // marker so the body does not leak into the document as live keys. | |||
| 760 | - | func (e *encoderState) spliceRawTableBody(raw []byte, commented bool) { | |||
| 761 | - | if len(raw) == 0 { | |||
| 762 | - | return | |||
| 763 | - | } | |||
| 764 | - | if commented { | |||
| 765 | - | e.buf = append(e.buf, "# "...) | |||
| 766 | - | e.buf = append(e.buf, bytes.ReplaceAll(raw, []byte("\n"), []byte("\n# "))...) | |||
| 767 | - | } else { | |||
| 768 | - | e.buf = append(e.buf, raw...) | |||
| 769 | - | } | |||
| 770 | - | e.buf = append(e.buf, '\n') | |||
| 771 | - | e.lastWasHeader = false | |||
| 772 | - | } | |||
| 773 | - | ||||
| 774 | - | // entryIsTable reports whether the entry is emitted as a (sub-)table rather | |||
| 775 | - | // than a key-value. Marshaler entries are routed by encodeTable before this is | |||
| 776 | - | // reached, so it carries no marshaler-specific cost. | |||
| 777 | - | func (e *encoderState) entryIsTable(ent *entry) bool { | |||
| 778 | - | return !e.tablesInline && !ent.options.inline && (e.isTableLike(ent.value) || e.isArrayOfTables(ent.value)) | |||
| 779 | - | } | |||
| 780 | - | ||||
| 781 | - | // getEntries returns a reusable entry slice. | |||
| 782 | - | func (e *encoderState) getEntries() []entry { | |||
| 783 | - | if n := len(e.entriesPool); n > 0 { | |||
| 784 | - | s := e.entriesPool[n-1] | |||
| 785 | - | e.entriesPool = e.entriesPool[:n-1] | |||
| 786 | - | return s[:0] | |||
| 787 | - | } | |||
| 788 | - | return nil | |||
| 789 | - | } | |||
| 790 | - | ||||
| 791 | - | // putEntries returns an entry slice to the pool. | |||
| 792 | - | func (e *encoderState) putEntries(s []entry) { | |||
| 793 | - | if cap(s) > 0 { | |||
| 794 | - | e.entriesPool = append(e.entriesPool, s) | |||
| 795 | - | } | |||
| 796 | - | } | |||
| 797 | - | ||||
| 798 | - | // encodeArrayTable writes all the elements of an array of tables. | |||
| 799 | - | func (e *encoderState) encodeArrayTable(ent entry, commented bool, indent int) error { | |||
| 800 | - | v, _ := resolve(ent.value) | |||
| 801 | - | comment := ent.options.comment | |||
| 802 | - | for i := 0; i < v.Len(); i++ { | |||
| 803 | - | // Elements are resolvable: isArrayOfTables already resolved them. | |||
| 804 | - | elem, _ := resolve(v.Index(i)) | |||
| 805 | - | ||||
| 806 | - | e.writeTableHeader(comment, commented, true, indent) | |||
| 807 | - | // The comment is only present before the first element. | |||
| 808 | - | comment = "" | |||
| 809 | - | ||||
| 810 | - | // A Marshaler element splices its raw table body verbatim. The shape | |||
| 811 | - | // was checked by isArrayOfTables, but MarshalTOML is called again for | |||
| 812 | - | // the emit, so the spliced bytes are validated here. | |||
| 813 | - | if e.marshalerOn && encPropsForType(elem.Type()).marshaler != 0 { | |||
| 814 | - | raw, err := e.marshalerBytes(elem) | |||
| 815 | - | if err != nil { | |||
| 816 | - | return err | |||
| 817 | - | } | |||
| 818 | - | trimmed := bytes.TrimSpace(raw) | |||
| 819 | - | if err := e.validateRawTableBody(elem.Type(), trimmed); err != nil { | |||
| 820 | - | return err | |||
| 821 | - | } | |||
| 822 | - | e.spliceRawTableBody(trimmed, commented) | |||
| 823 | - | continue | |||
| 824 | - | } | |||
| 825 | - | ||||
| 826 | - | err := e.encodeTable(elem, commented, indent+1) | |||
| 827 | - | if err != nil { | |||
| 828 | - | return err | |||
| 829 | - | } | |||
| 830 | - | } | |||
| 831 | - | return nil | |||
| 832 | - | } | |||
| 833 | - | ||||
| 834 | - | // writeTableHeader emits a [table] or [[array table]] header line, preceded | |||
| 835 | - | // by an empty line and comments as needed. | |||
| 836 | - | func (e *encoderState) writeTableHeader(comment string, commented bool, array bool, indent int) { | |||
| 837 | - | key := e.keyStack | |||
| 838 | - | if len(e.buf) > 0 && !e.lastWasHeader { | |||
| 839 | - | e.buf = append(e.buf, '\n') | |||
| 840 | - | } | |||
| 841 | - | ||||
| 842 | - | headerIndent := indent | |||
| 843 | - | ||||
| 844 | - | e.writeComment(comment, headerIndent) | |||
| 845 | - | ||||
| 846 | - | // The "commented" marker is emitted at column zero, ahead of any table | |||
| 847 | - | // indentation, so that the indentation appears inside the comment | |||
| 848 | - | // (e.g. `# [a.b]`). This matches the historical v2.3 layout. | |||
| 849 | - | if commented { | |||
| 850 | - | e.buf = append(e.buf, "# "...) | |||
| 851 | - | } | |||
| 852 | - | e.writeIndent(headerIndent) | |||
| 853 | - | e.buf = append(e.buf, '[') | |||
| 854 | - | if array { | |||
| 855 | - | e.buf = append(e.buf, '[') | |||
| 856 | - | } | |||
| 857 | - | for i, part := range key { | |||
| 858 | - | if i > 0 { | |||
| 859 | - | e.buf = append(e.buf, '.') | |||
| 860 | - | } | |||
| 861 | - | e.buf = e.appendKey(e.buf, part) | |||
| 862 | - | } | |||
| 863 | - | e.buf = append(e.buf, ']') | |||
| 864 | - | if array { | |||
| 865 | - | e.buf = append(e.buf, ']') | |||
| 866 | - | } | |||
| 867 | - | e.buf = append(e.buf, '\n') | |||
| 868 | - | e.lastWasHeader = true | |||
| 869 | - | } | |||
| 870 | - | ||||
| 871 | - | func (e *encoderState) writeIndent(indent int) { | |||
| 872 | - | if !e.indentTables { | |||
| 873 | - | return | |||
| 874 | - | } | |||
| 875 | - | for i := 0; i < indent; i++ { | |||
| 876 | - | e.buf = append(e.buf, e.indentSymbol...) | |||
| 877 | - | } | |||
| 878 | - | } | |||
| 879 | - | ||||
| 880 | - | // writeComment emits the comment lines attached to an entry. | |||
| 881 | - | func (e *encoderState) writeComment(comment string, indent int) { | |||
| 882 | - | if comment == "" { | |||
| 883 | - | return | |||
| 884 | - | } | |||
| 885 | - | for _, line := range strings.Split(comment, "\n") { | |||
| 886 | - | e.writeIndent(indent) | |||
| 887 | - | e.buf = append(e.buf, "# "...) | |||
| 888 | - | e.buf = append(e.buf, line...) | |||
| 889 | - | e.buf = append(e.buf, '\n') | |||
| 890 | - | } | |||
| 891 | - | } | |||
| 892 | - | ||||
| 893 | - | // encodeKeyValue writes one `key = value` line of a table. | |||
| 894 | - | func (e *encoderState) encodeKeyValue(ent entry, commented bool, indent int) error { | |||
| 895 | - | commented = commented || ent.options.commented | |||
| 896 | - | ||||
| 897 | - | e.writeComment(ent.options.comment, indent) | |||
| 898 | - | ||||
| 899 | - | // The "commented" marker is emitted at column zero, ahead of any table | |||
| 900 | - | // indentation, so that the indentation appears inside the comment | |||
| 901 | - | // (e.g. `# key = value`). This matches the historical v2.3 layout. | |||
| 902 | - | lineStart := len(e.buf) | |||
| 903 | - | if commented { | |||
| 904 | - | e.buf = append(e.buf, "# "...) | |||
| 905 | - | } | |||
| 906 | - | e.writeIndent(indent) | |||
| 907 | - | e.buf = e.appendKey(e.buf, ent.key) | |||
| 908 | - | e.buf = append(e.buf, " = "...) | |||
| 909 | - | ||||
| 910 | - | // When tables are not indented, the key is emitted at column zero | |||
| 911 | - | // regardless of its nesting depth. Value continuation lines (most | |||
| 912 | - | // notably the elements of a multiline array) must line up with that key, | |||
| 913 | - | // so the value indentation starts from zero as well rather than from the | |||
| 914 | - | // table nesting depth. | |||
| 915 | - | valueIndent := indent | |||
| 916 | - | if !e.indentTables { | |||
| 917 | - | valueIndent = 0 | |||
| 918 | - | } | |||
| 919 | - | ||||
| 920 | - | // A Marshaler value is delegated, keeping this hot function lean for the | |||
| 921 | - | // default path (rawShape stays shapeUnknown when the interface is off). It | |||
| 922 | - | // shares the commented/newline handling below. | |||
| 923 | - | var err error | |||
| 924 | - | if ent.options.rawShape != shapeUnknown { | |||
| 925 | - | e.buf, err = e.appendMarshalerInlineValue(e.buf, &ent) | |||
| 926 | - | } else { | |||
| 927 | - | e.buf, err = e.appendValue(e.buf, ent.value, ent.options, valueIndent) | |||
| 928 | - | } | |||
| 929 | - | if err != nil { | |||
| 930 | - | return err | |||
| 931 | - | } | |||
| 932 | - | ||||
| 933 | - | // A commented value that renders across multiple lines (a multiline string | |||
| 934 | - | // or a multiline array) must have every physical line prefixed with the | |||
| 935 | - | // comment marker, not just the first; otherwise the continuation lines are | |||
| 936 | - | // emitted as live, syntactically invalid TOML. | |||
| 937 | - | if commented { | |||
| 938 | - | if bytes.IndexByte(e.buf[lineStart:], '\n') >= 0 { | |||
| 939 | - | region := bytes.ReplaceAll( | |||
| 940 | - | append([]byte(nil), e.buf[lineStart:]...), | |||
| 941 | - | []byte("\n"), []byte("\n# "), | |||
| 942 | - | ) | |||
| 943 | - | e.buf = append(e.buf[:lineStart], region...) | |||
| 944 | - | } | |||
| 945 | - | } | |||
| 946 | - | e.buf = append(e.buf, '\n') | |||
| 947 | - | e.lastWasHeader = false | |||
| 948 | - | return nil | |||
| 949 | - | } | |||
| 950 | - | ||||
| 951 | - | // appendMarshalerInlineValue appends the value part of a `key = ` line for an | |||
| 952 | - | // unstable.Marshaler entry, leaving the trailing newline and commented handling | |||
| 953 | - | // to encodeKeyValue. Empty entries are filtered out before this point, so the | |||
| 954 | - | // value is either a single value (spliced verbatim) or, when forced inline by | |||
| 955 | - | // SetTablesInline or an inline tag, table content (an error). | |||
| 956 | - | func (e *encoderState) appendMarshalerInlineValue(b []byte, ent *entry) ([]byte, error) { | |||
| 957 | - | errNotValue := func() error { | |||
| 958 | - | return fmt.Errorf("toml: cannot encode %s as an inline value: not a single TOML value", ent.value.Type()) | |||
| 959 | - | } | |||
| 960 | - | if ent.options.rawShape != shapeValue { | |||
| 961 | - | return nil, errNotValue() | |||
| 962 | - | } | |||
| 963 | - | raw, err := e.marshalerValue(ent) | |||
| 964 | - | if err != nil { | |||
| 965 | - | return nil, err | |||
| 966 | - | } | |||
| 967 | - | // Classify the just-returned bytes rather than trusting the earlier pass: | |||
| 968 | - | // MarshalTOML is called again for the emit, and an implementation that | |||
| 969 | - | // returns different content must not splice non-value bytes into a | |||
| 970 | - | // `key = ` position. | |||
| 971 | - | if shape, trimmed := e.classifyRaw(raw); shape == shapeValue { | |||
| 972 | - | return append(b, trimmed...), nil | |||
| 973 | - | } | |||
| 974 | - | return nil, errNotValue() | |||
| 975 | - | } | |||
| 976 | - | ||||
| 977 | - | // collectEntries builds the ordered list of the entries of a table, | |||
| 978 | - | // applying tags and omission rules. | |||
| 979 | - | func (e *encoderState) collectEntries(v reflect.Value) ([]entry, error) { | |||
| 980 | - | switch v.Kind() { | |||
| 981 | - | case reflect.Map: | |||
| 982 | - | return e.collectMapEntries(v) | |||
| 983 | - | case reflect.Struct: | |||
| 984 | - | entries := e.getEntries() | |||
| 985 | - | e.collectStructEntries(&entries, v) | |||
| 986 | - | return entries, nil | |||
| 987 | - | default: | |||
| 988 | - | return nil, fmt.Errorf("toml: cannot encode a %s as a table", v.Type()) | |||
| 989 | - | } | |||
| 990 | - | } | |||
| 991 | - | ||||
| 992 | - | func (e *encoderState) collectMapEntries(v reflect.Value) ([]entry, error) { | |||
| 993 | - | entries := e.getEntries() | |||
| 994 | - | ||||
| 995 | - | // Keys are converted to strings right away: read them into a reusable | |||
| 996 | - | // buffer to avoid one allocation per key. | |||
| 997 | - | var kbuf reflect.Value | |||
| 998 | - | if v.Type().Key() == stringType { | |||
| 999 | - | if !e.stringKeyBuf.IsValid() { | |||
| 1000 | - | e.stringKeyBuf = reflect.New(stringType).Elem() | |||
| 1001 | - | } | |||
| 1002 | - | kbuf = e.stringKeyBuf | |||
| 1003 | - | } else { | |||
| 1004 | - | kbuf = reflect.New(v.Type().Key()).Elem() | |||
| 1005 | - | } | |||
| 1006 | - | ||||
| 1007 | - | iter := v.MapRange() | |||
| 1008 | - | for iter.Next() { | |||
| 1009 | - | kbuf.SetIterKey(iter) | |||
| 1010 | - | key, err := mapKeyString(kbuf) | |||
| 1011 | - | if err != nil { | |||
| 1012 | - | return nil, err | |||
| 1013 | - | } | |||
| 1014 | - | value := iter.Value() | |||
| 1015 | - | if value.Kind() == reflect.Interface && value.IsNil() { | |||
| 1016 | - | // nil interface values are skipped | |||
| 1017 | - | continue | |||
| 1018 | - | } | |||
| 1019 | - | if value.Kind() == reflect.Ptr && value.IsNil() { | |||
| 1020 | - | // nil pointers in maps are encoded as their zero value | |||
| 1021 | - | value = reflect.New(value.Type().Elem()).Elem() | |||
| 1022 | - | } | |||
| 1023 | - | entries = append(entries, entry{key: key, value: value}) | |||
| 1024 | - | } | |||
| 1025 | - | ||||
| 1026 | - | if len(entries) > 1 { | |||
| 1027 | - | // slices.SortFunc avoids boxing the slice into a sort.Interface (an | |||
| 1028 | - | // allocation that sort.Sort incurs for every table). | |||
| 1029 | - | slices.SortFunc(entries, func(a, b entry) int { | |||
| 1030 | - | return strings.Compare(a.key, b.key) | |||
| 1031 | - | }) | |||
| 1032 | - | } | |||
| 1033 | - | ||||
| 1034 | - | return entries, nil | |||
| 1035 | - | } | |||
| 1036 | - | ||||
| 1037 | - | // mapKeyString converts a map key to its string representation. | |||
| 1038 | - | func mapKeyString(k reflect.Value) (string, error) { | |||
| 1039 | - | kr, ok := resolve(k) | |||
| 1040 | - | if !ok { | |||
| 1041 | - | return "", errors.New("toml: cannot encode a nil map key") | |||
| 1042 | - | } | |||
| 1043 | - | if kr.Type().Implements(textMarshalerType) { | |||
| 1044 | - | b, err := kr.Interface().(encoding.TextMarshaler).MarshalText() | |||
| 1045 | - | if err != nil { | |||
| 1046 | - | return "", fmt.Errorf("toml: cannot marshal map key: %w", err) | |||
| 1047 | - | } | |||
| 1048 | - | return string(b), nil | |||
| 1049 | - | } | |||
| 1050 | - | if kr.CanAddr() && reflect.PtrTo(kr.Type()).Implements(textMarshalerType) { | |||
| 1051 | - | b, err := kr.Addr().Interface().(encoding.TextMarshaler).MarshalText() | |||
| 1052 | - | if err != nil { | |||
| 1053 | - | return "", fmt.Errorf("toml: cannot marshal map key: %w", err) | |||
| 1054 | - | } | |||
| 1055 | - | return string(b), nil | |||
| 1056 | - | } | |||
| 1057 | - | switch kr.Kind() { | |||
| 1058 | - | case reflect.String: | |||
| 1059 | - | return kr.String(), nil | |||
| 1060 | - | case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: | |||
| 1061 | - | return strconv.FormatInt(kr.Int(), 10), nil | |||
| 1062 | - | case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: | |||
| 1063 | - | return strconv.FormatUint(kr.Uint(), 10), nil | |||
| 1064 | - | case reflect.Float32: | |||
| 1065 | - | return strconv.FormatFloat(kr.Float(), 'f', -1, 32), nil | |||
| 1066 | - | case reflect.Float64: | |||
| 1067 | - | return strconv.FormatFloat(kr.Float(), 'f', -1, 64), nil | |||
| 1068 | - | default: | |||
| 1069 | - | return "", fmt.Errorf("toml: cannot encode a map with key type %s", k.Type()) | |||
| 1070 | - | } | |||
| 1071 | - | } | |||
| 1072 | - | ||||
| 1073 | - | // encPlanField is the static encoding information of one field of a struct. | |||
| 1074 | - | type encPlanField struct { | |||
| 1075 | - | name string | |||
| 1076 | - | index []int | |||
| 1077 | - | depth int | |||
| 1078 | - | options valueOptions | |||
| 1079 | - | } | |||
| 1080 | - | ||||
| 1081 | - | // encPlan caches the per-type information needed to encode a struct: | |||
| 1082 | - | // flattened fields with parsed tags, in order of definition, with shadowed | |||
| 1083 | - | // duplicates already removed. | |||
| 1084 | - | type encPlan struct { | |||
| 1085 | - | fields []encPlanField | |||
| 1086 | - | } | |||
| 1087 | - | ||||
| 1088 | - | var encPlans sync.Map // reflect.Type -> *encPlan | |||
| 1089 | - | ||||
| 1090 | - | func encPlanForType(t reflect.Type) *encPlan { | |||
| 1091 | - | if plan, ok := encPlans.Load(t); ok { | |||
| 1092 | - | return plan.(*encPlan) | |||
| 1093 | - | } | |||
| 1094 | - | plan := &encPlan{} | |||
| 1095 | - | visited := map[reflect.Type]bool{} | |||
| 1096 | - | buildEncPlan(plan, t, nil, 0, visited) | |||
| 1097 | - | dedupEncPlan(plan) | |||
| 1098 | - | encPlans.Store(t, plan) | |||
| 1099 | - | return plan | |||
| 1100 | - | } | |||
| 1101 | - | ||||
| 1102 | - | func buildEncPlan(plan *encPlan, t reflect.Type, prefix []int, depth int, visited map[reflect.Type]bool) { | |||
| 1103 | - | if visited[t] { | |||
| 1104 | - | return | |||
| 1105 | - | } | |||
| 1106 | - | visited[t] = true | |||
| 1107 | - | defer delete(visited, t) | |||
| 1108 | - | ||||
| 1109 | - | for i := 0; i < t.NumField(); i++ { | |||
| 1110 | - | f := t.Field(i) | |||
| 1111 | - | ||||
| 1112 | - | tag, tagged := f.Tag.Lookup("toml") | |||
| 1113 | - | if tag == "-" { | |||
| 1114 | - | continue | |||
| 1115 | - | } | |||
| 1116 | - | ||||
| 1117 | - | name := f.Name | |||
| 1118 | - | var opts valueOptions | |||
| 1119 | - | if tagged { | |||
| 1120 | - | parts := strings.Split(tag, ",") | |||
| 1121 | - | if parts[0] != "" { | |||
| 1122 | - | name = parts[0] | |||
| 1123 | - | } | |||
| 1124 | - | for _, opt := range parts[1:] { | |||
| 1125 | - | switch opt { | |||
| 1126 | - | case "multiline": | |||
| 1127 | - | opts.multiline = true | |||
| 1128 | - | case "inline": | |||
| 1129 | - | opts.inline = true | |||
| 1130 | - | case "omitempty": | |||
| 1131 | - | opts.omitempty = true | |||
| 1132 | - | case "omitzero": | |||
| 1133 | - | opts.omitzero = true | |||
| 1134 | - | case "commented": | |||
| 1135 | - | opts.commented = true | |||
| 1136 | - | } | |||
| 1137 | - | } | |||
| 1138 | - | } | |||
| 1139 | - | // Standalone boolean tags, e.g. multiline:"true". | |||
| 1140 | - | const tagTrue = "true" | |||
| 1141 | - | if f.Tag.Get("multiline") == tagTrue { | |||
| 1142 | - | opts.multiline = true | |||
| 1143 | - | } | |||
| 1144 | - | if f.Tag.Get("inline") == tagTrue { | |||
| 1145 | - | opts.inline = true | |||
| 1146 | - | } | |||
| 1147 | - | if f.Tag.Get("commented") == tagTrue { | |||
| 1148 | - | opts.commented = true | |||
| 1149 | - | } | |||
| 1150 | - | opts.comment = f.Tag.Get("comment") | |||
| 1151 | - | ||||
| 1152 | - | index := make([]int, 0, len(prefix)+1) | |||
| 1153 | - | index = append(index, prefix...) | |||
| 1154 | - | index = append(index, i) | |||
| 1155 | - | ||||
| 1156 | - | if f.Anonymous { | |||
| 1157 | - | ft := f.Type | |||
| 1158 | - | if ft.Kind() == reflect.Ptr { | |||
| 1159 | - | ft = ft.Elem() | |||
| 1160 | - | } | |||
| 1161 | - | if ft.Kind() == reflect.Struct && (!tagged || tagName(tag) == "") { | |||
| 1162 | - | buildEncPlan(plan, ft, index, depth+1, visited) | |||
| 1163 | - | continue | |||
| 1164 | - | } | |||
| 1165 | - | if f.PkgPath != "" && ft.Kind() != reflect.Interface { | |||
| 1166 | - | continue | |||
| 1167 | - | } | |||
| 1168 | - | } else if f.PkgPath != "" { | |||
| 1169 | - | // unexported | |||
| 1170 | - | continue | |||
| 1171 | - | } | |||
| 1172 | - | ||||
| 1173 | - | plan.fields = append(plan.fields, encPlanField{ | |||
| 1174 | - | name: name, | |||
| 1175 | - | index: index, | |||
| 1176 | - | depth: depth, | |||
| 1177 | - | options: opts, | |||
| 1178 | - | }) | |||
| 1179 | - | } | |||
| 1180 | - | } | |||
| 1181 | - | ||||
| 1182 | - | // dedupEncPlan removes the fields shadowed by another one with the same | |||
| 1183 | - | // name (the shallowest wins), keeping the order of first appearance. | |||
| 1184 | - | func dedupEncPlan(plan *encPlan) { | |||
| 1185 | - | byName := make(map[string]int, len(plan.fields)) | |||
| 1186 | - | drop := false | |||
| 1187 | - | for i := range plan.fields { | |||
| 1188 | - | f := &plan.fields[i] | |||
| 1189 | - | j, seen := byName[f.name] | |||
| 1190 | - | if !seen { | |||
| 1191 | - | byName[f.name] = i | |||
| 1192 | - | continue | |||
| 1193 | - | } | |||
| 1194 | - | drop = true | |||
| 1195 | - | // Shallowest wins; on equal depth, the first in order wins. | |||
| 1196 | - | if f.depth < plan.fields[j].depth { | |||
| 1197 | - | plan.fields[j].name = "" | |||
| 1198 | - | byName[f.name] = i | |||
| 1199 | - | } else { | |||
| 1200 | - | f.name = "" | |||
| 1201 | - | } | |||
| 1202 | - | } | |||
| 1203 | - | if !drop { | |||
| 1204 | - | return | |||
| 1205 | - | } | |||
| 1206 | - | out := plan.fields[:0] | |||
| 1207 | - | for _, f := range plan.fields { | |||
| 1208 | - | if f.name != "" { | |||
| 1209 | - | out = append(out, f) | |||
| 1210 | - | } | |||
| 1211 | - | } | |||
| 1212 | - | plan.fields = out | |||
| 1213 | - | } | |||
| 1214 | - | ||||
| 1215 | - | // collectStructEntries appends the entries of a struct, flattening embedded | |||
| 1216 | - | // structs in place. | |||
| 1217 | - | func (e *encoderState) collectStructEntries(entries *[]entry, v reflect.Value) { | |||
| 1218 | - | plan := encPlanForType(v.Type()) | |||
| 1219 | - | ||||
| 1220 | - | for i := range plan.fields { | |||
| 1221 | - | f := &plan.fields[i] | |||
| 1222 | - | fv, ok := fieldByIndexSkipNil(v, f.index) | |||
| 1223 | - | if !ok { | |||
| 1224 | - | // nil embedded pointer on the way: skipped | |||
| 1225 | - | continue | |||
| 1226 | - | } | |||
| 1227 | - | ||||
| 1228 | - | // Anonymous interface fields that are nil are skipped. | |||
| 1229 | - | if fv.Kind() == reflect.Interface && fv.IsNil() { | |||
| 1230 | - | continue | |||
| 1231 | - | } | |||
| 1232 | - | // nil values in struct fields are skipped | |||
| 1233 | - | if (fv.Kind() == reflect.Ptr || fv.Kind() == reflect.Map) && fv.IsNil() { | |||
| 1234 | - | continue | |||
| 1235 | - | } | |||
| 1236 | - | ||||
| 1237 | - | if f.options.omitempty && isEmptyValue(fv) { | |||
| 1238 | - | continue | |||
| 1239 | - | } | |||
| 1240 | - | if f.options.omitzero && isZeroValue(fv) { | |||
| 1241 | - | continue | |||
| 1242 | - | } | |||
| 1243 | - | ||||
| 1244 | - | *entries = append(*entries, entry{key: f.name, value: fv, options: f.options}) | |||
| 1245 | - | } | |||
| 1246 | - | } | |||
| 1247 | - | ||||
| 1248 | - | // fieldByIndexSkipNil returns the field at the given index path, reporting | |||
| 1249 | - | // false if a nil embedded pointer is found on the way. | |||
| 1250 | - | func fieldByIndexSkipNil(v reflect.Value, index []int) (reflect.Value, bool) { | |||
| 1251 | - | for i, x := range index { | |||
| 1252 | - | if i > 0 { | |||
| 1253 | - | for v.Kind() == reflect.Ptr { | |||
| 1254 | - | if v.IsNil() { | |||
| 1255 | - | return v, false | |||
| 1256 | - | } | |||
| 1257 | - | v = v.Elem() | |||
| 1258 | - | } | |||
| 1259 | - | } | |||
| 1260 | - | v = v.Field(x) | |||
| 1261 | - | } | |||
| 1262 | - | return v, true | |||
| 1263 | - | } | |||
| 1264 | - | ||||
| 1265 | - | func tagName(tag string) string { | |||
| 1266 | - | if idx := strings.IndexByte(tag, ','); idx >= 0 { | |||
| 1267 | - | return tag[:idx] | |||
| 1268 | - | } | |||
| 1269 | - | return tag | |||
| 1270 | - | } | |||
| 1271 | - | ||||
| 1272 | - | // isEmptyValue implements the omitempty rules. | |||
| 1273 | - | func isEmptyValue(v reflect.Value) bool { | |||
| 1274 | - | switch v.Kind() { | |||
| 1275 | - | case reflect.String: | |||
| 1276 | - | return v.Len() == 0 | |||
| 1277 | - | case reflect.Bool: | |||
| 1278 | - | return !v.Bool() | |||
| 1279 | - | case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: | |||
| 1280 | - | return v.Int() == 0 | |||
| 1281 | - | case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: | |||
| 1282 | - | return v.Uint() == 0 | |||
| 1283 | - | case reflect.Float32, reflect.Float64: | |||
| 1284 | - | return v.Float() == 0 | |||
| 1285 | - | case reflect.Map, reflect.Slice, reflect.Array: | |||
| 1286 | - | return v.Len() == 0 | |||
| 1287 | - | case reflect.Ptr, reflect.Interface: | |||
| 1288 | - | return v.IsNil() | |||
| 1289 | - | case reflect.Struct: | |||
| 1290 | - | // Structs that encode as a scalar value (time.Time, the local | |||
| 1291 | - | // date/time types, or any TextMarshaler) are empty only when they | |||
| 1292 | - | // equal their zero value; their fields are typically unexported, so | |||
| 1293 | - | // recursing into them would be meaningless. | |||
| 1294 | - | if encPropsForType(v.Type()).isValue { | |||
| 1295 | - | return v.IsZero() | |||
| 1296 | - | } | |||
| 1297 | - | // Plain structs encode as tables and are empty when every field that | |||
| 1298 | - | // would be encoded is itself empty. This matches the recursive rule | |||
| 1299 | - | // used before the encoder rewrite and, in particular, treats a | |||
| 1300 | - | // non-nil but empty map or slice as empty (reflect.Value.IsZero does | |||
| 1301 | - | // not, which would otherwise emit an empty table header). | |||
| 1302 | - | return isEmptyStruct(v) | |||
| 1303 | - | default: | |||
| 1304 | - | return false | |||
| 1305 | - | } | |||
| 1306 | - | } | |||
| 1307 | - | ||||
| 1308 | - | // isEmptyStruct reports whether all of a table-valued struct's encodable | |||
| 1309 | - | // fields are empty per isEmptyValue. It mirrors the field selection done by | |||
| 1310 | - | // collectStructEntries (embedded flattening, shadowing, and "-" skips) so the | |||
| 1311 | - | // emptiness decision matches what would actually be encoded. | |||
| 1312 | - | func isEmptyStruct(v reflect.Value) bool { | |||
| 1313 | - | plan := encPlanForType(v.Type()) | |||
| 1314 | - | for i := range plan.fields { | |||
| 1315 | - | fv, ok := fieldByIndexSkipNil(v, plan.fields[i].index) | |||
| 1316 | - | if !ok { | |||
| 1317 | - | // A nil embedded pointer along the path contributes nothing. | |||
| 1318 | - | continue | |||
| 1319 | - | } | |||
| 1320 | - | if !isEmptyValue(fv) { | |||
| 1321 | - | return false | |||
| 1322 | - | } | |||
| 1323 | - | } | |||
| 1324 | - | return true | |||
| 1325 | - | } | |||
| 1326 | - | ||||
| 1327 | - | // isZeroValue implements the omitzero rules: the type's own IsZero() when | |||
| 1328 | - | // implemented, the reflect zero value otherwise. | |||
| 1329 | - | func isZeroValue(v reflect.Value) bool { | |||
| 1330 | - | if v.Type().Implements(isZeroerType) { | |||
| 1331 | - | return v.Interface().(isZeroer).IsZero() | |||
| 1332 | - | } | |||
| 1333 | - | if v.CanAddr() && reflect.PtrTo(v.Type()).Implements(isZeroerType) { | |||
| 1334 | - | return v.Addr().Interface().(isZeroer).IsZero() | |||
| 1335 | - | } | |||
| 1336 | - | if !v.CanAddr() && reflect.PtrTo(v.Type()).Implements(isZeroerType) { | |||
| 1337 | - | tmp := reflect.New(v.Type()) | |||
| 1338 | - | tmp.Elem().Set(v) | |||
| 1339 | - | return tmp.Interface().(isZeroer).IsZero() | |||
| 1340 | - | } | |||
| 1341 | - | return v.IsZero() | |||
| 1342 | - | } | |||
| 1343 | - | ||||
| 1344 | - | // appendKey emits a key, quoted only if necessary. | |||
| 1345 | - | func (e *encoderState) appendKey(b []byte, key string) []byte { | |||
| 1346 | - | if isBareKey(key) { | |||
| 1347 | - | return append(b, key...) | |||
| 1348 | - | } | |||
| 1349 | - | return e.appendString(b, key) | |||
| 1350 | - | } | |||
| 1351 | - | ||||
| 1352 | - | func isBareKey(key string) bool { | |||
| 1353 | - | if len(key) == 0 { | |||
| 1354 | - | return false | |||
| 1355 | - | } | |||
| 1356 | - | for _, c := range []byte(key) { | |||
| 1357 | - | if !isUnquotedKeyByte(c) { | |||
| 1358 | - | return false | |||
| 1359 | - | } | |||
| 1360 | - | } | |||
| 1361 | - | return true | |||
| 1362 | - | } | |||
| 1363 | - | ||||
| 1364 | - | func isUnquotedKeyByte(c byte) bool { | |||
| 1365 | - | return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '-' || c == '_' | |||
| 1366 | - | } | |||
| 1367 | - | ||||
| 1368 | - | // appendValue emits a TOML value. | |||
| 1369 | - | func (e *encoderState) appendValue(b []byte, v reflect.Value, opts valueOptions, indent int) ([]byte, error) { | |||
| 1370 | - | t := v.Type() | |||
| 1371 | - | ||||
| 1372 | - | // Special types take precedence over their kind. | |||
| 1373 | - | switch t { | |||
| 1374 | - | case timeType: | |||
| 1375 | - | return v.Interface().(time.Time).AppendFormat(b, "2006-01-02T15:04:05.999999999Z07:00"), nil | |||
| 1376 | - | case localDateType: | |||
| 1377 | - | return append(b, v.Interface().(LocalDate).String()...), nil | |||
| 1378 | - | case localTimeType: | |||
| 1379 | - | return append(b, v.Interface().(LocalTime).String()...), nil | |||
| 1380 | - | case localDateTimeType: | |||
| 1381 | - | return append(b, v.Interface().(LocalDateTime).String()...), nil | |||
| 1382 | - | case jsonNumberType: | |||
| 1383 | - | if e.marshalJSONNumbers { | |||
| 1384 | - | return appendJSONNumber(b, v.Interface().(json.Number)) | |||
| 1385 | - | } | |||
| 1386 | - | } | |||
| 1387 | - | ||||
| 1388 | - | // A Marshaler reached through a value position (an array element or inline | |||
| 1389 | - | // table member) splices its bytes verbatim. Everything (including the type | |||
| 1390 | - | // check) lives in a separate method so this hot function keeps its default | |||
| 1391 | - | // layout: when the opt-in interface is off, only the bool test runs here. | |||
| 1392 | - | if e.marshalerOn { | |||
| 1393 | - | if b2, done, err := e.appendMarshalerInline(b, v, t); done { | |||
| 1394 | - | return b2, err | |||
| 1395 | - | } | |||
| 1396 | - | } | |||
| 1397 | - | ||||
| 1398 | - | switch encPropsForType(t).text { | |||
| 1399 | - | case 1: | |||
| 1400 | - | if t.Kind() != reflect.String { | |||
| 1401 | - | return e.appendTextMarshaler(b, v.Interface().(encoding.TextMarshaler)) | |||
| 1402 | - | } | |||
| 1403 | - | case 2: | |||
| 1404 | - | if v.CanAddr() { | |||
| 1405 | - | return e.appendTextMarshaler(b, v.Addr().Interface().(encoding.TextMarshaler)) | |||
| 1406 | - | } | |||
| 1407 | - | tmp := reflect.New(t) | |||
| 1408 | - | tmp.Elem().Set(v) | |||
| 1409 | - | return e.appendTextMarshaler(b, tmp.Interface().(encoding.TextMarshaler)) | |||
| 1410 | - | } | |||
| 1411 | - | ||||
| 1412 | - | switch v.Kind() { | |||
| 1413 | - | case reflect.Ptr: | |||
| 1414 | - | if v.IsNil() { | |||
| 1415 | - | // nil pointers are encoded as the zero value of their element | |||
| 1416 | - | // type. | |||
| 1417 | - | return e.appendValue(b, reflect.Zero(t.Elem()), opts, indent) | |||
| 1418 | - | } | |||
| 1419 | - | return e.appendValue(b, v.Elem(), opts, indent) | |||
| 1420 | - | case reflect.Interface: | |||
| 1421 | - | if v.IsNil() { | |||
| 1422 | - | return nil, errors.New("toml: cannot encode a nil interface") | |||
| 1423 | - | } | |||
| 1424 | - | return e.appendValue(b, v.Elem(), opts, indent) | |||
| 1425 | - | case reflect.String: | |||
| 1426 | - | s := v.String() | |||
| 1427 | - | // The "multiline" option only takes effect when the string actually | |||
| 1428 | - | // contains a newline. Wrapping a single-line value such as "2" in a | |||
| 1429 | - | // """...""" block adds noise without improving readability, so it is | |||
| 1430 | - | // emitted as a regular single-line string instead. | |||
| 1431 | - | if opts.multiline && strings.IndexByte(s, '\n') >= 0 { | |||
| 1432 | - | return e.appendMultilineString(b, s), nil | |||
| 1433 | - | } | |||
| 1434 | - | return e.appendString(b, s), nil | |||
| 1435 | - | case reflect.Bool: | |||
| 1436 | - | if v.Bool() { | |||
| 1437 | - | return append(b, "true"...), nil | |||
| 1438 | - | } | |||
| 1439 | - | return append(b, "false"...), nil | |||
| 1440 | - | case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: | |||
| 1441 | - | return strconv.AppendInt(b, v.Int(), 10), nil | |||
| 1442 | - | case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: | |||
| 1443 | - | u := v.Uint() | |||
| 1444 | - | if u > math.MaxInt64 { | |||
| 1445 | - | return nil, fmt.Errorf("toml: cannot encode an unsigned integer above math.MaxInt64: %d", u) | |||
| 1446 | - | } | |||
| 1447 | - | return strconv.AppendUint(b, u, 10), nil | |||
| 1448 | - | case reflect.Float32: | |||
| 1449 | - | return appendFloat(b, v.Float(), 32), nil | |||
| 1450 | - | case reflect.Float64: | |||
| 1451 | - | return appendFloat(b, v.Float(), 64), nil | |||
| 1452 | - | case reflect.Slice, reflect.Array: | |||
| 1453 | - | return e.appendArray(b, v, opts, indent) | |||
| 1454 | - | case reflect.Map: | |||
| 1455 | - | return e.appendInlineTable(b, v, indent) | |||
| 1456 | - | case reflect.Struct: | |||
| 1457 | - | return e.appendInlineTable(b, v, indent) | |||
| 1458 | - | default: | |||
| 1459 | - | return nil, fmt.Errorf("toml: cannot encode value of type %s", v.Type()) | |||
| 1460 | - | } | |||
| 1461 | - | } | |||
| 1462 | - | ||||
| 1463 | - | var jsonNumberType = reflect.TypeOf(json.Number("")) | |||
| 1464 | - | ||||
| 1465 | - | func appendJSONNumber(b []byte, n json.Number) ([]byte, error) { | |||
| 1466 | - | if n == "" { | |||
| 1467 | - | return append(b, '0'), nil | |||
| 1468 | - | } | |||
| 1469 | - | if i, err := n.Int64(); err == nil { | |||
| 1470 | - | return strconv.AppendInt(b, i, 10), nil | |||
| 1471 | - | } | |||
| 1472 | - | f, err := n.Float64() | |||
| 1473 | - | if err != nil { | |||
| 1474 | - | return nil, fmt.Errorf("toml: cannot encode json.Number %q: %w", string(n), err) | |||
| 1475 | - | } | |||
| 1476 | - | return appendFloat(b, f, 64), nil | |||
| 1477 | - | } | |||
| 1478 | - | ||||
| 1479 | - | func appendFloat(b []byte, f float64, bitSize int) []byte { | |||
| 1480 | - | switch { | |||
| 1481 | - | case math.IsNaN(f): | |||
| 1482 | - | return append(b, "nan"...) | |||
| 1483 | - | case math.IsInf(f, 1): | |||
| 1484 | - | return append(b, "inf"...) | |||
| 1485 | - | case math.IsInf(f, -1): | |||
| 1486 | - | return append(b, "-inf"...) | |||
| 1487 | - | } | |||
| 1488 | - | start := len(b) | |||
| 1489 | - | b = strconv.AppendFloat(b, f, 'f', -1, bitSize) | |||
| 1490 | - | // TOML floats must have a fractional part or an exponent. | |||
| 1491 | - | if !bytes.ContainsAny(b[start:], ".eE") { | |||
| 1492 | - | b = append(b, ".0"...) | |||
| 1493 | - | } | |||
| 1494 | - | return b | |||
| 1495 | - | } | |||
| 1496 | - | ||||
| 1497 | - | func (e *encoderState) appendTextMarshaler(b []byte, m encoding.TextMarshaler) ([]byte, error) { | |||
| 1498 | - | text, err := m.MarshalText() | |||
| 1499 | - | if err != nil { | |||
| 1500 | - | return nil, fmt.Errorf("toml: error calling MarshalText: %w", err) | |||
| 1501 | - | } | |||
| 1502 | - | return e.appendString(b, string(text)), nil | |||
| 1503 | - | } | |||
| 1504 | - | ||||
| 1505 | - | // appendArray encodes a slice or array value. | |||
| 1506 | - | func (e *encoderState) appendArray(b []byte, v reflect.Value, opts valueOptions, indent int) ([]byte, error) { | |||
| 1507 | - | multiline := opts.multiline || e.arraysMultiline | |||
| 1508 | - | ||||
| 1509 | - | b = append(b, '[') | |||
| 1510 | - | if multiline && v.Len() > 0 { | |||
| 1511 | - | for i := 0; i < v.Len(); i++ { | |||
| 1512 | - | if i > 0 { | |||
| 1513 | - | b = append(b, ',') | |||
| 1514 | - | } | |||
| 1515 | - | b = append(b, '\n') | |||
| 1516 | - | for j := 0; j <= indent; j++ { | |||
| 1517 | - | b = append(b, e.indentSymbol...) | |||
| 1518 | - | } | |||
| 1519 | - | var err error | |||
| 1520 | - | b, err = e.appendValue(b, v.Index(i), valueOptions{}, indent+1) | |||
| 1521 | - | if err != nil { | |||
| 1522 | - | return nil, err | |||
| 1523 | - | } | |||
| 1524 | - | } | |||
| 1525 | - | b = append(b, '\n') | |||
| 1526 | - | for j := 0; j < indent; j++ { | |||
| 1527 | - | b = append(b, e.indentSymbol...) | |||
| 1528 | - | } | |||
| 1529 | - | } else { | |||
| 1530 | - | for i := 0; i < v.Len(); i++ { | |||
| 1531 | - | if i > 0 { | |||
| 1532 | - | b = append(b, ", "...) | |||
| 1533 | - | } | |||
| 1534 | - | var err error | |||
| 1535 | - | b, err = e.appendValue(b, v.Index(i), valueOptions{}, indent) | |||
| 1536 | - | if err != nil { | |||
| 1537 | - | return nil, err | |||
| 1538 | - | } | |||
| 1539 | - | } | |||
| 1540 | - | } | |||
| 1541 | - | return append(b, ']'), nil | |||
| 1542 | - | } | |||
| 1543 | - | ||||
| 1544 | - | // appendInlineTable encodes a map or a struct as an inline table. | |||
| 1545 | - | func (e *encoderState) appendInlineTable(b []byte, v reflect.Value, indent int) ([]byte, error) { | |||
| 1546 | - | entries, err := e.collectEntries(v) | |||
| 1547 | - | if err != nil { | |||
| 1548 | - | return nil, err | |||
| 1549 | - | } | |||
| 1550 | - | ||||
| 1551 | - | b = append(b, '{') | |||
| 1552 | - | for i, ent := range entries { | |||
| 1553 | - | if i > 0 { | |||
| 1554 | - | b = append(b, ", "...) | |||
| 1555 | - | } | |||
| 1556 | - | b = e.appendKey(b, ent.key) | |||
| 1557 | - | b = append(b, " = "...) | |||
| 1558 | - | // multiline strings are not allowed inside inline tables: they | |||
| 1559 | - | // would break the single-line requirement. | |||
| 1560 | - | opts := ent.options | |||
| 1561 | - | opts.multiline = false | |||
| 1562 | - | b, err = e.appendValue(b, ent.value, opts, indent) | |||
| 1563 | - | if err != nil { | |||
| 1564 | - | return nil, err | |||
| 1565 | - | } | |||
| 1566 | - | } | |||
| 1567 | - | e.putEntries(entries) | |||
| 1568 | - | return append(b, '}'), nil | |||
| 1569 | - | } | |||
| 1570 | - | ||||
| 1571 | - | // appendString encodes a string, using a literal string when possible and a | |||
| 1572 | - | // basic string otherwise. | |||
| 1573 | - | func (e *encoderState) appendString(b []byte, s string) []byte { | |||
| 1574 | - | if canBeLiteral(s) { | |||
| 1575 | - | b = append(b, '\'') | |||
| 1576 | - | b = append(b, s...) | |||
| 1577 | - | return append(b, '\'') | |||
| 1578 | - | } | |||
| 1579 | - | return appendBasicString(b, s) | |||
| 1580 | - | } | |||
| 1581 | - | ||||
| 1582 | - | // canBeLiteral returns true when the string can be represented as a TOML | |||
| 1583 | - | // literal string: no control characters, no single quote, no newline. | |||
| 1584 | - | func canBeLiteral(s string) bool { | |||
| 1585 | - | for i := 0; i < len(s); i++ { | |||
| 1586 | - | c := s[i] | |||
| 1587 | - | if c == '\'' || c == 0x7f || c < 0x20 { | |||
| 1588 | - | return false | |||
| 1589 | - | } | |||
| 1590 | - | } | |||
| 1591 | - | return utf8.ValidString(s) | |||
| 1592 | - | } | |||
| 1593 | - | ||||
| 1594 | - | // appendBasicString encodes a string as a TOML basic (double-quoted) string. | |||
| 1595 | - | func appendBasicString(b []byte, s string) []byte { | |||
| 1596 | - | b = append(b, '"') | |||
| 1597 | - | for i := 0; i < len(s); { | |||
| 1598 | - | c := s[i] | |||
| 1599 | - | switch { | |||
| 1600 | - | case c == '"': | |||
| 1601 | - | b = append(b, '\\', '"') | |||
| 1602 | - | i++ | |||
| 1603 | - | case c == '\\': | |||
| 1604 | - | b = append(b, '\\', '\\') | |||
| 1605 | - | i++ | |||
| 1606 | - | case c == '\b': | |||
| 1607 | - | b = append(b, '\\', 'b') | |||
| 1608 | - | i++ | |||
| 1609 | - | case c == '\f': | |||
| 1610 | - | b = append(b, '\\', 'f') | |||
| 1611 | - | i++ | |||
| 1612 | - | case c == '\n': | |||
| 1613 | - | b = append(b, '\\', 'n') | |||
| 1614 | - | i++ | |||
| 1615 | - | case c == '\r': | |||
| 1616 | - | b = append(b, '\\', 'r') | |||
| 1617 | - | i++ | |||
| 1618 | - | case c == '\t': | |||
| 1619 | - | b = append(b, '\\', 't') | |||
| 1620 | - | i++ | |||
| 1621 | - | case c < 0x20 || c == 0x7f: | |||
| 1622 | - | b = append(b, fmt.Sprintf("\\u%04X", c)...) | |||
| 1623 | - | i++ | |||
| 1624 | - | default: | |||
| 1625 | - | r, size := utf8.DecodeRuneInString(s[i:]) | |||
| 1626 | - | if r == utf8.RuneError && size == 1 { | |||
| 1627 | - | // Replace invalid bytes by the replacement character. | |||
| 1628 | - | b = append(b, fmt.Sprintf("\\u%04X", c)...) | |||
| 1629 | - | i++ | |||
| 1630 | - | continue | |||
| 1631 | - | } | |||
| 1632 | - | b = append(b, s[i:i+size]...) | |||
| 1633 | - | i += size | |||
| 1634 | - | } | |||
| 1635 | - | } | |||
| 1636 | - | return append(b, '"') | |||
| 1637 | - | } | |||
| 1638 | - | ||||
| 1639 | - | // appendMultilineString encodes a string as a TOML multi-line basic string. | |||
| 1640 | - | func appendMultilineString(b []byte, s string) []byte { | |||
| 1641 | - | b = append(b, `"""`...) | |||
| 1642 | - | b = append(b, '\n') | |||
| 1643 | - | for i := 0; i < len(s); { | |||
| 1644 | - | c := s[i] | |||
| 1645 | - | switch { | |||
| 1646 | - | case c == '"': | |||
| 1647 | - | // Runs of three or more quotes must be escaped. | |||
| 1648 | - | j := i | |||
| 1649 | - | for j < len(s) && s[j] == '"' { | |||
| 1650 | - | j++ | |||
| 1651 | - | } | |||
| 1652 | - | if j-i >= 3 { | |||
| 1653 | - | for ; i < j; i++ { | |||
| 1654 | - | b = append(b, '\\', '"') | |||
| 1655 | - | } | |||
| 1656 | - | } else { | |||
| 1657 | - | b = append(b, s[i:j]...) | |||
| 1658 | - | i = j | |||
| 1659 | - | } | |||
| 1660 | - | case c == '\\': | |||
| 1661 | - | b = append(b, '\\', '\\') | |||
| 1662 | - | i++ | |||
| 1663 | - | case c == '\n': | |||
| 1664 | - | b = append(b, '\n') | |||
| 1665 | - | i++ | |||
| 1666 | - | case c == '\b': | |||
| 1667 | - | b = append(b, '\\', 'b') | |||
| 1668 | - | i++ | |||
| 1669 | - | case c == '\f': | |||
| 1670 | - | b = append(b, '\\', 'f') | |||
| 1671 | - | i++ | |||
| 1672 | - | case c == '\r': | |||
| 1673 | - | b = append(b, '\\', 'r') | |||
| 1674 | - | i++ | |||
| 1675 | - | case c == '\t': | |||
| 1676 | - | b = append(b, '\t') | |||
| 1677 | - | i++ | |||
| 1678 | - | case c < 0x20 || c == 0x7f: | |||
| 1679 | - | b = append(b, fmt.Sprintf("\\u%04X", c)...) | |||
| 1680 | - | i++ | |||
| 1681 | - | default: | |||
| 1682 | - | r, size := utf8.DecodeRuneInString(s[i:]) | |||
| 1683 | - | if r == utf8.RuneError && size == 1 { | |||
| 1684 | - | b = append(b, fmt.Sprintf("\\u%04X", c)...) | |||
| 1685 | - | i++ | |||
| 1686 | - | continue | |||
| 1687 | - | } | |||
| 1688 | - | b = append(b, s[i:i+size]...) | |||
| 1689 | - | i += size | |||
| 1690 | - | } | |||
| 1691 | - | } | |||
| 1692 | - | return append(b, `"""`...) | |||
| 1693 | - | } | |||
| 1694 | - | ||||
| 1695 | - | func (e *encoderState) appendMultilineString(b []byte, s string) []byte { | |||
| 1696 | - | return appendMultilineString(b, s) | |||
| 1697 | - | } | |||
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