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 | |
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
| @@ -1,7039 +0,0 @@ | |||
| 1 | - | // Package gio was automatically generated by github.com/bnema/puregotk DO NOT EDIT | |
| 2 | - | package gio | |
| 3 | - | ||
| 4 | - | import ( | |
| 5 | - | "structs" | |
| 6 | - | "unsafe" | |
| 7 | - | ||
| 8 | - | "github.com/bnema/purego" | |
| 9 | - | "github.com/bnema/puregotk/pkg/core" | |
| 10 | - | "github.com/bnema/puregotk/v4/glib" | |
| 11 | - | "github.com/bnema/puregotk/v4/gobject" | |
| 12 | - | "github.com/bnema/puregotk/v4/gobject/types" | |
| 13 | - | ) | |
| 14 | - | ||
| 15 | - | // An interface for writing VFS file handles. | |
| 16 | - | type FileIface struct { | |
| 17 | - | _ structs.HostLayout | |
| 18 | - | ||
| 19 | - | GIface uintptr | |
| 20 | - | ||
| 21 | - | xDup uintptr | |
| 22 | - | ||
| 23 | - | xHash uintptr | |
| 24 | - | ||
| 25 | - | xEqual uintptr | |
| 26 | - | ||
| 27 | - | xIsNative uintptr | |
| 28 | - | ||
| 29 | - | xHasUriScheme uintptr | |
| 30 | - | ||
| 31 | - | xGetUriScheme uintptr | |
| 32 | - | ||
| 33 | - | xGetBasename uintptr | |
| 34 | - | ||
| 35 | - | xGetPath uintptr | |
| 36 | - | ||
| 37 | - | xGetUri uintptr | |
| 38 | - | ||
| 39 | - | xGetParseName uintptr | |
| 40 | - | ||
| 41 | - | xGetParent uintptr | |
| 42 | - | ||
| 43 | - | xPrefixMatches uintptr | |
| 44 | - | ||
| 45 | - | xGetRelativePath uintptr | |
| 46 | - | ||
| 47 | - | xResolveRelativePath uintptr | |
| 48 | - | ||
| 49 | - | xGetChildForDisplayName uintptr | |
| 50 | - | ||
| 51 | - | xEnumerateChildren uintptr | |
| 52 | - | ||
| 53 | - | xEnumerateChildrenAsync uintptr | |
| 54 | - | ||
| 55 | - | xEnumerateChildrenFinish uintptr | |
| 56 | - | ||
| 57 | - | xQueryInfo uintptr | |
| 58 | - | ||
| 59 | - | xQueryInfoAsync uintptr | |
| 60 | - | ||
| 61 | - | xQueryInfoFinish uintptr | |
| 62 | - | ||
| 63 | - | xQueryFilesystemInfo uintptr | |
| 64 | - | ||
| 65 | - | xQueryFilesystemInfoAsync uintptr | |
| 66 | - | ||
| 67 | - | xQueryFilesystemInfoFinish uintptr | |
| 68 | - | ||
| 69 | - | xFindEnclosingMount uintptr | |
| 70 | - | ||
| 71 | - | xFindEnclosingMountAsync uintptr | |
| 72 | - | ||
| 73 | - | xFindEnclosingMountFinish uintptr | |
| 74 | - | ||
| 75 | - | xSetDisplayName uintptr | |
| 76 | - | ||
| 77 | - | xSetDisplayNameAsync uintptr | |
| 78 | - | ||
| 79 | - | xSetDisplayNameFinish uintptr | |
| 80 | - | ||
| 81 | - | xQuerySettableAttributes uintptr | |
| 82 | - | ||
| 83 | - | xQuerySettableAttributesAsync uintptr | |
| 84 | - | ||
| 85 | - | xQuerySettableAttributesFinish uintptr | |
| 86 | - | ||
| 87 | - | xQueryWritableNamespaces uintptr | |
| 88 | - | ||
| 89 | - | xQueryWritableNamespacesAsync uintptr | |
| 90 | - | ||
| 91 | - | xQueryWritableNamespacesFinish uintptr | |
| 92 | - | ||
| 93 | - | xSetAttribute uintptr | |
| 94 | - | ||
| 95 | - | xSetAttributesFromInfo uintptr | |
| 96 | - | ||
| 97 | - | xSetAttributesAsync uintptr | |
| 98 | - | ||
| 99 | - | xSetAttributesFinish uintptr | |
| 100 | - | ||
| 101 | - | xReadFn uintptr | |
| 102 | - | ||
| 103 | - | xReadAsync uintptr | |
| 104 | - | ||
| 105 | - | xReadFinish uintptr | |
| 106 | - | ||
| 107 | - | xAppendTo uintptr | |
| 108 | - | ||
| 109 | - | xAppendToAsync uintptr | |
| 110 | - | ||
| 111 | - | xAppendToFinish uintptr | |
| 112 | - | ||
| 113 | - | xCreate uintptr | |
| 114 | - | ||
| 115 | - | xCreateAsync uintptr | |
| 116 | - | ||
| 117 | - | xCreateFinish uintptr | |
| 118 | - | ||
| 119 | - | xReplace uintptr | |
| 120 | - | ||
| 121 | - | xReplaceAsync uintptr | |
| 122 | - | ||
| 123 | - | xReplaceFinish uintptr | |
| 124 | - | ||
| 125 | - | xDeleteFile uintptr | |
| 126 | - | ||
| 127 | - | xDeleteFileAsync uintptr | |
| 128 | - | ||
| 129 | - | xDeleteFileFinish uintptr | |
| 130 | - | ||
| 131 | - | xTrash uintptr | |
| 132 | - | ||
| 133 | - | xTrashAsync uintptr | |
| 134 | - | ||
| 135 | - | xTrashFinish uintptr | |
| 136 | - | ||
| 137 | - | xMakeDirectory uintptr | |
| 138 | - | ||
| 139 | - | xMakeDirectoryAsync uintptr | |
| 140 | - | ||
| 141 | - | xMakeDirectoryFinish uintptr | |
| 142 | - | ||
| 143 | - | xMakeSymbolicLink uintptr | |
| 144 | - | ||
| 145 | - | xMakeSymbolicLinkAsync uintptr | |
| 146 | - | ||
| 147 | - | xMakeSymbolicLinkFinish uintptr | |
| 148 | - | ||
| 149 | - | xCopy uintptr | |
| 150 | - | ||
| 151 | - | xCopyAsync uintptr | |
| 152 | - | ||
| 153 | - | xCopyFinish uintptr | |
| 154 | - | ||
| 155 | - | xMove uintptr | |
| 156 | - | ||
| 157 | - | xMoveAsync uintptr | |
| 158 | - | ||
| 159 | - | xMoveFinish uintptr | |
| 160 | - | ||
| 161 | - | xMountMountable uintptr | |
| 162 | - | ||
| 163 | - | xMountMountableFinish uintptr | |
| 164 | - | ||
| 165 | - | xUnmountMountable uintptr | |
| 166 | - | ||
| 167 | - | xUnmountMountableFinish uintptr | |
| 168 | - | ||
| 169 | - | xEjectMountable uintptr | |
| 170 | - | ||
| 171 | - | xEjectMountableFinish uintptr | |
| 172 | - | ||
| 173 | - | xMountEnclosingVolume uintptr | |
| 174 | - | ||
| 175 | - | xMountEnclosingVolumeFinish uintptr | |
| 176 | - | ||
| 177 | - | xMonitorDir uintptr | |
| 178 | - | ||
| 179 | - | xMonitorFile uintptr | |
| 180 | - | ||
| 181 | - | xOpenReadwrite uintptr | |
| 182 | - | ||
| 183 | - | xOpenReadwriteAsync uintptr | |
| 184 | - | ||
| 185 | - | xOpenReadwriteFinish uintptr | |
| 186 | - | ||
| 187 | - | xCreateReadwrite uintptr | |
| 188 | - | ||
| 189 | - | xCreateReadwriteAsync uintptr | |
| 190 | - | ||
| 191 | - | xCreateReadwriteFinish uintptr | |
| 192 | - | ||
| 193 | - | xReplaceReadwrite uintptr | |
| 194 | - | ||
| 195 | - | xReplaceReadwriteAsync uintptr | |
| 196 | - | ||
| 197 | - | xReplaceReadwriteFinish uintptr | |
| 198 | - | ||
| 199 | - | xStartMountable uintptr | |
| 200 | - | ||
| 201 | - | xStartMountableFinish uintptr | |
| 202 | - | ||
| 203 | - | xStopMountable uintptr | |
| 204 | - | ||
| 205 | - | xStopMountableFinish uintptr | |
| 206 | - | ||
| 207 | - | SupportsThreadContexts bool | |
| 208 | - | ||
| 209 | - | xUnmountMountableWithOperation uintptr | |
| 210 | - | ||
| 211 | - | xUnmountMountableWithOperationFinish uintptr | |
| 212 | - | ||
| 213 | - | xEjectMountableWithOperation uintptr | |
| 214 | - | ||
| 215 | - | xEjectMountableWithOperationFinish uintptr | |
| 216 | - | ||
| 217 | - | xPollMountable uintptr | |
| 218 | - | ||
| 219 | - | xPollMountableFinish uintptr | |
| 220 | - | ||
| 221 | - | xMeasureDiskUsage uintptr | |
| 222 | - | ||
| 223 | - | xMeasureDiskUsageAsync uintptr | |
| 224 | - | ||
| 225 | - | xMeasureDiskUsageFinish uintptr | |
| 226 | - | ||
| 227 | - | xQueryExists uintptr | |
| 228 | - | } | |
| 229 | - | ||
| 230 | - | func (x *FileIface) GoPointer() uintptr { | |
| 231 | - | return uintptr(unsafe.Pointer(x)) | |
| 232 | - | } | |
| 233 | - | ||
| 234 | - | func FileIfaceNewFromInternalPtr(ptr uintptr) *FileIface { | |
| 235 | - | if ptr == 0 { | |
| 236 | - | return nil | |
| 237 | - | } | |
| 238 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 239 | - | return (*FileIface)(rawPtr) | |
| 240 | - | } | |
| 241 | - | ||
| 242 | - | // OverrideDup sets the "dup" callback function. | |
| 243 | - | // Duplicates a #GFile. | |
| 244 | - | func (x *FileIface) OverrideDup(cb func(File) *FileBase) { | |
| 245 | - | if cb == nil { | |
| 246 | - | x.xDup = 0 | |
| 247 | - | } else { | |
| 248 | - | x.xDup = purego.NewCallback(func(FileVarp uintptr) uintptr { | |
| 249 | - | ret := cb(&FileBase{Ptr: FileVarp}) | |
| 250 | - | if ret == nil { | |
| 251 | - | return 0 | |
| 252 | - | } | |
| 253 | - | return ret.GoPointer() | |
| 254 | - | }) | |
| 255 | - | } | |
| 256 | - | } | |
| 257 | - | ||
| 258 | - | // GetDup gets the "dup" callback function. | |
| 259 | - | // Duplicates a #GFile. | |
| 260 | - | func (x *FileIface) GetDup() func(File) *FileBase { | |
| 261 | - | if x.xDup == 0 { | |
| 262 | - | return nil | |
| 263 | - | } | |
| 264 | - | var rawCallback func(FileVarp uintptr) uintptr | |
| 265 | - | purego.RegisterFunc(&rawCallback, x.xDup) | |
| 266 | - | return func(FileVar File) *FileBase { | |
| 267 | - | rawRet := rawCallback(FileVar.GoPointer()) | |
| 268 | - | if rawRet == 0 { | |
| 269 | - | return nil | |
| 270 | - | } | |
| 271 | - | ret := &FileBase{} | |
| 272 | - | ret.Ptr = rawRet | |
| 273 | - | return ret | |
| 274 | - | } | |
| 275 | - | } | |
| 276 | - | ||
| 277 | - | // OverrideHash sets the "hash" callback function. | |
| 278 | - | // Creates a hash of a #GFile. | |
| 279 | - | func (x *FileIface) OverrideHash(cb func(File) uint) { | |
| 280 | - | if cb == nil { | |
| 281 | - | x.xHash = 0 | |
| 282 | - | } else { | |
| 283 | - | x.xHash = purego.NewCallback(func(FileVarp uintptr) uint { | |
| 284 | - | return cb(&FileBase{Ptr: FileVarp}) | |
| 285 | - | }) | |
| 286 | - | } | |
| 287 | - | } | |
| 288 | - | ||
| 289 | - | // GetHash gets the "hash" callback function. | |
| 290 | - | // Creates a hash of a #GFile. | |
| 291 | - | func (x *FileIface) GetHash() func(File) uint { | |
| 292 | - | if x.xHash == 0 { | |
| 293 | - | return nil | |
| 294 | - | } | |
| 295 | - | var rawCallback func(FileVarp uintptr) uint | |
| 296 | - | purego.RegisterFunc(&rawCallback, x.xHash) | |
| 297 | - | return func(FileVar File) uint { | |
| 298 | - | return rawCallback(FileVar.GoPointer()) | |
| 299 | - | } | |
| 300 | - | } | |
| 301 | - | ||
| 302 | - | // OverrideEqual sets the "equal" callback function. | |
| 303 | - | // Checks equality of two given #GFiles. | |
| 304 | - | func (x *FileIface) OverrideEqual(cb func(File, File) bool) { | |
| 305 | - | if cb == nil { | |
| 306 | - | x.xEqual = 0 | |
| 307 | - | } else { | |
| 308 | - | x.xEqual = purego.NewCallback(func(File1Varp uintptr, File2Varp uintptr) bool { | |
| 309 | - | return cb(&FileBase{Ptr: File1Varp}, &FileBase{Ptr: File2Varp}) | |
| 310 | - | }) | |
| 311 | - | } | |
| 312 | - | } | |
| 313 | - | ||
| 314 | - | // GetEqual gets the "equal" callback function. | |
| 315 | - | // Checks equality of two given #GFiles. | |
| 316 | - | func (x *FileIface) GetEqual() func(File, File) bool { | |
| 317 | - | if x.xEqual == 0 { | |
| 318 | - | return nil | |
| 319 | - | } | |
| 320 | - | var rawCallback func(File1Varp uintptr, File2Varp uintptr) bool | |
| 321 | - | purego.RegisterFunc(&rawCallback, x.xEqual) | |
| 322 | - | return func(File1Var File, File2Var File) bool { | |
| 323 | - | return rawCallback(File1Var.GoPointer(), File2Var.GoPointer()) | |
| 324 | - | } | |
| 325 | - | } | |
| 326 | - | ||
| 327 | - | // OverrideIsNative sets the "is_native" callback function. | |
| 328 | - | // Checks to see if a file is native to the system. | |
| 329 | - | func (x *FileIface) OverrideIsNative(cb func(File) bool) { | |
| 330 | - | if cb == nil { | |
| 331 | - | x.xIsNative = 0 | |
| 332 | - | } else { | |
| 333 | - | x.xIsNative = purego.NewCallback(func(FileVarp uintptr) bool { | |
| 334 | - | return cb(&FileBase{Ptr: FileVarp}) | |
| 335 | - | }) | |
| 336 | - | } | |
| 337 | - | } | |
| 338 | - | ||
| 339 | - | // GetIsNative gets the "is_native" callback function. | |
| 340 | - | // Checks to see if a file is native to the system. | |
| 341 | - | func (x *FileIface) GetIsNative() func(File) bool { | |
| 342 | - | if x.xIsNative == 0 { | |
| 343 | - | return nil | |
| 344 | - | } | |
| 345 | - | var rawCallback func(FileVarp uintptr) bool | |
| 346 | - | purego.RegisterFunc(&rawCallback, x.xIsNative) | |
| 347 | - | return func(FileVar File) bool { | |
| 348 | - | return rawCallback(FileVar.GoPointer()) | |
| 349 | - | } | |
| 350 | - | } | |
| 351 | - | ||
| 352 | - | // OverrideHasUriScheme sets the "has_uri_scheme" callback function. | |
| 353 | - | // Checks to see if a #GFile has a given URI scheme. | |
| 354 | - | func (x *FileIface) OverrideHasUriScheme(cb func(File, string) bool) { | |
| 355 | - | if cb == nil { | |
| 356 | - | x.xHasUriScheme = 0 | |
| 357 | - | } else { | |
| 358 | - | x.xHasUriScheme = purego.NewCallback(func(FileVarp uintptr, UriSchemeVarp string) bool { | |
| 359 | - | return cb(&FileBase{Ptr: FileVarp}, UriSchemeVarp) | |
| 360 | - | }) | |
| 361 | - | } | |
| 362 | - | } | |
| 363 | - | ||
| 364 | - | // GetHasUriScheme gets the "has_uri_scheme" callback function. | |
| 365 | - | // Checks to see if a #GFile has a given URI scheme. | |
| 366 | - | func (x *FileIface) GetHasUriScheme() func(File, string) bool { | |
| 367 | - | if x.xHasUriScheme == 0 { | |
| 368 | - | return nil | |
| 369 | - | } | |
| 370 | - | var rawCallback func(FileVarp uintptr, UriSchemeVarp string) bool | |
| 371 | - | purego.RegisterFunc(&rawCallback, x.xHasUriScheme) | |
| 372 | - | return func(FileVar File, UriSchemeVar string) bool { | |
| 373 | - | return rawCallback(FileVar.GoPointer(), UriSchemeVar) | |
| 374 | - | } | |
| 375 | - | } | |
| 376 | - | ||
| 377 | - | // OverrideGetUriScheme sets the "get_uri_scheme" callback function. | |
| 378 | - | // Gets the URI scheme for a #GFile. | |
| 379 | - | func (x *FileIface) OverrideGetUriScheme(cb func(File) string) { | |
| 380 | - | if cb == nil { | |
| 381 | - | x.xGetUriScheme = 0 | |
| 382 | - | } else { | |
| 383 | - | x.xGetUriScheme = purego.NewCallback(func(FileVarp uintptr) string { | |
| 384 | - | return cb(&FileBase{Ptr: FileVarp}) | |
| 385 | - | }) | |
| 386 | - | } | |
| 387 | - | } | |
| 388 | - | ||
| 389 | - | // GetGetUriScheme gets the "get_uri_scheme" callback function. | |
| 390 | - | // Gets the URI scheme for a #GFile. | |
| 391 | - | func (x *FileIface) GetGetUriScheme() func(File) string { | |
| 392 | - | if x.xGetUriScheme == 0 { | |
| 393 | - | return nil | |
| 394 | - | } | |
| 395 | - | var rawCallback func(FileVarp uintptr) string | |
| 396 | - | purego.RegisterFunc(&rawCallback, x.xGetUriScheme) | |
| 397 | - | return func(FileVar File) string { | |
| 398 | - | return rawCallback(FileVar.GoPointer()) | |
| 399 | - | } | |
| 400 | - | } | |
| 401 | - | ||
| 402 | - | // OverrideGetBasename sets the "get_basename" callback function. | |
| 403 | - | // Gets the basename for a given #GFile. | |
| 404 | - | func (x *FileIface) OverrideGetBasename(cb func(File) string) { | |
| 405 | - | if cb == nil { | |
| 406 | - | x.xGetBasename = 0 | |
| 407 | - | } else { | |
| 408 | - | x.xGetBasename = purego.NewCallback(func(FileVarp uintptr) string { | |
| 409 | - | return cb(&FileBase{Ptr: FileVarp}) | |
| 410 | - | }) | |
| 411 | - | } | |
| 412 | - | } | |
| 413 | - | ||
| 414 | - | // GetGetBasename gets the "get_basename" callback function. | |
| 415 | - | // Gets the basename for a given #GFile. | |
| 416 | - | func (x *FileIface) GetGetBasename() func(File) string { | |
| 417 | - | if x.xGetBasename == 0 { | |
| 418 | - | return nil | |
| 419 | - | } | |
| 420 | - | var rawCallback func(FileVarp uintptr) string | |
| 421 | - | purego.RegisterFunc(&rawCallback, x.xGetBasename) | |
| 422 | - | return func(FileVar File) string { | |
| 423 | - | return rawCallback(FileVar.GoPointer()) | |
| 424 | - | } | |
| 425 | - | } | |
| 426 | - | ||
| 427 | - | // OverrideGetPath sets the "get_path" callback function. | |
| 428 | - | // Gets the current path within a #GFile. | |
| 429 | - | func (x *FileIface) OverrideGetPath(cb func(File) string) { | |
| 430 | - | if cb == nil { | |
| 431 | - | x.xGetPath = 0 | |
| 432 | - | } else { | |
| 433 | - | x.xGetPath = purego.NewCallback(func(FileVarp uintptr) string { | |
| 434 | - | return cb(&FileBase{Ptr: FileVarp}) | |
| 435 | - | }) | |
| 436 | - | } | |
| 437 | - | } | |
| 438 | - | ||
| 439 | - | // GetGetPath gets the "get_path" callback function. | |
| 440 | - | // Gets the current path within a #GFile. | |
| 441 | - | func (x *FileIface) GetGetPath() func(File) string { | |
| 442 | - | if x.xGetPath == 0 { | |
| 443 | - | return nil | |
| 444 | - | } | |
| 445 | - | var rawCallback func(FileVarp uintptr) string | |
| 446 | - | purego.RegisterFunc(&rawCallback, x.xGetPath) | |
| 447 | - | return func(FileVar File) string { | |
| 448 | - | return rawCallback(FileVar.GoPointer()) | |
| 449 | - | } | |
| 450 | - | } | |
| 451 | - | ||
| 452 | - | // OverrideGetUri sets the "get_uri" callback function. | |
| 453 | - | // Gets a URI for the path within a #GFile. | |
| 454 | - | func (x *FileIface) OverrideGetUri(cb func(File) string) { | |
| 455 | - | if cb == nil { | |
| 456 | - | x.xGetUri = 0 | |
| 457 | - | } else { | |
| 458 | - | x.xGetUri = purego.NewCallback(func(FileVarp uintptr) string { | |
| 459 | - | return cb(&FileBase{Ptr: FileVarp}) | |
| 460 | - | }) | |
| 461 | - | } | |
| 462 | - | } | |
| 463 | - | ||
| 464 | - | // GetGetUri gets the "get_uri" callback function. | |
| 465 | - | // Gets a URI for the path within a #GFile. | |
| 466 | - | func (x *FileIface) GetGetUri() func(File) string { | |
| 467 | - | if x.xGetUri == 0 { | |
| 468 | - | return nil | |
| 469 | - | } | |
| 470 | - | var rawCallback func(FileVarp uintptr) string | |
| 471 | - | purego.RegisterFunc(&rawCallback, x.xGetUri) | |
| 472 | - | return func(FileVar File) string { | |
| 473 | - | return rawCallback(FileVar.GoPointer()) | |
| 474 | - | } | |
| 475 | - | } | |
| 476 | - | ||
| 477 | - | // OverrideGetParseName sets the "get_parse_name" callback function. | |
| 478 | - | // Gets the parsed name for the #GFile. | |
| 479 | - | func (x *FileIface) OverrideGetParseName(cb func(File) string) { | |
| 480 | - | if cb == nil { | |
| 481 | - | x.xGetParseName = 0 | |
| 482 | - | } else { | |
| 483 | - | x.xGetParseName = purego.NewCallback(func(FileVarp uintptr) string { | |
| 484 | - | return cb(&FileBase{Ptr: FileVarp}) | |
| 485 | - | }) | |
| 486 | - | } | |
| 487 | - | } | |
| 488 | - | ||
| 489 | - | // GetGetParseName gets the "get_parse_name" callback function. | |
| 490 | - | // Gets the parsed name for the #GFile. | |
| 491 | - | func (x *FileIface) GetGetParseName() func(File) string { | |
| 492 | - | if x.xGetParseName == 0 { | |
| 493 | - | return nil | |
| 494 | - | } | |
| 495 | - | var rawCallback func(FileVarp uintptr) string | |
| 496 | - | purego.RegisterFunc(&rawCallback, x.xGetParseName) | |
| 497 | - | return func(FileVar File) string { | |
| 498 | - | return rawCallback(FileVar.GoPointer()) | |
| 499 | - | } | |
| 500 | - | } | |
| 501 | - | ||
| 502 | - | // OverrideGetParent sets the "get_parent" callback function. | |
| 503 | - | // Gets the parent directory for the #GFile. | |
| 504 | - | func (x *FileIface) OverrideGetParent(cb func(File) *FileBase) { | |
| 505 | - | if cb == nil { | |
| 506 | - | x.xGetParent = 0 | |
| 507 | - | } else { | |
| 508 | - | x.xGetParent = purego.NewCallback(func(FileVarp uintptr) uintptr { | |
| 509 | - | ret := cb(&FileBase{Ptr: FileVarp}) | |
| 510 | - | if ret == nil { | |
| 511 | - | return 0 | |
| 512 | - | } | |
| 513 | - | return ret.GoPointer() | |
| 514 | - | }) | |
| 515 | - | } | |
| 516 | - | } | |
| 517 | - | ||
| 518 | - | // GetGetParent gets the "get_parent" callback function. | |
| 519 | - | // Gets the parent directory for the #GFile. | |
| 520 | - | func (x *FileIface) GetGetParent() func(File) *FileBase { | |
| 521 | - | if x.xGetParent == 0 { | |
| 522 | - | return nil | |
| 523 | - | } | |
| 524 | - | var rawCallback func(FileVarp uintptr) uintptr | |
| 525 | - | purego.RegisterFunc(&rawCallback, x.xGetParent) | |
| 526 | - | return func(FileVar File) *FileBase { | |
| 527 | - | rawRet := rawCallback(FileVar.GoPointer()) | |
| 528 | - | if rawRet == 0 { | |
| 529 | - | return nil | |
| 530 | - | } | |
| 531 | - | ret := &FileBase{} | |
| 532 | - | ret.Ptr = rawRet | |
| 533 | - | return ret | |
| 534 | - | } | |
| 535 | - | } | |
| 536 | - | ||
| 537 | - | // OverridePrefixMatches sets the "prefix_matches" callback function. | |
| 538 | - | // Checks whether a #GFile contains a specified file. | |
| 539 | - | func (x *FileIface) OverridePrefixMatches(cb func(File, File) bool) { | |
| 540 | - | if cb == nil { | |
| 541 | - | x.xPrefixMatches = 0 | |
| 542 | - | } else { | |
| 543 | - | x.xPrefixMatches = purego.NewCallback(func(PrefixVarp uintptr, FileVarp uintptr) bool { | |
| 544 | - | return cb(&FileBase{Ptr: PrefixVarp}, &FileBase{Ptr: FileVarp}) | |
| 545 | - | }) | |
| 546 | - | } | |
| 547 | - | } | |
| 548 | - | ||
| 549 | - | // GetPrefixMatches gets the "prefix_matches" callback function. | |
| 550 | - | // Checks whether a #GFile contains a specified file. | |
| 551 | - | func (x *FileIface) GetPrefixMatches() func(File, File) bool { | |
| 552 | - | if x.xPrefixMatches == 0 { | |
| 553 | - | return nil | |
| 554 | - | } | |
| 555 | - | var rawCallback func(PrefixVarp uintptr, FileVarp uintptr) bool | |
| 556 | - | purego.RegisterFunc(&rawCallback, x.xPrefixMatches) | |
| 557 | - | return func(PrefixVar File, FileVar File) bool { | |
| 558 | - | return rawCallback(PrefixVar.GoPointer(), FileVar.GoPointer()) | |
| 559 | - | } | |
| 560 | - | } | |
| 561 | - | ||
| 562 | - | // OverrideGetRelativePath sets the "get_relative_path" callback function. | |
| 563 | - | // Gets the path for a #GFile relative to a given path. | |
| 564 | - | func (x *FileIface) OverrideGetRelativePath(cb func(File, File) string) { | |
| 565 | - | if cb == nil { | |
| 566 | - | x.xGetRelativePath = 0 | |
| 567 | - | } else { | |
| 568 | - | x.xGetRelativePath = purego.NewCallback(func(ParentVarp uintptr, DescendantVarp uintptr) string { | |
| 569 | - | return cb(&FileBase{Ptr: ParentVarp}, &FileBase{Ptr: DescendantVarp}) | |
| 570 | - | }) | |
| 571 | - | } | |
| 572 | - | } | |
| 573 | - | ||
| 574 | - | // GetGetRelativePath gets the "get_relative_path" callback function. | |
| 575 | - | // Gets the path for a #GFile relative to a given path. | |
| 576 | - | func (x *FileIface) GetGetRelativePath() func(File, File) string { | |
| 577 | - | if x.xGetRelativePath == 0 { | |
| 578 | - | return nil | |
| 579 | - | } | |
| 580 | - | var rawCallback func(ParentVarp uintptr, DescendantVarp uintptr) string | |
| 581 | - | purego.RegisterFunc(&rawCallback, x.xGetRelativePath) | |
| 582 | - | return func(ParentVar File, DescendantVar File) string { | |
| 583 | - | return rawCallback(ParentVar.GoPointer(), DescendantVar.GoPointer()) | |
| 584 | - | } | |
| 585 | - | } | |
| 586 | - | ||
| 587 | - | // OverrideResolveRelativePath sets the "resolve_relative_path" callback function. | |
| 588 | - | // Resolves a relative path for a #GFile to an absolute path. | |
| 589 | - | func (x *FileIface) OverrideResolveRelativePath(cb func(File, string) *FileBase) { | |
| 590 | - | if cb == nil { | |
| 591 | - | x.xResolveRelativePath = 0 | |
| 592 | - | } else { | |
| 593 | - | x.xResolveRelativePath = purego.NewCallback(func(FileVarp uintptr, RelativePathVarp string) uintptr { | |
| 594 | - | ret := cb(&FileBase{Ptr: FileVarp}, RelativePathVarp) | |
| 595 | - | if ret == nil { | |
| 596 | - | return 0 | |
| 597 | - | } | |
| 598 | - | return ret.GoPointer() | |
| 599 | - | }) | |
| 600 | - | } | |
| 601 | - | } | |
| 602 | - | ||
| 603 | - | // GetResolveRelativePath gets the "resolve_relative_path" callback function. | |
| 604 | - | // Resolves a relative path for a #GFile to an absolute path. | |
| 605 | - | func (x *FileIface) GetResolveRelativePath() func(File, string) *FileBase { | |
| 606 | - | if x.xResolveRelativePath == 0 { | |
| 607 | - | return nil | |
| 608 | - | } | |
| 609 | - | var rawCallback func(FileVarp uintptr, RelativePathVarp string) uintptr | |
| 610 | - | purego.RegisterFunc(&rawCallback, x.xResolveRelativePath) | |
| 611 | - | return func(FileVar File, RelativePathVar string) *FileBase { | |
| 612 | - | rawRet := rawCallback(FileVar.GoPointer(), RelativePathVar) | |
| 613 | - | if rawRet == 0 { | |
| 614 | - | return nil | |
| 615 | - | } | |
| 616 | - | ret := &FileBase{} | |
| 617 | - | ret.Ptr = rawRet | |
| 618 | - | return ret | |
| 619 | - | } | |
| 620 | - | } | |
| 621 | - | ||
| 622 | - | // OverrideGetChildForDisplayName sets the "get_child_for_display_name" callback function. | |
| 623 | - | // Gets the child #GFile for a given display name. | |
| 624 | - | func (x *FileIface) OverrideGetChildForDisplayName(cb func(File, string) *FileBase) { | |
| 625 | - | if cb == nil { | |
| 626 | - | x.xGetChildForDisplayName = 0 | |
| 627 | - | } else { | |
| 628 | - | x.xGetChildForDisplayName = purego.NewCallback(func(FileVarp uintptr, DisplayNameVarp string, cerrp **glib.Error) uintptr { | |
| 629 | - | ret := cb(&FileBase{Ptr: FileVarp}, DisplayNameVarp) | |
| 630 | - | if ret == nil { | |
| 631 | - | return 0 | |
| 632 | - | } | |
| 633 | - | return ret.GoPointer() | |
| 634 | - | }) | |
| 635 | - | } | |
| 636 | - | } | |
| 637 | - | ||
| 638 | - | // GetGetChildForDisplayName gets the "get_child_for_display_name" callback function. | |
| 639 | - | // Gets the child #GFile for a given display name. | |
| 640 | - | func (x *FileIface) GetGetChildForDisplayName() func(File, string) *FileBase { | |
| 641 | - | if x.xGetChildForDisplayName == 0 { | |
| 642 | - | return nil | |
| 643 | - | } | |
| 644 | - | var rawCallback func(FileVarp uintptr, DisplayNameVarp string, cerrp **glib.Error) uintptr | |
| 645 | - | purego.RegisterFunc(&rawCallback, x.xGetChildForDisplayName) | |
| 646 | - | return func(FileVar File, DisplayNameVar string) *FileBase { | |
| 647 | - | var cerr *glib.Error | |
| 648 | - | rawRet := rawCallback(FileVar.GoPointer(), DisplayNameVar, &cerr) | |
| 649 | - | if rawRet == 0 { | |
| 650 | - | return nil | |
| 651 | - | } | |
| 652 | - | ret := &FileBase{} | |
| 653 | - | ret.Ptr = rawRet | |
| 654 | - | return ret | |
| 655 | - | } | |
| 656 | - | } | |
| 657 | - | ||
| 658 | - | // OverrideEnumerateChildren sets the "enumerate_children" callback function. | |
| 659 | - | // Gets a #GFileEnumerator with the children of a #GFile. | |
| 660 | - | func (x *FileIface) OverrideEnumerateChildren(cb func(File, string, FileQueryInfoFlags, *Cancellable) *FileEnumerator) { | |
| 661 | - | if cb == nil { | |
| 662 | - | x.xEnumerateChildren = 0 | |
| 663 | - | } else { | |
| 664 | - | x.xEnumerateChildren = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 665 | - | ret := cb(&FileBase{Ptr: FileVarp}, AttributesVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 666 | - | if ret == nil { | |
| 667 | - | return 0 | |
| 668 | - | } | |
| 669 | - | return ret.GoPointer() | |
| 670 | - | }) | |
| 671 | - | } | |
| 672 | - | } | |
| 673 | - | ||
| 674 | - | // GetEnumerateChildren gets the "enumerate_children" callback function. | |
| 675 | - | // Gets a #GFileEnumerator with the children of a #GFile. | |
| 676 | - | func (x *FileIface) GetEnumerateChildren() func(File, string, FileQueryInfoFlags, *Cancellable) *FileEnumerator { | |
| 677 | - | if x.xEnumerateChildren == 0 { | |
| 678 | - | return nil | |
| 679 | - | } | |
| 680 | - | var rawCallback func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 681 | - | purego.RegisterFunc(&rawCallback, x.xEnumerateChildren) | |
| 682 | - | return func(FileVar File, AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) *FileEnumerator { | |
| 683 | - | var cerr *glib.Error | |
| 684 | - | rawRet := rawCallback(FileVar.GoPointer(), AttributesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 685 | - | if rawRet == 0 { | |
| 686 | - | return nil | |
| 687 | - | } | |
| 688 | - | ret := &FileEnumerator{} | |
| 689 | - | ret.Ptr = rawRet | |
| 690 | - | return ret | |
| 691 | - | } | |
| 692 | - | } | |
| 693 | - | ||
| 694 | - | // OverrideEnumerateChildrenAsync sets the "enumerate_children_async" callback function. | |
| 695 | - | // Asynchronously gets a #GFileEnumerator with the children of a #GFile. | |
| 696 | - | func (x *FileIface) OverrideEnumerateChildrenAsync(cb func(File, string, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 697 | - | if cb == nil { | |
| 698 | - | x.xEnumerateChildrenAsync = 0 | |
| 699 | - | } else { | |
| 700 | - | x.xEnumerateChildrenAsync = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 701 | - | cb(&FileBase{Ptr: FileVarp}, AttributesVarp, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 702 | - | }) | |
| 703 | - | } | |
| 704 | - | } | |
| 705 | - | ||
| 706 | - | // GetEnumerateChildrenAsync gets the "enumerate_children_async" callback function. | |
| 707 | - | // Asynchronously gets a #GFileEnumerator with the children of a #GFile. | |
| 708 | - | func (x *FileIface) GetEnumerateChildrenAsync() func(File, string, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 709 | - | if x.xEnumerateChildrenAsync == 0 { | |
| 710 | - | return nil | |
| 711 | - | } | |
| 712 | - | var rawCallback func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 713 | - | purego.RegisterFunc(&rawCallback, x.xEnumerateChildrenAsync) | |
| 714 | - | return func(FileVar File, AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 715 | - | rawCallback(FileVar.GoPointer(), AttributesVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 716 | - | } | |
| 717 | - | } | |
| 718 | - | ||
| 719 | - | // OverrideEnumerateChildrenFinish sets the "enumerate_children_finish" callback function. | |
| 720 | - | // Finishes asynchronously enumerating the children. | |
| 721 | - | func (x *FileIface) OverrideEnumerateChildrenFinish(cb func(File, AsyncResult) *FileEnumerator) { | |
| 722 | - | if cb == nil { | |
| 723 | - | x.xEnumerateChildrenFinish = 0 | |
| 724 | - | } else { | |
| 725 | - | x.xEnumerateChildrenFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 726 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 727 | - | if ret == nil { | |
| 728 | - | return 0 | |
| 729 | - | } | |
| 730 | - | return ret.GoPointer() | |
| 731 | - | }) | |
| 732 | - | } | |
| 733 | - | } | |
| 734 | - | ||
| 735 | - | // GetEnumerateChildrenFinish gets the "enumerate_children_finish" callback function. | |
| 736 | - | // Finishes asynchronously enumerating the children. | |
| 737 | - | func (x *FileIface) GetEnumerateChildrenFinish() func(File, AsyncResult) *FileEnumerator { | |
| 738 | - | if x.xEnumerateChildrenFinish == 0 { | |
| 739 | - | return nil | |
| 740 | - | } | |
| 741 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 742 | - | purego.RegisterFunc(&rawCallback, x.xEnumerateChildrenFinish) | |
| 743 | - | return func(FileVar File, ResVar AsyncResult) *FileEnumerator { | |
| 744 | - | var cerr *glib.Error | |
| 745 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 746 | - | if rawRet == 0 { | |
| 747 | - | return nil | |
| 748 | - | } | |
| 749 | - | ret := &FileEnumerator{} | |
| 750 | - | ret.Ptr = rawRet | |
| 751 | - | return ret | |
| 752 | - | } | |
| 753 | - | } | |
| 754 | - | ||
| 755 | - | // OverrideQueryInfo sets the "query_info" callback function. | |
| 756 | - | // Gets the #GFileInfo for a #GFile. | |
| 757 | - | func (x *FileIface) OverrideQueryInfo(cb func(File, string, FileQueryInfoFlags, *Cancellable) *FileInfo) { | |
| 758 | - | if cb == nil { | |
| 759 | - | x.xQueryInfo = 0 | |
| 760 | - | } else { | |
| 761 | - | x.xQueryInfo = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 762 | - | ret := cb(&FileBase{Ptr: FileVarp}, AttributesVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 763 | - | if ret == nil { | |
| 764 | - | return 0 | |
| 765 | - | } | |
| 766 | - | return ret.GoPointer() | |
| 767 | - | }) | |
| 768 | - | } | |
| 769 | - | } | |
| 770 | - | ||
| 771 | - | // GetQueryInfo gets the "query_info" callback function. | |
| 772 | - | // Gets the #GFileInfo for a #GFile. | |
| 773 | - | func (x *FileIface) GetQueryInfo() func(File, string, FileQueryInfoFlags, *Cancellable) *FileInfo { | |
| 774 | - | if x.xQueryInfo == 0 { | |
| 775 | - | return nil | |
| 776 | - | } | |
| 777 | - | var rawCallback func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 778 | - | purego.RegisterFunc(&rawCallback, x.xQueryInfo) | |
| 779 | - | return func(FileVar File, AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) *FileInfo { | |
| 780 | - | var cerr *glib.Error | |
| 781 | - | rawRet := rawCallback(FileVar.GoPointer(), AttributesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 782 | - | if rawRet == 0 { | |
| 783 | - | return nil | |
| 784 | - | } | |
| 785 | - | ret := &FileInfo{} | |
| 786 | - | ret.Ptr = rawRet | |
| 787 | - | return ret | |
| 788 | - | } | |
| 789 | - | } | |
| 790 | - | ||
| 791 | - | // OverrideQueryInfoAsync sets the "query_info_async" callback function. | |
| 792 | - | // Asynchronously gets the #GFileInfo for a #GFile. | |
| 793 | - | func (x *FileIface) OverrideQueryInfoAsync(cb func(File, string, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 794 | - | if cb == nil { | |
| 795 | - | x.xQueryInfoAsync = 0 | |
| 796 | - | } else { | |
| 797 | - | x.xQueryInfoAsync = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 798 | - | cb(&FileBase{Ptr: FileVarp}, AttributesVarp, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 799 | - | }) | |
| 800 | - | } | |
| 801 | - | } | |
| 802 | - | ||
| 803 | - | // GetQueryInfoAsync gets the "query_info_async" callback function. | |
| 804 | - | // Asynchronously gets the #GFileInfo for a #GFile. | |
| 805 | - | func (x *FileIface) GetQueryInfoAsync() func(File, string, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 806 | - | if x.xQueryInfoAsync == 0 { | |
| 807 | - | return nil | |
| 808 | - | } | |
| 809 | - | var rawCallback func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 810 | - | purego.RegisterFunc(&rawCallback, x.xQueryInfoAsync) | |
| 811 | - | return func(FileVar File, AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 812 | - | rawCallback(FileVar.GoPointer(), AttributesVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 813 | - | } | |
| 814 | - | } | |
| 815 | - | ||
| 816 | - | // OverrideQueryInfoFinish sets the "query_info_finish" callback function. | |
| 817 | - | // Finishes an asynchronous query info operation. | |
| 818 | - | func (x *FileIface) OverrideQueryInfoFinish(cb func(File, AsyncResult) *FileInfo) { | |
| 819 | - | if cb == nil { | |
| 820 | - | x.xQueryInfoFinish = 0 | |
| 821 | - | } else { | |
| 822 | - | x.xQueryInfoFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 823 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 824 | - | if ret == nil { | |
| 825 | - | return 0 | |
| 826 | - | } | |
| 827 | - | return ret.GoPointer() | |
| 828 | - | }) | |
| 829 | - | } | |
| 830 | - | } | |
| 831 | - | ||
| 832 | - | // GetQueryInfoFinish gets the "query_info_finish" callback function. | |
| 833 | - | // Finishes an asynchronous query info operation. | |
| 834 | - | func (x *FileIface) GetQueryInfoFinish() func(File, AsyncResult) *FileInfo { | |
| 835 | - | if x.xQueryInfoFinish == 0 { | |
| 836 | - | return nil | |
| 837 | - | } | |
| 838 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 839 | - | purego.RegisterFunc(&rawCallback, x.xQueryInfoFinish) | |
| 840 | - | return func(FileVar File, ResVar AsyncResult) *FileInfo { | |
| 841 | - | var cerr *glib.Error | |
| 842 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 843 | - | if rawRet == 0 { | |
| 844 | - | return nil | |
| 845 | - | } | |
| 846 | - | ret := &FileInfo{} | |
| 847 | - | ret.Ptr = rawRet | |
| 848 | - | return ret | |
| 849 | - | } | |
| 850 | - | } | |
| 851 | - | ||
| 852 | - | // OverrideQueryFilesystemInfo sets the "query_filesystem_info" callback function. | |
| 853 | - | // Gets a #GFileInfo for the file system #GFile is on. | |
| 854 | - | func (x *FileIface) OverrideQueryFilesystemInfo(cb func(File, string, *Cancellable) *FileInfo) { | |
| 855 | - | if cb == nil { | |
| 856 | - | x.xQueryFilesystemInfo = 0 | |
| 857 | - | } else { | |
| 858 | - | x.xQueryFilesystemInfo = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 859 | - | ret := cb(&FileBase{Ptr: FileVarp}, AttributesVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 860 | - | if ret == nil { | |
| 861 | - | return 0 | |
| 862 | - | } | |
| 863 | - | return ret.GoPointer() | |
| 864 | - | }) | |
| 865 | - | } | |
| 866 | - | } | |
| 867 | - | ||
| 868 | - | // GetQueryFilesystemInfo gets the "query_filesystem_info" callback function. | |
| 869 | - | // Gets a #GFileInfo for the file system #GFile is on. | |
| 870 | - | func (x *FileIface) GetQueryFilesystemInfo() func(File, string, *Cancellable) *FileInfo { | |
| 871 | - | if x.xQueryFilesystemInfo == 0 { | |
| 872 | - | return nil | |
| 873 | - | } | |
| 874 | - | var rawCallback func(FileVarp uintptr, AttributesVarp string, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 875 | - | purego.RegisterFunc(&rawCallback, x.xQueryFilesystemInfo) | |
| 876 | - | return func(FileVar File, AttributesVar string, CancellableVar *Cancellable) *FileInfo { | |
| 877 | - | var cerr *glib.Error | |
| 878 | - | rawRet := rawCallback(FileVar.GoPointer(), AttributesVar, CancellableVar.GoPointer(), &cerr) | |
| 879 | - | if rawRet == 0 { | |
| 880 | - | return nil | |
| 881 | - | } | |
| 882 | - | ret := &FileInfo{} | |
| 883 | - | ret.Ptr = rawRet | |
| 884 | - | return ret | |
| 885 | - | } | |
| 886 | - | } | |
| 887 | - | ||
| 888 | - | // OverrideQueryFilesystemInfoAsync sets the "query_filesystem_info_async" callback function. | |
| 889 | - | // Asynchronously gets a #GFileInfo for the file system #GFile is on. | |
| 890 | - | func (x *FileIface) OverrideQueryFilesystemInfoAsync(cb func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 891 | - | if cb == nil { | |
| 892 | - | x.xQueryFilesystemInfoAsync = 0 | |
| 893 | - | } else { | |
| 894 | - | x.xQueryFilesystemInfoAsync = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 895 | - | cb(&FileBase{Ptr: FileVarp}, AttributesVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 896 | - | }) | |
| 897 | - | } | |
| 898 | - | } | |
| 899 | - | ||
| 900 | - | // GetQueryFilesystemInfoAsync gets the "query_filesystem_info_async" callback function. | |
| 901 | - | // Asynchronously gets a #GFileInfo for the file system #GFile is on. | |
| 902 | - | func (x *FileIface) GetQueryFilesystemInfoAsync() func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 903 | - | if x.xQueryFilesystemInfoAsync == 0 { | |
| 904 | - | return nil | |
| 905 | - | } | |
| 906 | - | var rawCallback func(FileVarp uintptr, AttributesVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 907 | - | purego.RegisterFunc(&rawCallback, x.xQueryFilesystemInfoAsync) | |
| 908 | - | return func(FileVar File, AttributesVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 909 | - | rawCallback(FileVar.GoPointer(), AttributesVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 910 | - | } | |
| 911 | - | } | |
| 912 | - | ||
| 913 | - | // OverrideQueryFilesystemInfoFinish sets the "query_filesystem_info_finish" callback function. | |
| 914 | - | // Finishes asynchronously getting the file system info. | |
| 915 | - | func (x *FileIface) OverrideQueryFilesystemInfoFinish(cb func(File, AsyncResult) *FileInfo) { | |
| 916 | - | if cb == nil { | |
| 917 | - | x.xQueryFilesystemInfoFinish = 0 | |
| 918 | - | } else { | |
| 919 | - | x.xQueryFilesystemInfoFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 920 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 921 | - | if ret == nil { | |
| 922 | - | return 0 | |
| 923 | - | } | |
| 924 | - | return ret.GoPointer() | |
| 925 | - | }) | |
| 926 | - | } | |
| 927 | - | } | |
| 928 | - | ||
| 929 | - | // GetQueryFilesystemInfoFinish gets the "query_filesystem_info_finish" callback function. | |
| 930 | - | // Finishes asynchronously getting the file system info. | |
| 931 | - | func (x *FileIface) GetQueryFilesystemInfoFinish() func(File, AsyncResult) *FileInfo { | |
| 932 | - | if x.xQueryFilesystemInfoFinish == 0 { | |
| 933 | - | return nil | |
| 934 | - | } | |
| 935 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 936 | - | purego.RegisterFunc(&rawCallback, x.xQueryFilesystemInfoFinish) | |
| 937 | - | return func(FileVar File, ResVar AsyncResult) *FileInfo { | |
| 938 | - | var cerr *glib.Error | |
| 939 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 940 | - | if rawRet == 0 { | |
| 941 | - | return nil | |
| 942 | - | } | |
| 943 | - | ret := &FileInfo{} | |
| 944 | - | ret.Ptr = rawRet | |
| 945 | - | return ret | |
| 946 | - | } | |
| 947 | - | } | |
| 948 | - | ||
| 949 | - | // OverrideFindEnclosingMount sets the "find_enclosing_mount" callback function. | |
| 950 | - | // Gets a #GMount for the #GFile. | |
| 951 | - | func (x *FileIface) OverrideFindEnclosingMount(cb func(File, *Cancellable) *MountBase) { | |
| 952 | - | if cb == nil { | |
| 953 | - | x.xFindEnclosingMount = 0 | |
| 954 | - | } else { | |
| 955 | - | x.xFindEnclosingMount = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 956 | - | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 957 | - | if ret == nil { | |
| 958 | - | return 0 | |
| 959 | - | } | |
| 960 | - | return ret.GoPointer() | |
| 961 | - | }) | |
| 962 | - | } | |
| 963 | - | } | |
| 964 | - | ||
| 965 | - | // GetFindEnclosingMount gets the "find_enclosing_mount" callback function. | |
| 966 | - | // Gets a #GMount for the #GFile. | |
| 967 | - | func (x *FileIface) GetFindEnclosingMount() func(File, *Cancellable) *MountBase { | |
| 968 | - | if x.xFindEnclosingMount == 0 { | |
| 969 | - | return nil | |
| 970 | - | } | |
| 971 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 972 | - | purego.RegisterFunc(&rawCallback, x.xFindEnclosingMount) | |
| 973 | - | return func(FileVar File, CancellableVar *Cancellable) *MountBase { | |
| 974 | - | var cerr *glib.Error | |
| 975 | - | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 976 | - | if rawRet == 0 { | |
| 977 | - | return nil | |
| 978 | - | } | |
| 979 | - | ret := &MountBase{} | |
| 980 | - | ret.Ptr = rawRet | |
| 981 | - | return ret | |
| 982 | - | } | |
| 983 | - | } | |
| 984 | - | ||
| 985 | - | // OverrideFindEnclosingMountAsync sets the "find_enclosing_mount_async" callback function. | |
| 986 | - | // Asynchronously gets the #GMount for a #GFile. | |
| 987 | - | func (x *FileIface) OverrideFindEnclosingMountAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 988 | - | if cb == nil { | |
| 989 | - | x.xFindEnclosingMountAsync = 0 | |
| 990 | - | } else { | |
| 991 | - | x.xFindEnclosingMountAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 992 | - | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 993 | - | }) | |
| 994 | - | } | |
| 995 | - | } | |
| 996 | - | ||
| 997 | - | // GetFindEnclosingMountAsync gets the "find_enclosing_mount_async" callback function. | |
| 998 | - | // Asynchronously gets the #GMount for a #GFile. | |
| 999 | - | func (x *FileIface) GetFindEnclosingMountAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1000 | - | if x.xFindEnclosingMountAsync == 0 { | |
| 1001 | - | return nil | |
| 1002 | - | } | |
| 1003 | - | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1004 | - | purego.RegisterFunc(&rawCallback, x.xFindEnclosingMountAsync) | |
| 1005 | - | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1006 | - | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1007 | - | } | |
| 1008 | - | } | |
| 1009 | - | ||
| 1010 | - | // OverrideFindEnclosingMountFinish sets the "find_enclosing_mount_finish" callback function. | |
| 1011 | - | // Finishes asynchronously getting the volume. | |
| 1012 | - | func (x *FileIface) OverrideFindEnclosingMountFinish(cb func(File, AsyncResult) *MountBase) { | |
| 1013 | - | if cb == nil { | |
| 1014 | - | x.xFindEnclosingMountFinish = 0 | |
| 1015 | - | } else { | |
| 1016 | - | x.xFindEnclosingMountFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1017 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1018 | - | if ret == nil { | |
| 1019 | - | return 0 | |
| 1020 | - | } | |
| 1021 | - | return ret.GoPointer() | |
| 1022 | - | }) | |
| 1023 | - | } | |
| 1024 | - | } | |
| 1025 | - | ||
| 1026 | - | // GetFindEnclosingMountFinish gets the "find_enclosing_mount_finish" callback function. | |
| 1027 | - | // Finishes asynchronously getting the volume. | |
| 1028 | - | func (x *FileIface) GetFindEnclosingMountFinish() func(File, AsyncResult) *MountBase { | |
| 1029 | - | if x.xFindEnclosingMountFinish == 0 { | |
| 1030 | - | return nil | |
| 1031 | - | } | |
| 1032 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 1033 | - | purego.RegisterFunc(&rawCallback, x.xFindEnclosingMountFinish) | |
| 1034 | - | return func(FileVar File, ResVar AsyncResult) *MountBase { | |
| 1035 | - | var cerr *glib.Error | |
| 1036 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 1037 | - | if rawRet == 0 { | |
| 1038 | - | return nil | |
| 1039 | - | } | |
| 1040 | - | ret := &MountBase{} | |
| 1041 | - | ret.Ptr = rawRet | |
| 1042 | - | return ret | |
| 1043 | - | } | |
| 1044 | - | } | |
| 1045 | - | ||
| 1046 | - | // OverrideSetDisplayName sets the "set_display_name" callback function. | |
| 1047 | - | // Sets the display name for a #GFile. | |
| 1048 | - | func (x *FileIface) OverrideSetDisplayName(cb func(File, string, *Cancellable) *FileBase) { | |
| 1049 | - | if cb == nil { | |
| 1050 | - | x.xSetDisplayName = 0 | |
| 1051 | - | } else { | |
| 1052 | - | x.xSetDisplayName = purego.NewCallback(func(FileVarp uintptr, DisplayNameVarp string, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1053 | - | ret := cb(&FileBase{Ptr: FileVarp}, DisplayNameVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1054 | - | if ret == nil { | |
| 1055 | - | return 0 | |
| 1056 | - | } | |
| 1057 | - | return ret.GoPointer() | |
| 1058 | - | }) | |
| 1059 | - | } | |
| 1060 | - | } | |
| 1061 | - | ||
| 1062 | - | // GetSetDisplayName gets the "set_display_name" callback function. | |
| 1063 | - | // Sets the display name for a #GFile. | |
| 1064 | - | func (x *FileIface) GetSetDisplayName() func(File, string, *Cancellable) *FileBase { | |
| 1065 | - | if x.xSetDisplayName == 0 { | |
| 1066 | - | return nil | |
| 1067 | - | } | |
| 1068 | - | var rawCallback func(FileVarp uintptr, DisplayNameVarp string, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 1069 | - | purego.RegisterFunc(&rawCallback, x.xSetDisplayName) | |
| 1070 | - | return func(FileVar File, DisplayNameVar string, CancellableVar *Cancellable) *FileBase { | |
| 1071 | - | var cerr *glib.Error | |
| 1072 | - | rawRet := rawCallback(FileVar.GoPointer(), DisplayNameVar, CancellableVar.GoPointer(), &cerr) | |
| 1073 | - | if rawRet == 0 { | |
| 1074 | - | return nil | |
| 1075 | - | } | |
| 1076 | - | ret := &FileBase{} | |
| 1077 | - | ret.Ptr = rawRet | |
| 1078 | - | return ret | |
| 1079 | - | } | |
| 1080 | - | } | |
| 1081 | - | ||
| 1082 | - | // OverrideSetDisplayNameAsync sets the "set_display_name_async" callback function. | |
| 1083 | - | // Asynchronously sets a #GFile's display name. | |
| 1084 | - | func (x *FileIface) OverrideSetDisplayNameAsync(cb func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1085 | - | if cb == nil { | |
| 1086 | - | x.xSetDisplayNameAsync = 0 | |
| 1087 | - | } else { | |
| 1088 | - | x.xSetDisplayNameAsync = purego.NewCallback(func(FileVarp uintptr, DisplayNameVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1089 | - | cb(&FileBase{Ptr: FileVarp}, DisplayNameVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1090 | - | }) | |
| 1091 | - | } | |
| 1092 | - | } | |
| 1093 | - | ||
| 1094 | - | // GetSetDisplayNameAsync gets the "set_display_name_async" callback function. | |
| 1095 | - | // Asynchronously sets a #GFile's display name. | |
| 1096 | - | func (x *FileIface) GetSetDisplayNameAsync() func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1097 | - | if x.xSetDisplayNameAsync == 0 { | |
| 1098 | - | return nil | |
| 1099 | - | } | |
| 1100 | - | var rawCallback func(FileVarp uintptr, DisplayNameVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1101 | - | purego.RegisterFunc(&rawCallback, x.xSetDisplayNameAsync) | |
| 1102 | - | return func(FileVar File, DisplayNameVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1103 | - | rawCallback(FileVar.GoPointer(), DisplayNameVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1104 | - | } | |
| 1105 | - | } | |
| 1106 | - | ||
| 1107 | - | // OverrideSetDisplayNameFinish sets the "set_display_name_finish" callback function. | |
| 1108 | - | // Finishes asynchronously setting a #GFile's display name. | |
| 1109 | - | func (x *FileIface) OverrideSetDisplayNameFinish(cb func(File, AsyncResult) *FileBase) { | |
| 1110 | - | if cb == nil { | |
| 1111 | - | x.xSetDisplayNameFinish = 0 | |
| 1112 | - | } else { | |
| 1113 | - | x.xSetDisplayNameFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1114 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1115 | - | if ret == nil { | |
| 1116 | - | return 0 | |
| 1117 | - | } | |
| 1118 | - | return ret.GoPointer() | |
| 1119 | - | }) | |
| 1120 | - | } | |
| 1121 | - | } | |
| 1122 | - | ||
| 1123 | - | // GetSetDisplayNameFinish gets the "set_display_name_finish" callback function. | |
| 1124 | - | // Finishes asynchronously setting a #GFile's display name. | |
| 1125 | - | func (x *FileIface) GetSetDisplayNameFinish() func(File, AsyncResult) *FileBase { | |
| 1126 | - | if x.xSetDisplayNameFinish == 0 { | |
| 1127 | - | return nil | |
| 1128 | - | } | |
| 1129 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 1130 | - | purego.RegisterFunc(&rawCallback, x.xSetDisplayNameFinish) | |
| 1131 | - | return func(FileVar File, ResVar AsyncResult) *FileBase { | |
| 1132 | - | var cerr *glib.Error | |
| 1133 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 1134 | - | if rawRet == 0 { | |
| 1135 | - | return nil | |
| 1136 | - | } | |
| 1137 | - | ret := &FileBase{} | |
| 1138 | - | ret.Ptr = rawRet | |
| 1139 | - | return ret | |
| 1140 | - | } | |
| 1141 | - | } | |
| 1142 | - | ||
| 1143 | - | // OverrideQuerySettableAttributes sets the "query_settable_attributes" callback function. | |
| 1144 | - | // Returns a list of #GFileAttributeInfos that can be set. | |
| 1145 | - | func (x *FileIface) OverrideQuerySettableAttributes(cb func(File, *Cancellable) *FileAttributeInfoList) { | |
| 1146 | - | if cb == nil { | |
| 1147 | - | x.xQuerySettableAttributes = 0 | |
| 1148 | - | } else { | |
| 1149 | - | x.xQuerySettableAttributes = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1150 | - | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1151 | - | if ret == nil { | |
| 1152 | - | return 0 | |
| 1153 | - | } | |
| 1154 | - | return uintptr(unsafe.Pointer(ret)) | |
| 1155 | - | }) | |
| 1156 | - | } | |
| 1157 | - | } | |
| 1158 | - | ||
| 1159 | - | // GetQuerySettableAttributes gets the "query_settable_attributes" callback function. | |
| 1160 | - | // Returns a list of #GFileAttributeInfos that can be set. | |
| 1161 | - | func (x *FileIface) GetQuerySettableAttributes() func(File, *Cancellable) *FileAttributeInfoList { | |
| 1162 | - | if x.xQuerySettableAttributes == 0 { | |
| 1163 | - | return nil | |
| 1164 | - | } | |
| 1165 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 1166 | - | purego.RegisterFunc(&rawCallback, x.xQuerySettableAttributes) | |
| 1167 | - | return func(FileVar File, CancellableVar *Cancellable) *FileAttributeInfoList { | |
| 1168 | - | var cerr *glib.Error | |
| 1169 | - | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 1170 | - | if rawRet == 0 { | |
| 1171 | - | return nil | |
| 1172 | - | } | |
| 1173 | - | return (*FileAttributeInfoList)(unsafe.Pointer(rawRet)) | |
| 1174 | - | } | |
| 1175 | - | } | |
| 1176 | - | ||
| 1177 | - | // OverrideQuerySettableAttributesAsync sets the "_query_settable_attributes_async" callback function. | |
| 1178 | - | // Asynchronously gets a list of #GFileAttributeInfos that can be set. | |
| 1179 | - | func (x *FileIface) OverrideQuerySettableAttributesAsync(cb func()) { | |
| 1180 | - | if cb == nil { | |
| 1181 | - | x.xQuerySettableAttributesAsync = 0 | |
| 1182 | - | } else { | |
| 1183 | - | x.xQuerySettableAttributesAsync = purego.NewCallback(func() { | |
| 1184 | - | cb() | |
| 1185 | - | }) | |
| 1186 | - | } | |
| 1187 | - | } | |
| 1188 | - | ||
| 1189 | - | // GetQuerySettableAttributesAsync gets the "_query_settable_attributes_async" callback function. | |
| 1190 | - | // Asynchronously gets a list of #GFileAttributeInfos that can be set. | |
| 1191 | - | func (x *FileIface) GetQuerySettableAttributesAsync() func() { | |
| 1192 | - | if x.xQuerySettableAttributesAsync == 0 { | |
| 1193 | - | return nil | |
| 1194 | - | } | |
| 1195 | - | var rawCallback func() | |
| 1196 | - | purego.RegisterFunc(&rawCallback, x.xQuerySettableAttributesAsync) | |
| 1197 | - | return func() { | |
| 1198 | - | rawCallback() | |
| 1199 | - | } | |
| 1200 | - | } | |
| 1201 | - | ||
| 1202 | - | // OverrideQuerySettableAttributesFinish sets the "_query_settable_attributes_finish" callback function. | |
| 1203 | - | // Finishes asynchronously querying settable attributes. | |
| 1204 | - | func (x *FileIface) OverrideQuerySettableAttributesFinish(cb func()) { | |
| 1205 | - | if cb == nil { | |
| 1206 | - | x.xQuerySettableAttributesFinish = 0 | |
| 1207 | - | } else { | |
| 1208 | - | x.xQuerySettableAttributesFinish = purego.NewCallback(func() { | |
| 1209 | - | cb() | |
| 1210 | - | }) | |
| 1211 | - | } | |
| 1212 | - | } | |
| 1213 | - | ||
| 1214 | - | // GetQuerySettableAttributesFinish gets the "_query_settable_attributes_finish" callback function. | |
| 1215 | - | // Finishes asynchronously querying settable attributes. | |
| 1216 | - | func (x *FileIface) GetQuerySettableAttributesFinish() func() { | |
| 1217 | - | if x.xQuerySettableAttributesFinish == 0 { | |
| 1218 | - | return nil | |
| 1219 | - | } | |
| 1220 | - | var rawCallback func() | |
| 1221 | - | purego.RegisterFunc(&rawCallback, x.xQuerySettableAttributesFinish) | |
| 1222 | - | return func() { | |
| 1223 | - | rawCallback() | |
| 1224 | - | } | |
| 1225 | - | } | |
| 1226 | - | ||
| 1227 | - | // OverrideQueryWritableNamespaces sets the "query_writable_namespaces" callback function. | |
| 1228 | - | // Returns a list of #GFileAttributeInfo namespaces that are writable. | |
| 1229 | - | func (x *FileIface) OverrideQueryWritableNamespaces(cb func(File, *Cancellable) *FileAttributeInfoList) { | |
| 1230 | - | if cb == nil { | |
| 1231 | - | x.xQueryWritableNamespaces = 0 | |
| 1232 | - | } else { | |
| 1233 | - | x.xQueryWritableNamespaces = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1234 | - | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1235 | - | if ret == nil { | |
| 1236 | - | return 0 | |
| 1237 | - | } | |
| 1238 | - | return uintptr(unsafe.Pointer(ret)) | |
| 1239 | - | }) | |
| 1240 | - | } | |
| 1241 | - | } | |
| 1242 | - | ||
| 1243 | - | // GetQueryWritableNamespaces gets the "query_writable_namespaces" callback function. | |
| 1244 | - | // Returns a list of #GFileAttributeInfo namespaces that are writable. | |
| 1245 | - | func (x *FileIface) GetQueryWritableNamespaces() func(File, *Cancellable) *FileAttributeInfoList { | |
| 1246 | - | if x.xQueryWritableNamespaces == 0 { | |
| 1247 | - | return nil | |
| 1248 | - | } | |
| 1249 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 1250 | - | purego.RegisterFunc(&rawCallback, x.xQueryWritableNamespaces) | |
| 1251 | - | return func(FileVar File, CancellableVar *Cancellable) *FileAttributeInfoList { | |
| 1252 | - | var cerr *glib.Error | |
| 1253 | - | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 1254 | - | if rawRet == 0 { | |
| 1255 | - | return nil | |
| 1256 | - | } | |
| 1257 | - | return (*FileAttributeInfoList)(unsafe.Pointer(rawRet)) | |
| 1258 | - | } | |
| 1259 | - | } | |
| 1260 | - | ||
| 1261 | - | // OverrideQueryWritableNamespacesAsync sets the "_query_writable_namespaces_async" callback function. | |
| 1262 | - | // Asynchronously gets a list of #GFileAttributeInfo namespaces that are writable. | |
| 1263 | - | func (x *FileIface) OverrideQueryWritableNamespacesAsync(cb func()) { | |
| 1264 | - | if cb == nil { | |
| 1265 | - | x.xQueryWritableNamespacesAsync = 0 | |
| 1266 | - | } else { | |
| 1267 | - | x.xQueryWritableNamespacesAsync = purego.NewCallback(func() { | |
| 1268 | - | cb() | |
| 1269 | - | }) | |
| 1270 | - | } | |
| 1271 | - | } | |
| 1272 | - | ||
| 1273 | - | // GetQueryWritableNamespacesAsync gets the "_query_writable_namespaces_async" callback function. | |
| 1274 | - | // Asynchronously gets a list of #GFileAttributeInfo namespaces that are writable. | |
| 1275 | - | func (x *FileIface) GetQueryWritableNamespacesAsync() func() { | |
| 1276 | - | if x.xQueryWritableNamespacesAsync == 0 { | |
| 1277 | - | return nil | |
| 1278 | - | } | |
| 1279 | - | var rawCallback func() | |
| 1280 | - | purego.RegisterFunc(&rawCallback, x.xQueryWritableNamespacesAsync) | |
| 1281 | - | return func() { | |
| 1282 | - | rawCallback() | |
| 1283 | - | } | |
| 1284 | - | } | |
| 1285 | - | ||
| 1286 | - | // OverrideQueryWritableNamespacesFinish sets the "_query_writable_namespaces_finish" callback function. | |
| 1287 | - | // Finishes asynchronously querying the writable namespaces. | |
| 1288 | - | func (x *FileIface) OverrideQueryWritableNamespacesFinish(cb func()) { | |
| 1289 | - | if cb == nil { | |
| 1290 | - | x.xQueryWritableNamespacesFinish = 0 | |
| 1291 | - | } else { | |
| 1292 | - | x.xQueryWritableNamespacesFinish = purego.NewCallback(func() { | |
| 1293 | - | cb() | |
| 1294 | - | }) | |
| 1295 | - | } | |
| 1296 | - | } | |
| 1297 | - | ||
| 1298 | - | // GetQueryWritableNamespacesFinish gets the "_query_writable_namespaces_finish" callback function. | |
| 1299 | - | // Finishes asynchronously querying the writable namespaces. | |
| 1300 | - | func (x *FileIface) GetQueryWritableNamespacesFinish() func() { | |
| 1301 | - | if x.xQueryWritableNamespacesFinish == 0 { | |
| 1302 | - | return nil | |
| 1303 | - | } | |
| 1304 | - | var rawCallback func() | |
| 1305 | - | purego.RegisterFunc(&rawCallback, x.xQueryWritableNamespacesFinish) | |
| 1306 | - | return func() { | |
| 1307 | - | rawCallback() | |
| 1308 | - | } | |
| 1309 | - | } | |
| 1310 | - | ||
| 1311 | - | // OverrideSetAttribute sets the "set_attribute" callback function. | |
| 1312 | - | // Sets a #GFileAttributeInfo. | |
| 1313 | - | func (x *FileIface) OverrideSetAttribute(cb func(File, string, FileAttributeType, uintptr, FileQueryInfoFlags, *Cancellable) bool) { | |
| 1314 | - | if cb == nil { | |
| 1315 | - | x.xSetAttribute = 0 | |
| 1316 | - | } else { | |
| 1317 | - | x.xSetAttribute = purego.NewCallback(func(FileVarp uintptr, AttributeVarp string, TypeVarp FileAttributeType, ValuePVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 1318 | - | return cb(&FileBase{Ptr: FileVarp}, AttributeVarp, TypeVarp, ValuePVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1319 | - | }) | |
| 1320 | - | } | |
| 1321 | - | } | |
| 1322 | - | ||
| 1323 | - | // GetSetAttribute gets the "set_attribute" callback function. | |
| 1324 | - | // Sets a #GFileAttributeInfo. | |
| 1325 | - | func (x *FileIface) GetSetAttribute() func(File, string, FileAttributeType, uintptr, FileQueryInfoFlags, *Cancellable) bool { | |
| 1326 | - | if x.xSetAttribute == 0 { | |
| 1327 | - | return nil | |
| 1328 | - | } | |
| 1329 | - | var rawCallback func(FileVarp uintptr, AttributeVarp string, TypeVarp FileAttributeType, ValuePVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 1330 | - | purego.RegisterFunc(&rawCallback, x.xSetAttribute) | |
| 1331 | - | return func(FileVar File, AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) bool { | |
| 1332 | - | var cerr *glib.Error | |
| 1333 | - | return rawCallback(FileVar.GoPointer(), AttributeVar, TypeVar, ValuePVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 1334 | - | } | |
| 1335 | - | } | |
| 1336 | - | ||
| 1337 | - | // OverrideSetAttributesFromInfo sets the "set_attributes_from_info" callback function. | |
| 1338 | - | // Sets a #GFileAttributeInfo with information from a #GFileInfo. | |
| 1339 | - | func (x *FileIface) OverrideSetAttributesFromInfo(cb func(File, *FileInfo, FileQueryInfoFlags, *Cancellable) bool) { | |
| 1340 | - | if cb == nil { | |
| 1341 | - | x.xSetAttributesFromInfo = 0 | |
| 1342 | - | } else { | |
| 1343 | - | x.xSetAttributesFromInfo = purego.NewCallback(func(FileVarp uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 1344 | - | return cb(&FileBase{Ptr: FileVarp}, FileInfoNewFromInternalPtr(InfoVarp), FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1345 | - | }) | |
| 1346 | - | } | |
| 1347 | - | } | |
| 1348 | - | ||
| 1349 | - | // GetSetAttributesFromInfo gets the "set_attributes_from_info" callback function. | |
| 1350 | - | // Sets a #GFileAttributeInfo with information from a #GFileInfo. | |
| 1351 | - | func (x *FileIface) GetSetAttributesFromInfo() func(File, *FileInfo, FileQueryInfoFlags, *Cancellable) bool { | |
| 1352 | - | if x.xSetAttributesFromInfo == 0 { | |
| 1353 | - | return nil | |
| 1354 | - | } | |
| 1355 | - | var rawCallback func(FileVarp uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 1356 | - | purego.RegisterFunc(&rawCallback, x.xSetAttributesFromInfo) | |
| 1357 | - | return func(FileVar File, InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) bool { | |
| 1358 | - | var cerr *glib.Error | |
| 1359 | - | return rawCallback(FileVar.GoPointer(), InfoVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 1360 | - | } | |
| 1361 | - | } | |
| 1362 | - | ||
| 1363 | - | // OverrideSetAttributesAsync sets the "set_attributes_async" callback function. | |
| 1364 | - | // Asynchronously sets a file's attributes. | |
| 1365 | - | func (x *FileIface) OverrideSetAttributesAsync(cb func(File, *FileInfo, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1366 | - | if cb == nil { | |
| 1367 | - | x.xSetAttributesAsync = 0 | |
| 1368 | - | } else { | |
| 1369 | - | x.xSetAttributesAsync = purego.NewCallback(func(FileVarp uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1370 | - | cb(&FileBase{Ptr: FileVarp}, FileInfoNewFromInternalPtr(InfoVarp), FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1371 | - | }) | |
| 1372 | - | } | |
| 1373 | - | } | |
| 1374 | - | ||
| 1375 | - | // GetSetAttributesAsync gets the "set_attributes_async" callback function. | |
| 1376 | - | // Asynchronously sets a file's attributes. | |
| 1377 | - | func (x *FileIface) GetSetAttributesAsync() func(File, *FileInfo, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1378 | - | if x.xSetAttributesAsync == 0 { | |
| 1379 | - | return nil | |
| 1380 | - | } | |
| 1381 | - | var rawCallback func(FileVarp uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1382 | - | purego.RegisterFunc(&rawCallback, x.xSetAttributesAsync) | |
| 1383 | - | return func(FileVar File, InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1384 | - | rawCallback(FileVar.GoPointer(), InfoVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1385 | - | } | |
| 1386 | - | } | |
| 1387 | - | ||
| 1388 | - | // OverrideSetAttributesFinish sets the "set_attributes_finish" callback function. | |
| 1389 | - | // Finishes setting a file's attributes asynchronously. | |
| 1390 | - | func (x *FileIface) OverrideSetAttributesFinish(cb func(File, AsyncResult, **FileInfo) bool) { | |
| 1391 | - | if cb == nil { | |
| 1392 | - | x.xSetAttributesFinish = 0 | |
| 1393 | - | } else { | |
| 1394 | - | x.xSetAttributesFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, InfoVarp **FileInfo, cerrp **glib.Error) bool { | |
| 1395 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}, InfoVarp) | |
| 1396 | - | }) | |
| 1397 | - | } | |
| 1398 | - | } | |
| 1399 | - | ||
| 1400 | - | // GetSetAttributesFinish gets the "set_attributes_finish" callback function. | |
| 1401 | - | // Finishes setting a file's attributes asynchronously. | |
| 1402 | - | func (x *FileIface) GetSetAttributesFinish() func(File, AsyncResult, **FileInfo) bool { | |
| 1403 | - | if x.xSetAttributesFinish == 0 { | |
| 1404 | - | return nil | |
| 1405 | - | } | |
| 1406 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, InfoVarp **FileInfo, cerrp **glib.Error) bool | |
| 1407 | - | purego.RegisterFunc(&rawCallback, x.xSetAttributesFinish) | |
| 1408 | - | return func(FileVar File, ResultVar AsyncResult, InfoVar **FileInfo) bool { | |
| 1409 | - | var cerr *glib.Error | |
| 1410 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), InfoVar, &cerr) | |
| 1411 | - | } | |
| 1412 | - | } | |
| 1413 | - | ||
| 1414 | - | // OverrideReadFn sets the "read_fn" callback function. | |
| 1415 | - | // Reads a file asynchronously. | |
| 1416 | - | func (x *FileIface) OverrideReadFn(cb func(File, *Cancellable) *FileInputStream) { | |
| 1417 | - | if cb == nil { | |
| 1418 | - | x.xReadFn = 0 | |
| 1419 | - | } else { | |
| 1420 | - | x.xReadFn = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1421 | - | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1422 | - | if ret == nil { | |
| 1423 | - | return 0 | |
| 1424 | - | } | |
| 1425 | - | return ret.GoPointer() | |
| 1426 | - | }) | |
| 1427 | - | } | |
| 1428 | - | } | |
| 1429 | - | ||
| 1430 | - | // GetReadFn gets the "read_fn" callback function. | |
| 1431 | - | // Reads a file asynchronously. | |
| 1432 | - | func (x *FileIface) GetReadFn() func(File, *Cancellable) *FileInputStream { | |
| 1433 | - | if x.xReadFn == 0 { | |
| 1434 | - | return nil | |
| 1435 | - | } | |
| 1436 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 1437 | - | purego.RegisterFunc(&rawCallback, x.xReadFn) | |
| 1438 | - | return func(FileVar File, CancellableVar *Cancellable) *FileInputStream { | |
| 1439 | - | var cerr *glib.Error | |
| 1440 | - | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 1441 | - | if rawRet == 0 { | |
| 1442 | - | return nil | |
| 1443 | - | } | |
| 1444 | - | ret := &FileInputStream{} | |
| 1445 | - | ret.Ptr = rawRet | |
| 1446 | - | return ret | |
| 1447 | - | } | |
| 1448 | - | } | |
| 1449 | - | ||
| 1450 | - | // OverrideReadAsync sets the "read_async" callback function. | |
| 1451 | - | // Asynchronously reads a file. | |
| 1452 | - | func (x *FileIface) OverrideReadAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1453 | - | if cb == nil { | |
| 1454 | - | x.xReadAsync = 0 | |
| 1455 | - | } else { | |
| 1456 | - | x.xReadAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1457 | - | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1458 | - | }) | |
| 1459 | - | } | |
| 1460 | - | } | |
| 1461 | - | ||
| 1462 | - | // GetReadAsync gets the "read_async" callback function. | |
| 1463 | - | // Asynchronously reads a file. | |
| 1464 | - | func (x *FileIface) GetReadAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1465 | - | if x.xReadAsync == 0 { | |
| 1466 | - | return nil | |
| 1467 | - | } | |
| 1468 | - | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1469 | - | purego.RegisterFunc(&rawCallback, x.xReadAsync) | |
| 1470 | - | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1471 | - | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1472 | - | } | |
| 1473 | - | } | |
| 1474 | - | ||
| 1475 | - | // OverrideReadFinish sets the "read_finish" callback function. | |
| 1476 | - | // Finishes asynchronously reading a file. | |
| 1477 | - | func (x *FileIface) OverrideReadFinish(cb func(File, AsyncResult) *FileInputStream) { | |
| 1478 | - | if cb == nil { | |
| 1479 | - | x.xReadFinish = 0 | |
| 1480 | - | } else { | |
| 1481 | - | x.xReadFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1482 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1483 | - | if ret == nil { | |
| 1484 | - | return 0 | |
| 1485 | - | } | |
| 1486 | - | return ret.GoPointer() | |
| 1487 | - | }) | |
| 1488 | - | } | |
| 1489 | - | } | |
| 1490 | - | ||
| 1491 | - | // GetReadFinish gets the "read_finish" callback function. | |
| 1492 | - | // Finishes asynchronously reading a file. | |
| 1493 | - | func (x *FileIface) GetReadFinish() func(File, AsyncResult) *FileInputStream { | |
| 1494 | - | if x.xReadFinish == 0 { | |
| 1495 | - | return nil | |
| 1496 | - | } | |
| 1497 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 1498 | - | purego.RegisterFunc(&rawCallback, x.xReadFinish) | |
| 1499 | - | return func(FileVar File, ResVar AsyncResult) *FileInputStream { | |
| 1500 | - | var cerr *glib.Error | |
| 1501 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 1502 | - | if rawRet == 0 { | |
| 1503 | - | return nil | |
| 1504 | - | } | |
| 1505 | - | ret := &FileInputStream{} | |
| 1506 | - | ret.Ptr = rawRet | |
| 1507 | - | return ret | |
| 1508 | - | } | |
| 1509 | - | } | |
| 1510 | - | ||
| 1511 | - | // OverrideAppendTo sets the "append_to" callback function. | |
| 1512 | - | // Writes to the end of a file. | |
| 1513 | - | func (x *FileIface) OverrideAppendTo(cb func(File, FileCreateFlags, *Cancellable) *FileOutputStream) { | |
| 1514 | - | if cb == nil { | |
| 1515 | - | x.xAppendTo = 0 | |
| 1516 | - | } else { | |
| 1517 | - | x.xAppendTo = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1518 | - | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1519 | - | if ret == nil { | |
| 1520 | - | return 0 | |
| 1521 | - | } | |
| 1522 | - | return ret.GoPointer() | |
| 1523 | - | }) | |
| 1524 | - | } | |
| 1525 | - | } | |
| 1526 | - | ||
| 1527 | - | // GetAppendTo gets the "append_to" callback function. | |
| 1528 | - | // Writes to the end of a file. | |
| 1529 | - | func (x *FileIface) GetAppendTo() func(File, FileCreateFlags, *Cancellable) *FileOutputStream { | |
| 1530 | - | if x.xAppendTo == 0 { | |
| 1531 | - | return nil | |
| 1532 | - | } | |
| 1533 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 1534 | - | purego.RegisterFunc(&rawCallback, x.xAppendTo) | |
| 1535 | - | return func(FileVar File, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileOutputStream { | |
| 1536 | - | var cerr *glib.Error | |
| 1537 | - | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 1538 | - | if rawRet == 0 { | |
| 1539 | - | return nil | |
| 1540 | - | } | |
| 1541 | - | ret := &FileOutputStream{} | |
| 1542 | - | ret.Ptr = rawRet | |
| 1543 | - | return ret | |
| 1544 | - | } | |
| 1545 | - | } | |
| 1546 | - | ||
| 1547 | - | // OverrideAppendToAsync sets the "append_to_async" callback function. | |
| 1548 | - | // Asynchronously writes to the end of a file. | |
| 1549 | - | func (x *FileIface) OverrideAppendToAsync(cb func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1550 | - | if cb == nil { | |
| 1551 | - | x.xAppendToAsync = 0 | |
| 1552 | - | } else { | |
| 1553 | - | x.xAppendToAsync = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1554 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1555 | - | }) | |
| 1556 | - | } | |
| 1557 | - | } | |
| 1558 | - | ||
| 1559 | - | // GetAppendToAsync gets the "append_to_async" callback function. | |
| 1560 | - | // Asynchronously writes to the end of a file. | |
| 1561 | - | func (x *FileIface) GetAppendToAsync() func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1562 | - | if x.xAppendToAsync == 0 { | |
| 1563 | - | return nil | |
| 1564 | - | } | |
| 1565 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1566 | - | purego.RegisterFunc(&rawCallback, x.xAppendToAsync) | |
| 1567 | - | return func(FileVar File, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1568 | - | rawCallback(FileVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1569 | - | } | |
| 1570 | - | } | |
| 1571 | - | ||
| 1572 | - | // OverrideAppendToFinish sets the "append_to_finish" callback function. | |
| 1573 | - | // Finishes an asynchronous file append operation. | |
| 1574 | - | func (x *FileIface) OverrideAppendToFinish(cb func(File, AsyncResult) *FileOutputStream) { | |
| 1575 | - | if cb == nil { | |
| 1576 | - | x.xAppendToFinish = 0 | |
| 1577 | - | } else { | |
| 1578 | - | x.xAppendToFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1579 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1580 | - | if ret == nil { | |
| 1581 | - | return 0 | |
| 1582 | - | } | |
| 1583 | - | return ret.GoPointer() | |
| 1584 | - | }) | |
| 1585 | - | } | |
| 1586 | - | } | |
| 1587 | - | ||
| 1588 | - | // GetAppendToFinish gets the "append_to_finish" callback function. | |
| 1589 | - | // Finishes an asynchronous file append operation. | |
| 1590 | - | func (x *FileIface) GetAppendToFinish() func(File, AsyncResult) *FileOutputStream { | |
| 1591 | - | if x.xAppendToFinish == 0 { | |
| 1592 | - | return nil | |
| 1593 | - | } | |
| 1594 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 1595 | - | purego.RegisterFunc(&rawCallback, x.xAppendToFinish) | |
| 1596 | - | return func(FileVar File, ResVar AsyncResult) *FileOutputStream { | |
| 1597 | - | var cerr *glib.Error | |
| 1598 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 1599 | - | if rawRet == 0 { | |
| 1600 | - | return nil | |
| 1601 | - | } | |
| 1602 | - | ret := &FileOutputStream{} | |
| 1603 | - | ret.Ptr = rawRet | |
| 1604 | - | return ret | |
| 1605 | - | } | |
| 1606 | - | } | |
| 1607 | - | ||
| 1608 | - | // OverrideCreate sets the "create" callback function. | |
| 1609 | - | // Creates a new file. | |
| 1610 | - | func (x *FileIface) OverrideCreate(cb func(File, FileCreateFlags, *Cancellable) *FileOutputStream) { | |
| 1611 | - | if cb == nil { | |
| 1612 | - | x.xCreate = 0 | |
| 1613 | - | } else { | |
| 1614 | - | x.xCreate = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1615 | - | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1616 | - | if ret == nil { | |
| 1617 | - | return 0 | |
| 1618 | - | } | |
| 1619 | - | return ret.GoPointer() | |
| 1620 | - | }) | |
| 1621 | - | } | |
| 1622 | - | } | |
| 1623 | - | ||
| 1624 | - | // GetCreate gets the "create" callback function. | |
| 1625 | - | // Creates a new file. | |
| 1626 | - | func (x *FileIface) GetCreate() func(File, FileCreateFlags, *Cancellable) *FileOutputStream { | |
| 1627 | - | if x.xCreate == 0 { | |
| 1628 | - | return nil | |
| 1629 | - | } | |
| 1630 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 1631 | - | purego.RegisterFunc(&rawCallback, x.xCreate) | |
| 1632 | - | return func(FileVar File, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileOutputStream { | |
| 1633 | - | var cerr *glib.Error | |
| 1634 | - | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 1635 | - | if rawRet == 0 { | |
| 1636 | - | return nil | |
| 1637 | - | } | |
| 1638 | - | ret := &FileOutputStream{} | |
| 1639 | - | ret.Ptr = rawRet | |
| 1640 | - | return ret | |
| 1641 | - | } | |
| 1642 | - | } | |
| 1643 | - | ||
| 1644 | - | // OverrideCreateAsync sets the "create_async" callback function. | |
| 1645 | - | // Asynchronously creates a file. | |
| 1646 | - | func (x *FileIface) OverrideCreateAsync(cb func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1647 | - | if cb == nil { | |
| 1648 | - | x.xCreateAsync = 0 | |
| 1649 | - | } else { | |
| 1650 | - | x.xCreateAsync = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1651 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1652 | - | }) | |
| 1653 | - | } | |
| 1654 | - | } | |
| 1655 | - | ||
| 1656 | - | // GetCreateAsync gets the "create_async" callback function. | |
| 1657 | - | // Asynchronously creates a file. | |
| 1658 | - | func (x *FileIface) GetCreateAsync() func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1659 | - | if x.xCreateAsync == 0 { | |
| 1660 | - | return nil | |
| 1661 | - | } | |
| 1662 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1663 | - | purego.RegisterFunc(&rawCallback, x.xCreateAsync) | |
| 1664 | - | return func(FileVar File, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1665 | - | rawCallback(FileVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1666 | - | } | |
| 1667 | - | } | |
| 1668 | - | ||
| 1669 | - | // OverrideCreateFinish sets the "create_finish" callback function. | |
| 1670 | - | // Finishes asynchronously creating a file. | |
| 1671 | - | func (x *FileIface) OverrideCreateFinish(cb func(File, AsyncResult) *FileOutputStream) { | |
| 1672 | - | if cb == nil { | |
| 1673 | - | x.xCreateFinish = 0 | |
| 1674 | - | } else { | |
| 1675 | - | x.xCreateFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1676 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1677 | - | if ret == nil { | |
| 1678 | - | return 0 | |
| 1679 | - | } | |
| 1680 | - | return ret.GoPointer() | |
| 1681 | - | }) | |
| 1682 | - | } | |
| 1683 | - | } | |
| 1684 | - | ||
| 1685 | - | // GetCreateFinish gets the "create_finish" callback function. | |
| 1686 | - | // Finishes asynchronously creating a file. | |
| 1687 | - | func (x *FileIface) GetCreateFinish() func(File, AsyncResult) *FileOutputStream { | |
| 1688 | - | if x.xCreateFinish == 0 { | |
| 1689 | - | return nil | |
| 1690 | - | } | |
| 1691 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 1692 | - | purego.RegisterFunc(&rawCallback, x.xCreateFinish) | |
| 1693 | - | return func(FileVar File, ResVar AsyncResult) *FileOutputStream { | |
| 1694 | - | var cerr *glib.Error | |
| 1695 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 1696 | - | if rawRet == 0 { | |
| 1697 | - | return nil | |
| 1698 | - | } | |
| 1699 | - | ret := &FileOutputStream{} | |
| 1700 | - | ret.Ptr = rawRet | |
| 1701 | - | return ret | |
| 1702 | - | } | |
| 1703 | - | } | |
| 1704 | - | ||
| 1705 | - | // OverrideReplace sets the "replace" callback function. | |
| 1706 | - | // Replaces the contents of a file. | |
| 1707 | - | func (x *FileIface) OverrideReplace(cb func(File, string, bool, FileCreateFlags, *Cancellable) *FileOutputStream) { | |
| 1708 | - | if cb == nil { | |
| 1709 | - | x.xReplace = 0 | |
| 1710 | - | } else { | |
| 1711 | - | x.xReplace = purego.NewCallback(func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1712 | - | ret := cb(&FileBase{Ptr: FileVarp}, EtagVarp, MakeBackupVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1713 | - | if ret == nil { | |
| 1714 | - | return 0 | |
| 1715 | - | } | |
| 1716 | - | return ret.GoPointer() | |
| 1717 | - | }) | |
| 1718 | - | } | |
| 1719 | - | } | |
| 1720 | - | ||
| 1721 | - | // GetReplace gets the "replace" callback function. | |
| 1722 | - | // Replaces the contents of a file. | |
| 1723 | - | func (x *FileIface) GetReplace() func(File, string, bool, FileCreateFlags, *Cancellable) *FileOutputStream { | |
| 1724 | - | if x.xReplace == 0 { | |
| 1725 | - | return nil | |
| 1726 | - | } | |
| 1727 | - | var rawCallback func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 1728 | - | purego.RegisterFunc(&rawCallback, x.xReplace) | |
| 1729 | - | return func(FileVar File, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileOutputStream { | |
| 1730 | - | var cerr *glib.Error | |
| 1731 | - | rawRet := rawCallback(FileVar.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 1732 | - | if rawRet == 0 { | |
| 1733 | - | return nil | |
| 1734 | - | } | |
| 1735 | - | ret := &FileOutputStream{} | |
| 1736 | - | ret.Ptr = rawRet | |
| 1737 | - | return ret | |
| 1738 | - | } | |
| 1739 | - | } | |
| 1740 | - | ||
| 1741 | - | // OverrideReplaceAsync sets the "replace_async" callback function. | |
| 1742 | - | // Asynchronously replaces the contents of a file. | |
| 1743 | - | func (x *FileIface) OverrideReplaceAsync(cb func(File, string, bool, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1744 | - | if cb == nil { | |
| 1745 | - | x.xReplaceAsync = 0 | |
| 1746 | - | } else { | |
| 1747 | - | x.xReplaceAsync = purego.NewCallback(func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1748 | - | cb(&FileBase{Ptr: FileVarp}, EtagVarp, MakeBackupVarp, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1749 | - | }) | |
| 1750 | - | } | |
| 1751 | - | } | |
| 1752 | - | ||
| 1753 | - | // GetReplaceAsync gets the "replace_async" callback function. | |
| 1754 | - | // Asynchronously replaces the contents of a file. | |
| 1755 | - | func (x *FileIface) GetReplaceAsync() func(File, string, bool, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1756 | - | if x.xReplaceAsync == 0 { | |
| 1757 | - | return nil | |
| 1758 | - | } | |
| 1759 | - | var rawCallback func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1760 | - | purego.RegisterFunc(&rawCallback, x.xReplaceAsync) | |
| 1761 | - | return func(FileVar File, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1762 | - | rawCallback(FileVar.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1763 | - | } | |
| 1764 | - | } | |
| 1765 | - | ||
| 1766 | - | // OverrideReplaceFinish sets the "replace_finish" callback function. | |
| 1767 | - | // Finishes asynchronously replacing a file. | |
| 1768 | - | func (x *FileIface) OverrideReplaceFinish(cb func(File, AsyncResult) *FileOutputStream) { | |
| 1769 | - | if cb == nil { | |
| 1770 | - | x.xReplaceFinish = 0 | |
| 1771 | - | } else { | |
| 1772 | - | x.xReplaceFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 1773 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1774 | - | if ret == nil { | |
| 1775 | - | return 0 | |
| 1776 | - | } | |
| 1777 | - | return ret.GoPointer() | |
| 1778 | - | }) | |
| 1779 | - | } | |
| 1780 | - | } | |
| 1781 | - | ||
| 1782 | - | // GetReplaceFinish gets the "replace_finish" callback function. | |
| 1783 | - | // Finishes asynchronously replacing a file. | |
| 1784 | - | func (x *FileIface) GetReplaceFinish() func(File, AsyncResult) *FileOutputStream { | |
| 1785 | - | if x.xReplaceFinish == 0 { | |
| 1786 | - | return nil | |
| 1787 | - | } | |
| 1788 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 1789 | - | purego.RegisterFunc(&rawCallback, x.xReplaceFinish) | |
| 1790 | - | return func(FileVar File, ResVar AsyncResult) *FileOutputStream { | |
| 1791 | - | var cerr *glib.Error | |
| 1792 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 1793 | - | if rawRet == 0 { | |
| 1794 | - | return nil | |
| 1795 | - | } | |
| 1796 | - | ret := &FileOutputStream{} | |
| 1797 | - | ret.Ptr = rawRet | |
| 1798 | - | return ret | |
| 1799 | - | } | |
| 1800 | - | } | |
| 1801 | - | ||
| 1802 | - | // OverrideDeleteFile sets the "delete_file" callback function. | |
| 1803 | - | // Deletes a file. | |
| 1804 | - | func (x *FileIface) OverrideDeleteFile(cb func(File, *Cancellable) bool) { | |
| 1805 | - | if cb == nil { | |
| 1806 | - | x.xDeleteFile = 0 | |
| 1807 | - | } else { | |
| 1808 | - | x.xDeleteFile = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 1809 | - | return cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1810 | - | }) | |
| 1811 | - | } | |
| 1812 | - | } | |
| 1813 | - | ||
| 1814 | - | // GetDeleteFile gets the "delete_file" callback function. | |
| 1815 | - | // Deletes a file. | |
| 1816 | - | func (x *FileIface) GetDeleteFile() func(File, *Cancellable) bool { | |
| 1817 | - | if x.xDeleteFile == 0 { | |
| 1818 | - | return nil | |
| 1819 | - | } | |
| 1820 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 1821 | - | purego.RegisterFunc(&rawCallback, x.xDeleteFile) | |
| 1822 | - | return func(FileVar File, CancellableVar *Cancellable) bool { | |
| 1823 | - | var cerr *glib.Error | |
| 1824 | - | return rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 1825 | - | } | |
| 1826 | - | } | |
| 1827 | - | ||
| 1828 | - | // OverrideDeleteFileAsync sets the "delete_file_async" callback function. | |
| 1829 | - | // Asynchronously deletes a file. | |
| 1830 | - | func (x *FileIface) OverrideDeleteFileAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1831 | - | if cb == nil { | |
| 1832 | - | x.xDeleteFileAsync = 0 | |
| 1833 | - | } else { | |
| 1834 | - | x.xDeleteFileAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1835 | - | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1836 | - | }) | |
| 1837 | - | } | |
| 1838 | - | } | |
| 1839 | - | ||
| 1840 | - | // GetDeleteFileAsync gets the "delete_file_async" callback function. | |
| 1841 | - | // Asynchronously deletes a file. | |
| 1842 | - | func (x *FileIface) GetDeleteFileAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1843 | - | if x.xDeleteFileAsync == 0 { | |
| 1844 | - | return nil | |
| 1845 | - | } | |
| 1846 | - | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1847 | - | purego.RegisterFunc(&rawCallback, x.xDeleteFileAsync) | |
| 1848 | - | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1849 | - | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1850 | - | } | |
| 1851 | - | } | |
| 1852 | - | ||
| 1853 | - | // OverrideDeleteFileFinish sets the "delete_file_finish" callback function. | |
| 1854 | - | // Finishes an asynchronous delete. | |
| 1855 | - | func (x *FileIface) OverrideDeleteFileFinish(cb func(File, AsyncResult) bool) { | |
| 1856 | - | if cb == nil { | |
| 1857 | - | x.xDeleteFileFinish = 0 | |
| 1858 | - | } else { | |
| 1859 | - | x.xDeleteFileFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 1860 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 1861 | - | }) | |
| 1862 | - | } | |
| 1863 | - | } | |
| 1864 | - | ||
| 1865 | - | // GetDeleteFileFinish gets the "delete_file_finish" callback function. | |
| 1866 | - | // Finishes an asynchronous delete. | |
| 1867 | - | func (x *FileIface) GetDeleteFileFinish() func(File, AsyncResult) bool { | |
| 1868 | - | if x.xDeleteFileFinish == 0 { | |
| 1869 | - | return nil | |
| 1870 | - | } | |
| 1871 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 1872 | - | purego.RegisterFunc(&rawCallback, x.xDeleteFileFinish) | |
| 1873 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 1874 | - | var cerr *glib.Error | |
| 1875 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1876 | - | } | |
| 1877 | - | } | |
| 1878 | - | ||
| 1879 | - | // OverrideTrash sets the "trash" callback function. | |
| 1880 | - | // Sends a #GFile to the Trash location. | |
| 1881 | - | func (x *FileIface) OverrideTrash(cb func(File, *Cancellable) bool) { | |
| 1882 | - | if cb == nil { | |
| 1883 | - | x.xTrash = 0 | |
| 1884 | - | } else { | |
| 1885 | - | x.xTrash = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 1886 | - | return cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1887 | - | }) | |
| 1888 | - | } | |
| 1889 | - | } | |
| 1890 | - | ||
| 1891 | - | // GetTrash gets the "trash" callback function. | |
| 1892 | - | // Sends a #GFile to the Trash location. | |
| 1893 | - | func (x *FileIface) GetTrash() func(File, *Cancellable) bool { | |
| 1894 | - | if x.xTrash == 0 { | |
| 1895 | - | return nil | |
| 1896 | - | } | |
| 1897 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 1898 | - | purego.RegisterFunc(&rawCallback, x.xTrash) | |
| 1899 | - | return func(FileVar File, CancellableVar *Cancellable) bool { | |
| 1900 | - | var cerr *glib.Error | |
| 1901 | - | return rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 1902 | - | } | |
| 1903 | - | } | |
| 1904 | - | ||
| 1905 | - | // OverrideTrashAsync sets the "trash_async" callback function. | |
| 1906 | - | // Asynchronously sends a #GFile to the Trash location. | |
| 1907 | - | func (x *FileIface) OverrideTrashAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1908 | - | if cb == nil { | |
| 1909 | - | x.xTrashAsync = 0 | |
| 1910 | - | } else { | |
| 1911 | - | x.xTrashAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1912 | - | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1913 | - | }) | |
| 1914 | - | } | |
| 1915 | - | } | |
| 1916 | - | ||
| 1917 | - | // GetTrashAsync gets the "trash_async" callback function. | |
| 1918 | - | // Asynchronously sends a #GFile to the Trash location. | |
| 1919 | - | func (x *FileIface) GetTrashAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1920 | - | if x.xTrashAsync == 0 { | |
| 1921 | - | return nil | |
| 1922 | - | } | |
| 1923 | - | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1924 | - | purego.RegisterFunc(&rawCallback, x.xTrashAsync) | |
| 1925 | - | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1926 | - | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1927 | - | } | |
| 1928 | - | } | |
| 1929 | - | ||
| 1930 | - | // OverrideTrashFinish sets the "trash_finish" callback function. | |
| 1931 | - | // Finishes an asynchronous file trashing operation. | |
| 1932 | - | func (x *FileIface) OverrideTrashFinish(cb func(File, AsyncResult) bool) { | |
| 1933 | - | if cb == nil { | |
| 1934 | - | x.xTrashFinish = 0 | |
| 1935 | - | } else { | |
| 1936 | - | x.xTrashFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 1937 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 1938 | - | }) | |
| 1939 | - | } | |
| 1940 | - | } | |
| 1941 | - | ||
| 1942 | - | // GetTrashFinish gets the "trash_finish" callback function. | |
| 1943 | - | // Finishes an asynchronous file trashing operation. | |
| 1944 | - | func (x *FileIface) GetTrashFinish() func(File, AsyncResult) bool { | |
| 1945 | - | if x.xTrashFinish == 0 { | |
| 1946 | - | return nil | |
| 1947 | - | } | |
| 1948 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 1949 | - | purego.RegisterFunc(&rawCallback, x.xTrashFinish) | |
| 1950 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 1951 | - | var cerr *glib.Error | |
| 1952 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 1953 | - | } | |
| 1954 | - | } | |
| 1955 | - | ||
| 1956 | - | // OverrideMakeDirectory sets the "make_directory" callback function. | |
| 1957 | - | // Makes a directory. | |
| 1958 | - | func (x *FileIface) OverrideMakeDirectory(cb func(File, *Cancellable) bool) { | |
| 1959 | - | if cb == nil { | |
| 1960 | - | x.xMakeDirectory = 0 | |
| 1961 | - | } else { | |
| 1962 | - | x.xMakeDirectory = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 1963 | - | return cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1964 | - | }) | |
| 1965 | - | } | |
| 1966 | - | } | |
| 1967 | - | ||
| 1968 | - | // GetMakeDirectory gets the "make_directory" callback function. | |
| 1969 | - | // Makes a directory. | |
| 1970 | - | func (x *FileIface) GetMakeDirectory() func(File, *Cancellable) bool { | |
| 1971 | - | if x.xMakeDirectory == 0 { | |
| 1972 | - | return nil | |
| 1973 | - | } | |
| 1974 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 1975 | - | purego.RegisterFunc(&rawCallback, x.xMakeDirectory) | |
| 1976 | - | return func(FileVar File, CancellableVar *Cancellable) bool { | |
| 1977 | - | var cerr *glib.Error | |
| 1978 | - | return rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 1979 | - | } | |
| 1980 | - | } | |
| 1981 | - | ||
| 1982 | - | // OverrideMakeDirectoryAsync sets the "make_directory_async" callback function. | |
| 1983 | - | // Asynchronously makes a directory. | |
| 1984 | - | func (x *FileIface) OverrideMakeDirectoryAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1985 | - | if cb == nil { | |
| 1986 | - | x.xMakeDirectoryAsync = 0 | |
| 1987 | - | } else { | |
| 1988 | - | x.xMakeDirectoryAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1989 | - | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1990 | - | }) | |
| 1991 | - | } | |
| 1992 | - | } | |
| 1993 | - | ||
| 1994 | - | // GetMakeDirectoryAsync gets the "make_directory_async" callback function. | |
| 1995 | - | // Asynchronously makes a directory. | |
| 1996 | - | func (x *FileIface) GetMakeDirectoryAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1997 | - | if x.xMakeDirectoryAsync == 0 { | |
| 1998 | - | return nil | |
| 1999 | - | } | |
| 2000 | - | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2001 | - | purego.RegisterFunc(&rawCallback, x.xMakeDirectoryAsync) | |
| 2002 | - | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2003 | - | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2004 | - | } | |
| 2005 | - | } | |
| 2006 | - | ||
| 2007 | - | // OverrideMakeDirectoryFinish sets the "make_directory_finish" callback function. | |
| 2008 | - | // Finishes making a directory asynchronously. | |
| 2009 | - | func (x *FileIface) OverrideMakeDirectoryFinish(cb func(File, AsyncResult) bool) { | |
| 2010 | - | if cb == nil { | |
| 2011 | - | x.xMakeDirectoryFinish = 0 | |
| 2012 | - | } else { | |
| 2013 | - | x.xMakeDirectoryFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 2014 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2015 | - | }) | |
| 2016 | - | } | |
| 2017 | - | } | |
| 2018 | - | ||
| 2019 | - | // GetMakeDirectoryFinish gets the "make_directory_finish" callback function. | |
| 2020 | - | // Finishes making a directory asynchronously. | |
| 2021 | - | func (x *FileIface) GetMakeDirectoryFinish() func(File, AsyncResult) bool { | |
| 2022 | - | if x.xMakeDirectoryFinish == 0 { | |
| 2023 | - | return nil | |
| 2024 | - | } | |
| 2025 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 2026 | - | purego.RegisterFunc(&rawCallback, x.xMakeDirectoryFinish) | |
| 2027 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2028 | - | var cerr *glib.Error | |
| 2029 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 2030 | - | } | |
| 2031 | - | } | |
| 2032 | - | ||
| 2033 | - | // OverrideMakeSymbolicLink sets the "make_symbolic_link" callback function. | |
| 2034 | - | // Makes a symbolic link. %NULL if symbolic | |
| 2035 | - | // | |
| 2036 | - | // links are unsupported. | |
| 2037 | - | func (x *FileIface) OverrideMakeSymbolicLink(cb func(File, string, *Cancellable) bool) { | |
| 2038 | - | if cb == nil { | |
| 2039 | - | x.xMakeSymbolicLink = 0 | |
| 2040 | - | } else { | |
| 2041 | - | x.xMakeSymbolicLink = purego.NewCallback(func(FileVarp uintptr, SymlinkValueVarp string, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 2042 | - | return cb(&FileBase{Ptr: FileVarp}, SymlinkValueVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2043 | - | }) | |
| 2044 | - | } | |
| 2045 | - | } | |
| 2046 | - | ||
| 2047 | - | // GetMakeSymbolicLink gets the "make_symbolic_link" callback function. | |
| 2048 | - | // Makes a symbolic link. %NULL if symbolic | |
| 2049 | - | // | |
| 2050 | - | // links are unsupported. | |
| 2051 | - | func (x *FileIface) GetMakeSymbolicLink() func(File, string, *Cancellable) bool { | |
| 2052 | - | if x.xMakeSymbolicLink == 0 { | |
| 2053 | - | return nil | |
| 2054 | - | } | |
| 2055 | - | var rawCallback func(FileVarp uintptr, SymlinkValueVarp string, CancellableVarp uintptr, cerrp **glib.Error) bool | |
| 2056 | - | purego.RegisterFunc(&rawCallback, x.xMakeSymbolicLink) | |
| 2057 | - | return func(FileVar File, SymlinkValueVar string, CancellableVar *Cancellable) bool { | |
| 2058 | - | var cerr *glib.Error | |
| 2059 | - | return rawCallback(FileVar.GoPointer(), SymlinkValueVar, CancellableVar.GoPointer(), &cerr) | |
| 2060 | - | } | |
| 2061 | - | } | |
| 2062 | - | ||
| 2063 | - | // OverrideMakeSymbolicLinkAsync sets the "make_symbolic_link_async" callback function. | |
| 2064 | - | // Asynchronously makes a symbolic link | |
| 2065 | - | func (x *FileIface) OverrideMakeSymbolicLinkAsync(cb func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2066 | - | if cb == nil { | |
| 2067 | - | x.xMakeSymbolicLinkAsync = 0 | |
| 2068 | - | } else { | |
| 2069 | - | x.xMakeSymbolicLinkAsync = purego.NewCallback(func(FileVarp uintptr, SymlinkValueVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2070 | - | cb(&FileBase{Ptr: FileVarp}, SymlinkValueVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2071 | - | }) | |
| 2072 | - | } | |
| 2073 | - | } | |
| 2074 | - | ||
| 2075 | - | // GetMakeSymbolicLinkAsync gets the "make_symbolic_link_async" callback function. | |
| 2076 | - | // Asynchronously makes a symbolic link | |
| 2077 | - | func (x *FileIface) GetMakeSymbolicLinkAsync() func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2078 | - | if x.xMakeSymbolicLinkAsync == 0 { | |
| 2079 | - | return nil | |
| 2080 | - | } | |
| 2081 | - | var rawCallback func(FileVarp uintptr, SymlinkValueVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2082 | - | purego.RegisterFunc(&rawCallback, x.xMakeSymbolicLinkAsync) | |
| 2083 | - | return func(FileVar File, SymlinkValueVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2084 | - | rawCallback(FileVar.GoPointer(), SymlinkValueVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2085 | - | } | |
| 2086 | - | } | |
| 2087 | - | ||
| 2088 | - | // OverrideMakeSymbolicLinkFinish sets the "make_symbolic_link_finish" callback function. | |
| 2089 | - | // Finishes making a symbolic link asynchronously. | |
| 2090 | - | func (x *FileIface) OverrideMakeSymbolicLinkFinish(cb func(File, AsyncResult) bool) { | |
| 2091 | - | if cb == nil { | |
| 2092 | - | x.xMakeSymbolicLinkFinish = 0 | |
| 2093 | - | } else { | |
| 2094 | - | x.xMakeSymbolicLinkFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 2095 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2096 | - | }) | |
| 2097 | - | } | |
| 2098 | - | } | |
| 2099 | - | ||
| 2100 | - | // GetMakeSymbolicLinkFinish gets the "make_symbolic_link_finish" callback function. | |
| 2101 | - | // Finishes making a symbolic link asynchronously. | |
| 2102 | - | func (x *FileIface) GetMakeSymbolicLinkFinish() func(File, AsyncResult) bool { | |
| 2103 | - | if x.xMakeSymbolicLinkFinish == 0 { | |
| 2104 | - | return nil | |
| 2105 | - | } | |
| 2106 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 2107 | - | purego.RegisterFunc(&rawCallback, x.xMakeSymbolicLinkFinish) | |
| 2108 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2109 | - | var cerr *glib.Error | |
| 2110 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 2111 | - | } | |
| 2112 | - | } | |
| 2113 | - | ||
| 2114 | - | // OverrideCopy sets the "copy" callback function. | |
| 2115 | - | // Copies a file. %NULL if copying is unsupported, which will | |
| 2116 | - | // | |
| 2117 | - | // cause `GFile` to use a fallback copy method where it reads from the | |
| 2118 | - | // source and writes to the destination. | |
| 2119 | - | func (x *FileIface) OverrideCopy(cb func(File, File, FileCopyFlags, *Cancellable, *FileProgressCallback, uintptr) bool) { | |
| 2120 | - | if cb == nil { | |
| 2121 | - | x.xCopy = 0 | |
| 2122 | - | } else { | |
| 2123 | - | x.xCopy = purego.NewCallback(func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, cerrp **glib.Error) bool { | |
| 2124 | - | return cb(&FileBase{Ptr: SourceVarp}, &FileBase{Ptr: DestinationVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressCallbackDataVarp) | |
| 2125 | - | }) | |
| 2126 | - | } | |
| 2127 | - | } | |
| 2128 | - | ||
| 2129 | - | // GetCopy gets the "copy" callback function. | |
| 2130 | - | // Copies a file. %NULL if copying is unsupported, which will | |
| 2131 | - | // | |
| 2132 | - | // cause `GFile` to use a fallback copy method where it reads from the | |
| 2133 | - | // source and writes to the destination. | |
| 2134 | - | func (x *FileIface) GetCopy() func(File, File, FileCopyFlags, *Cancellable, *FileProgressCallback, uintptr) bool { | |
| 2135 | - | if x.xCopy == 0 { | |
| 2136 | - | return nil | |
| 2137 | - | } | |
| 2138 | - | var rawCallback func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, cerrp **glib.Error) bool | |
| 2139 | - | purego.RegisterFunc(&rawCallback, x.xCopy) | |
| 2140 | - | return func(SourceVar File, DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) bool { | |
| 2141 | - | var cerr *glib.Error | |
| 2142 | - | return rawCallback(SourceVar.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr) | |
| 2143 | - | } | |
| 2144 | - | } | |
| 2145 | - | ||
| 2146 | - | // OverrideCopyAsync sets the "copy_async" callback function. | |
| 2147 | - | // Asynchronously copies a file. | |
| 2148 | - | func (x *FileIface) OverrideCopyAsync(cb func(File, File, FileCopyFlags, int, *Cancellable, *FileProgressCallback, uintptr, *AsyncReadyCallback, uintptr)) { | |
| 2149 | - | if cb == nil { | |
| 2150 | - | x.xCopyAsync = 0 | |
| 2151 | - | } else { | |
| 2152 | - | x.xCopyAsync = purego.NewCallback(func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2153 | - | cb(&FileBase{Ptr: SourceVarp}, &FileBase{Ptr: DestinationVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressCallbackDataVarp, (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2154 | - | }) | |
| 2155 | - | } | |
| 2156 | - | } | |
| 2157 | - | ||
| 2158 | - | // GetCopyAsync gets the "copy_async" callback function. | |
| 2159 | - | // Asynchronously copies a file. | |
| 2160 | - | func (x *FileIface) GetCopyAsync() func(File, File, FileCopyFlags, int, *Cancellable, *FileProgressCallback, uintptr, *AsyncReadyCallback, uintptr) { | |
| 2161 | - | if x.xCopyAsync == 0 { | |
| 2162 | - | return nil | |
| 2163 | - | } | |
| 2164 | - | var rawCallback func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2165 | - | purego.RegisterFunc(&rawCallback, x.xCopyAsync) | |
| 2166 | - | return func(SourceVar File, DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2167 | - | rawCallback(SourceVar.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2168 | - | } | |
| 2169 | - | } | |
| 2170 | - | ||
| 2171 | - | // OverrideCopyFinish sets the "copy_finish" callback function. | |
| 2172 | - | // Finishes an asynchronous copy operation. | |
| 2173 | - | func (x *FileIface) OverrideCopyFinish(cb func(File, AsyncResult) bool) { | |
| 2174 | - | if cb == nil { | |
| 2175 | - | x.xCopyFinish = 0 | |
| 2176 | - | } else { | |
| 2177 | - | x.xCopyFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) bool { | |
| 2178 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 2179 | - | }) | |
| 2180 | - | } | |
| 2181 | - | } | |
| 2182 | - | ||
| 2183 | - | // GetCopyFinish gets the "copy_finish" callback function. | |
| 2184 | - | // Finishes an asynchronous copy operation. | |
| 2185 | - | func (x *FileIface) GetCopyFinish() func(File, AsyncResult) bool { | |
| 2186 | - | if x.xCopyFinish == 0 { | |
| 2187 | - | return nil | |
| 2188 | - | } | |
| 2189 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) bool | |
| 2190 | - | purego.RegisterFunc(&rawCallback, x.xCopyFinish) | |
| 2191 | - | return func(FileVar File, ResVar AsyncResult) bool { | |
| 2192 | - | var cerr *glib.Error | |
| 2193 | - | return rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 2194 | - | } | |
| 2195 | - | } | |
| 2196 | - | ||
| 2197 | - | // OverrideMove sets the "move" callback function. | |
| 2198 | - | // Moves a file. | |
| 2199 | - | func (x *FileIface) OverrideMove(cb func(File, File, FileCopyFlags, *Cancellable, *FileProgressCallback, uintptr) bool) { | |
| 2200 | - | if cb == nil { | |
| 2201 | - | x.xMove = 0 | |
| 2202 | - | } else { | |
| 2203 | - | x.xMove = purego.NewCallback(func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, cerrp **glib.Error) bool { | |
| 2204 | - | return cb(&FileBase{Ptr: SourceVarp}, &FileBase{Ptr: DestinationVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressCallbackDataVarp) | |
| 2205 | - | }) | |
| 2206 | - | } | |
| 2207 | - | } | |
| 2208 | - | ||
| 2209 | - | // GetMove gets the "move" callback function. | |
| 2210 | - | // Moves a file. | |
| 2211 | - | func (x *FileIface) GetMove() func(File, File, FileCopyFlags, *Cancellable, *FileProgressCallback, uintptr) bool { | |
| 2212 | - | if x.xMove == 0 { | |
| 2213 | - | return nil | |
| 2214 | - | } | |
| 2215 | - | var rawCallback func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, cerrp **glib.Error) bool | |
| 2216 | - | purego.RegisterFunc(&rawCallback, x.xMove) | |
| 2217 | - | return func(SourceVar File, DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) bool { | |
| 2218 | - | var cerr *glib.Error | |
| 2219 | - | return rawCallback(SourceVar.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr) | |
| 2220 | - | } | |
| 2221 | - | } | |
| 2222 | - | ||
| 2223 | - | // OverrideMoveAsync sets the "move_async" callback function. | |
| 2224 | - | // Asynchronously moves a file. Since: 2.72 | |
| 2225 | - | func (x *FileIface) OverrideMoveAsync(cb func(File, File, FileCopyFlags, int, *Cancellable, *FileProgressCallback, uintptr, *AsyncReadyCallback, uintptr)) { | |
| 2226 | - | if cb == nil { | |
| 2227 | - | x.xMoveAsync = 0 | |
| 2228 | - | } else { | |
| 2229 | - | x.xMoveAsync = purego.NewCallback(func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2230 | - | cb(&FileBase{Ptr: SourceVarp}, &FileBase{Ptr: DestinationVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressCallbackDataVarp, (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2231 | - | }) | |
| 2232 | - | } | |
| 2233 | - | } | |
| 2234 | - | ||
| 2235 | - | // GetMoveAsync gets the "move_async" callback function. | |
| 2236 | - | // Asynchronously moves a file. Since: 2.72 | |
| 2237 | - | func (x *FileIface) GetMoveAsync() func(File, File, FileCopyFlags, int, *Cancellable, *FileProgressCallback, uintptr, *AsyncReadyCallback, uintptr) { | |
| 2238 | - | if x.xMoveAsync == 0 { | |
| 2239 | - | return nil | |
| 2240 | - | } | |
| 2241 | - | var rawCallback func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2242 | - | purego.RegisterFunc(&rawCallback, x.xMoveAsync) | |
| 2243 | - | return func(SourceVar File, DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2244 | - | rawCallback(SourceVar.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2245 | - | } | |
| 2246 | - | } | |
| 2247 | - | ||
| 2248 | - | // OverrideMoveFinish sets the "move_finish" callback function. | |
| 2249 | - | // Finishes an asynchronous move operation. Since: 2.72 | |
| 2250 | - | func (x *FileIface) OverrideMoveFinish(cb func(File, AsyncResult) bool) { | |
| 2251 | - | if cb == nil { | |
| 2252 | - | x.xMoveFinish = 0 | |
| 2253 | - | } else { | |
| 2254 | - | x.xMoveFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 2255 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2256 | - | }) | |
| 2257 | - | } | |
| 2258 | - | } | |
| 2259 | - | ||
| 2260 | - | // GetMoveFinish gets the "move_finish" callback function. | |
| 2261 | - | // Finishes an asynchronous move operation. Since: 2.72 | |
| 2262 | - | func (x *FileIface) GetMoveFinish() func(File, AsyncResult) bool { | |
| 2263 | - | if x.xMoveFinish == 0 { | |
| 2264 | - | return nil | |
| 2265 | - | } | |
| 2266 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 2267 | - | purego.RegisterFunc(&rawCallback, x.xMoveFinish) | |
| 2268 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2269 | - | var cerr *glib.Error | |
| 2270 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 2271 | - | } | |
| 2272 | - | } | |
| 2273 | - | ||
| 2274 | - | // OverrideMountMountable sets the "mount_mountable" callback function. | |
| 2275 | - | // Mounts a mountable object. | |
| 2276 | - | func (x *FileIface) OverrideMountMountable(cb func(File, MountMountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2277 | - | if cb == nil { | |
| 2278 | - | x.xMountMountable = 0 | |
| 2279 | - | } else { | |
| 2280 | - | x.xMountMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2281 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, MountOperationNewFromInternalPtr(MountOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2282 | - | }) | |
| 2283 | - | } | |
| 2284 | - | } | |
| 2285 | - | ||
| 2286 | - | // GetMountMountable gets the "mount_mountable" callback function. | |
| 2287 | - | // Mounts a mountable object. | |
| 2288 | - | func (x *FileIface) GetMountMountable() func(File, MountMountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2289 | - | if x.xMountMountable == 0 { | |
| 2290 | - | return nil | |
| 2291 | - | } | |
| 2292 | - | var rawCallback func(FileVarp uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2293 | - | purego.RegisterFunc(&rawCallback, x.xMountMountable) | |
| 2294 | - | return func(FileVar File, FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2295 | - | rawCallback(FileVar.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2296 | - | } | |
| 2297 | - | } | |
| 2298 | - | ||
| 2299 | - | // OverrideMountMountableFinish sets the "mount_mountable_finish" callback function. | |
| 2300 | - | // Finishes a mounting operation. | |
| 2301 | - | func (x *FileIface) OverrideMountMountableFinish(cb func(File, AsyncResult) *FileBase) { | |
| 2302 | - | if cb == nil { | |
| 2303 | - | x.xMountMountableFinish = 0 | |
| 2304 | - | } else { | |
| 2305 | - | x.xMountMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) uintptr { | |
| 2306 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2307 | - | if ret == nil { | |
| 2308 | - | return 0 | |
| 2309 | - | } | |
| 2310 | - | return ret.GoPointer() | |
| 2311 | - | }) | |
| 2312 | - | } | |
| 2313 | - | } | |
| 2314 | - | ||
| 2315 | - | // GetMountMountableFinish gets the "mount_mountable_finish" callback function. | |
| 2316 | - | // Finishes a mounting operation. | |
| 2317 | - | func (x *FileIface) GetMountMountableFinish() func(File, AsyncResult) *FileBase { | |
| 2318 | - | if x.xMountMountableFinish == 0 { | |
| 2319 | - | return nil | |
| 2320 | - | } | |
| 2321 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) uintptr | |
| 2322 | - | purego.RegisterFunc(&rawCallback, x.xMountMountableFinish) | |
| 2323 | - | return func(FileVar File, ResultVar AsyncResult) *FileBase { | |
| 2324 | - | var cerr *glib.Error | |
| 2325 | - | rawRet := rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 2326 | - | if rawRet == 0 { | |
| 2327 | - | return nil | |
| 2328 | - | } | |
| 2329 | - | ret := &FileBase{} | |
| 2330 | - | ret.Ptr = rawRet | |
| 2331 | - | return ret | |
| 2332 | - | } | |
| 2333 | - | } | |
| 2334 | - | ||
| 2335 | - | // OverrideUnmountMountable sets the "unmount_mountable" callback function. | |
| 2336 | - | // Unmounts a mountable object. | |
| 2337 | - | func (x *FileIface) OverrideUnmountMountable(cb func(File, MountUnmountFlags, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2338 | - | if cb == nil { | |
| 2339 | - | x.xUnmountMountable = 0 | |
| 2340 | - | } else { | |
| 2341 | - | x.xUnmountMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2342 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2343 | - | }) | |
| 2344 | - | } | |
| 2345 | - | } | |
| 2346 | - | ||
| 2347 | - | // GetUnmountMountable gets the "unmount_mountable" callback function. | |
| 2348 | - | // Unmounts a mountable object. | |
| 2349 | - | func (x *FileIface) GetUnmountMountable() func(File, MountUnmountFlags, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2350 | - | if x.xUnmountMountable == 0 { | |
| 2351 | - | return nil | |
| 2352 | - | } | |
| 2353 | - | var rawCallback func(FileVarp uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2354 | - | purego.RegisterFunc(&rawCallback, x.xUnmountMountable) | |
| 2355 | - | return func(FileVar File, FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2356 | - | rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2357 | - | } | |
| 2358 | - | } | |
| 2359 | - | ||
| 2360 | - | // OverrideUnmountMountableFinish sets the "unmount_mountable_finish" callback function. | |
| 2361 | - | // Finishes an unmount operation. | |
| 2362 | - | func (x *FileIface) OverrideUnmountMountableFinish(cb func(File, AsyncResult) bool) { | |
| 2363 | - | if cb == nil { | |
| 2364 | - | x.xUnmountMountableFinish = 0 | |
| 2365 | - | } else { | |
| 2366 | - | x.xUnmountMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 2367 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2368 | - | }) | |
| 2369 | - | } | |
| 2370 | - | } | |
| 2371 | - | ||
| 2372 | - | // GetUnmountMountableFinish gets the "unmount_mountable_finish" callback function. | |
| 2373 | - | // Finishes an unmount operation. | |
| 2374 | - | func (x *FileIface) GetUnmountMountableFinish() func(File, AsyncResult) bool { | |
| 2375 | - | if x.xUnmountMountableFinish == 0 { | |
| 2376 | - | return nil | |
| 2377 | - | } | |
| 2378 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 2379 | - | purego.RegisterFunc(&rawCallback, x.xUnmountMountableFinish) | |
| 2380 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2381 | - | var cerr *glib.Error | |
| 2382 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 2383 | - | } | |
| 2384 | - | } | |
| 2385 | - | ||
| 2386 | - | // OverrideEjectMountable sets the "eject_mountable" callback function. | |
| 2387 | - | // Ejects a mountable. | |
| 2388 | - | func (x *FileIface) OverrideEjectMountable(cb func(File, MountUnmountFlags, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2389 | - | if cb == nil { | |
| 2390 | - | x.xEjectMountable = 0 | |
| 2391 | - | } else { | |
| 2392 | - | x.xEjectMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2393 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2394 | - | }) | |
| 2395 | - | } | |
| 2396 | - | } | |
| 2397 | - | ||
| 2398 | - | // GetEjectMountable gets the "eject_mountable" callback function. | |
| 2399 | - | // Ejects a mountable. | |
| 2400 | - | func (x *FileIface) GetEjectMountable() func(File, MountUnmountFlags, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2401 | - | if x.xEjectMountable == 0 { | |
| 2402 | - | return nil | |
| 2403 | - | } | |
| 2404 | - | var rawCallback func(FileVarp uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2405 | - | purego.RegisterFunc(&rawCallback, x.xEjectMountable) | |
| 2406 | - | return func(FileVar File, FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2407 | - | rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2408 | - | } | |
| 2409 | - | } | |
| 2410 | - | ||
| 2411 | - | // OverrideEjectMountableFinish sets the "eject_mountable_finish" callback function. | |
| 2412 | - | // Finishes an eject operation. | |
| 2413 | - | func (x *FileIface) OverrideEjectMountableFinish(cb func(File, AsyncResult) bool) { | |
| 2414 | - | if cb == nil { | |
| 2415 | - | x.xEjectMountableFinish = 0 | |
| 2416 | - | } else { | |
| 2417 | - | x.xEjectMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 2418 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2419 | - | }) | |
| 2420 | - | } | |
| 2421 | - | } | |
| 2422 | - | ||
| 2423 | - | // GetEjectMountableFinish gets the "eject_mountable_finish" callback function. | |
| 2424 | - | // Finishes an eject operation. | |
| 2425 | - | func (x *FileIface) GetEjectMountableFinish() func(File, AsyncResult) bool { | |
| 2426 | - | if x.xEjectMountableFinish == 0 { | |
| 2427 | - | return nil | |
| 2428 | - | } | |
| 2429 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 2430 | - | purego.RegisterFunc(&rawCallback, x.xEjectMountableFinish) | |
| 2431 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2432 | - | var cerr *glib.Error | |
| 2433 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 2434 | - | } | |
| 2435 | - | } | |
| 2436 | - | ||
| 2437 | - | // OverrideMountEnclosingVolume sets the "mount_enclosing_volume" callback function. | |
| 2438 | - | // Mounts a specified location. | |
| 2439 | - | func (x *FileIface) OverrideMountEnclosingVolume(cb func(File, MountMountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2440 | - | if cb == nil { | |
| 2441 | - | x.xMountEnclosingVolume = 0 | |
| 2442 | - | } else { | |
| 2443 | - | x.xMountEnclosingVolume = purego.NewCallback(func(LocationVarp uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2444 | - | cb(&FileBase{Ptr: LocationVarp}, FlagsVarp, MountOperationNewFromInternalPtr(MountOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2445 | - | }) | |
| 2446 | - | } | |
| 2447 | - | } | |
| 2448 | - | ||
| 2449 | - | // GetMountEnclosingVolume gets the "mount_enclosing_volume" callback function. | |
| 2450 | - | // Mounts a specified location. | |
| 2451 | - | func (x *FileIface) GetMountEnclosingVolume() func(File, MountMountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2452 | - | if x.xMountEnclosingVolume == 0 { | |
| 2453 | - | return nil | |
| 2454 | - | } | |
| 2455 | - | var rawCallback func(LocationVarp uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2456 | - | purego.RegisterFunc(&rawCallback, x.xMountEnclosingVolume) | |
| 2457 | - | return func(LocationVar File, FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2458 | - | rawCallback(LocationVar.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2459 | - | } | |
| 2460 | - | } | |
| 2461 | - | ||
| 2462 | - | // OverrideMountEnclosingVolumeFinish sets the "mount_enclosing_volume_finish" callback function. | |
| 2463 | - | // Finishes mounting a specified location. | |
| 2464 | - | func (x *FileIface) OverrideMountEnclosingVolumeFinish(cb func(File, AsyncResult) bool) { | |
| 2465 | - | if cb == nil { | |
| 2466 | - | x.xMountEnclosingVolumeFinish = 0 | |
| 2467 | - | } else { | |
| 2468 | - | x.xMountEnclosingVolumeFinish = purego.NewCallback(func(LocationVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 2469 | - | return cb(&FileBase{Ptr: LocationVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2470 | - | }) | |
| 2471 | - | } | |
| 2472 | - | } | |
| 2473 | - | ||
| 2474 | - | // GetMountEnclosingVolumeFinish gets the "mount_enclosing_volume_finish" callback function. | |
| 2475 | - | // Finishes mounting a specified location. | |
| 2476 | - | func (x *FileIface) GetMountEnclosingVolumeFinish() func(File, AsyncResult) bool { | |
| 2477 | - | if x.xMountEnclosingVolumeFinish == 0 { | |
| 2478 | - | return nil | |
| 2479 | - | } | |
| 2480 | - | var rawCallback func(LocationVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 2481 | - | purego.RegisterFunc(&rawCallback, x.xMountEnclosingVolumeFinish) | |
| 2482 | - | return func(LocationVar File, ResultVar AsyncResult) bool { | |
| 2483 | - | var cerr *glib.Error | |
| 2484 | - | return rawCallback(LocationVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 2485 | - | } | |
| 2486 | - | } | |
| 2487 | - | ||
| 2488 | - | // OverrideMonitorDir sets the "monitor_dir" callback function. | |
| 2489 | - | // Creates a #GFileMonitor for the location. | |
| 2490 | - | func (x *FileIface) OverrideMonitorDir(cb func(File, FileMonitorFlags, *Cancellable) *FileMonitor) { | |
| 2491 | - | if cb == nil { | |
| 2492 | - | x.xMonitorDir = 0 | |
| 2493 | - | } else { | |
| 2494 | - | x.xMonitorDir = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 2495 | - | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2496 | - | if ret == nil { | |
| 2497 | - | return 0 | |
| 2498 | - | } | |
| 2499 | - | return ret.GoPointer() | |
| 2500 | - | }) | |
| 2501 | - | } | |
| 2502 | - | } | |
| 2503 | - | ||
| 2504 | - | // GetMonitorDir gets the "monitor_dir" callback function. | |
| 2505 | - | // Creates a #GFileMonitor for the location. | |
| 2506 | - | func (x *FileIface) GetMonitorDir() func(File, FileMonitorFlags, *Cancellable) *FileMonitor { | |
| 2507 | - | if x.xMonitorDir == 0 { | |
| 2508 | - | return nil | |
| 2509 | - | } | |
| 2510 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 2511 | - | purego.RegisterFunc(&rawCallback, x.xMonitorDir) | |
| 2512 | - | return func(FileVar File, FlagsVar FileMonitorFlags, CancellableVar *Cancellable) *FileMonitor { | |
| 2513 | - | var cerr *glib.Error | |
| 2514 | - | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 2515 | - | if rawRet == 0 { | |
| 2516 | - | return nil | |
| 2517 | - | } | |
| 2518 | - | ret := &FileMonitor{} | |
| 2519 | - | ret.Ptr = rawRet | |
| 2520 | - | return ret | |
| 2521 | - | } | |
| 2522 | - | } | |
| 2523 | - | ||
| 2524 | - | // OverrideMonitorFile sets the "monitor_file" callback function. | |
| 2525 | - | // Creates a #GFileMonitor for the location. | |
| 2526 | - | func (x *FileIface) OverrideMonitorFile(cb func(File, FileMonitorFlags, *Cancellable) *FileMonitor) { | |
| 2527 | - | if cb == nil { | |
| 2528 | - | x.xMonitorFile = 0 | |
| 2529 | - | } else { | |
| 2530 | - | x.xMonitorFile = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 2531 | - | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2532 | - | if ret == nil { | |
| 2533 | - | return 0 | |
| 2534 | - | } | |
| 2535 | - | return ret.GoPointer() | |
| 2536 | - | }) | |
| 2537 | - | } | |
| 2538 | - | } | |
| 2539 | - | ||
| 2540 | - | // GetMonitorFile gets the "monitor_file" callback function. | |
| 2541 | - | // Creates a #GFileMonitor for the location. | |
| 2542 | - | func (x *FileIface) GetMonitorFile() func(File, FileMonitorFlags, *Cancellable) *FileMonitor { | |
| 2543 | - | if x.xMonitorFile == 0 { | |
| 2544 | - | return nil | |
| 2545 | - | } | |
| 2546 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 2547 | - | purego.RegisterFunc(&rawCallback, x.xMonitorFile) | |
| 2548 | - | return func(FileVar File, FlagsVar FileMonitorFlags, CancellableVar *Cancellable) *FileMonitor { | |
| 2549 | - | var cerr *glib.Error | |
| 2550 | - | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 2551 | - | if rawRet == 0 { | |
| 2552 | - | return nil | |
| 2553 | - | } | |
| 2554 | - | ret := &FileMonitor{} | |
| 2555 | - | ret.Ptr = rawRet | |
| 2556 | - | return ret | |
| 2557 | - | } | |
| 2558 | - | } | |
| 2559 | - | ||
| 2560 | - | // OverrideOpenReadwrite sets the "open_readwrite" callback function. | |
| 2561 | - | // Open file read/write. Since 2.22. | |
| 2562 | - | func (x *FileIface) OverrideOpenReadwrite(cb func(File, *Cancellable) *FileIOStream) { | |
| 2563 | - | if cb == nil { | |
| 2564 | - | x.xOpenReadwrite = 0 | |
| 2565 | - | } else { | |
| 2566 | - | x.xOpenReadwrite = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 2567 | - | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2568 | - | if ret == nil { | |
| 2569 | - | return 0 | |
| 2570 | - | } | |
| 2571 | - | return ret.GoPointer() | |
| 2572 | - | }) | |
| 2573 | - | } | |
| 2574 | - | } | |
| 2575 | - | ||
| 2576 | - | // GetOpenReadwrite gets the "open_readwrite" callback function. | |
| 2577 | - | // Open file read/write. Since 2.22. | |
| 2578 | - | func (x *FileIface) GetOpenReadwrite() func(File, *Cancellable) *FileIOStream { | |
| 2579 | - | if x.xOpenReadwrite == 0 { | |
| 2580 | - | return nil | |
| 2581 | - | } | |
| 2582 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 2583 | - | purego.RegisterFunc(&rawCallback, x.xOpenReadwrite) | |
| 2584 | - | return func(FileVar File, CancellableVar *Cancellable) *FileIOStream { | |
| 2585 | - | var cerr *glib.Error | |
| 2586 | - | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 2587 | - | if rawRet == 0 { | |
| 2588 | - | return nil | |
| 2589 | - | } | |
| 2590 | - | ret := &FileIOStream{} | |
| 2591 | - | ret.Ptr = rawRet | |
| 2592 | - | return ret | |
| 2593 | - | } | |
| 2594 | - | } | |
| 2595 | - | ||
| 2596 | - | // OverrideOpenReadwriteAsync sets the "open_readwrite_async" callback function. | |
| 2597 | - | // Asynchronously opens file read/write. Since 2.22. | |
| 2598 | - | func (x *FileIface) OverrideOpenReadwriteAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2599 | - | if cb == nil { | |
| 2600 | - | x.xOpenReadwriteAsync = 0 | |
| 2601 | - | } else { | |
| 2602 | - | x.xOpenReadwriteAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2603 | - | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2604 | - | }) | |
| 2605 | - | } | |
| 2606 | - | } | |
| 2607 | - | ||
| 2608 | - | // GetOpenReadwriteAsync gets the "open_readwrite_async" callback function. | |
| 2609 | - | // Asynchronously opens file read/write. Since 2.22. | |
| 2610 | - | func (x *FileIface) GetOpenReadwriteAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2611 | - | if x.xOpenReadwriteAsync == 0 { | |
| 2612 | - | return nil | |
| 2613 | - | } | |
| 2614 | - | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2615 | - | purego.RegisterFunc(&rawCallback, x.xOpenReadwriteAsync) | |
| 2616 | - | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2617 | - | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2618 | - | } | |
| 2619 | - | } | |
| 2620 | - | ||
| 2621 | - | // OverrideOpenReadwriteFinish sets the "open_readwrite_finish" callback function. | |
| 2622 | - | // Finishes an asynchronous open read/write. Since 2.22. | |
| 2623 | - | func (x *FileIface) OverrideOpenReadwriteFinish(cb func(File, AsyncResult) *FileIOStream) { | |
| 2624 | - | if cb == nil { | |
| 2625 | - | x.xOpenReadwriteFinish = 0 | |
| 2626 | - | } else { | |
| 2627 | - | x.xOpenReadwriteFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 2628 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 2629 | - | if ret == nil { | |
| 2630 | - | return 0 | |
| 2631 | - | } | |
| 2632 | - | return ret.GoPointer() | |
| 2633 | - | }) | |
| 2634 | - | } | |
| 2635 | - | } | |
| 2636 | - | ||
| 2637 | - | // GetOpenReadwriteFinish gets the "open_readwrite_finish" callback function. | |
| 2638 | - | // Finishes an asynchronous open read/write. Since 2.22. | |
| 2639 | - | func (x *FileIface) GetOpenReadwriteFinish() func(File, AsyncResult) *FileIOStream { | |
| 2640 | - | if x.xOpenReadwriteFinish == 0 { | |
| 2641 | - | return nil | |
| 2642 | - | } | |
| 2643 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 2644 | - | purego.RegisterFunc(&rawCallback, x.xOpenReadwriteFinish) | |
| 2645 | - | return func(FileVar File, ResVar AsyncResult) *FileIOStream { | |
| 2646 | - | var cerr *glib.Error | |
| 2647 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 2648 | - | if rawRet == 0 { | |
| 2649 | - | return nil | |
| 2650 | - | } | |
| 2651 | - | ret := &FileIOStream{} | |
| 2652 | - | ret.Ptr = rawRet | |
| 2653 | - | return ret | |
| 2654 | - | } | |
| 2655 | - | } | |
| 2656 | - | ||
| 2657 | - | // OverrideCreateReadwrite sets the "create_readwrite" callback function. | |
| 2658 | - | // Creates file read/write. Since 2.22. | |
| 2659 | - | func (x *FileIface) OverrideCreateReadwrite(cb func(File, FileCreateFlags, *Cancellable) *FileIOStream) { | |
| 2660 | - | if cb == nil { | |
| 2661 | - | x.xCreateReadwrite = 0 | |
| 2662 | - | } else { | |
| 2663 | - | x.xCreateReadwrite = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 2664 | - | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2665 | - | if ret == nil { | |
| 2666 | - | return 0 | |
| 2667 | - | } | |
| 2668 | - | return ret.GoPointer() | |
| 2669 | - | }) | |
| 2670 | - | } | |
| 2671 | - | } | |
| 2672 | - | ||
| 2673 | - | // GetCreateReadwrite gets the "create_readwrite" callback function. | |
| 2674 | - | // Creates file read/write. Since 2.22. | |
| 2675 | - | func (x *FileIface) GetCreateReadwrite() func(File, FileCreateFlags, *Cancellable) *FileIOStream { | |
| 2676 | - | if x.xCreateReadwrite == 0 { | |
| 2677 | - | return nil | |
| 2678 | - | } | |
| 2679 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 2680 | - | purego.RegisterFunc(&rawCallback, x.xCreateReadwrite) | |
| 2681 | - | return func(FileVar File, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileIOStream { | |
| 2682 | - | var cerr *glib.Error | |
| 2683 | - | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 2684 | - | if rawRet == 0 { | |
| 2685 | - | return nil | |
| 2686 | - | } | |
| 2687 | - | ret := &FileIOStream{} | |
| 2688 | - | ret.Ptr = rawRet | |
| 2689 | - | return ret | |
| 2690 | - | } | |
| 2691 | - | } | |
| 2692 | - | ||
| 2693 | - | // OverrideCreateReadwriteAsync sets the "create_readwrite_async" callback function. | |
| 2694 | - | // Asynchronously creates file read/write. Since 2.22. | |
| 2695 | - | func (x *FileIface) OverrideCreateReadwriteAsync(cb func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2696 | - | if cb == nil { | |
| 2697 | - | x.xCreateReadwriteAsync = 0 | |
| 2698 | - | } else { | |
| 2699 | - | x.xCreateReadwriteAsync = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2700 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2701 | - | }) | |
| 2702 | - | } | |
| 2703 | - | } | |
| 2704 | - | ||
| 2705 | - | // GetCreateReadwriteAsync gets the "create_readwrite_async" callback function. | |
| 2706 | - | // Asynchronously creates file read/write. Since 2.22. | |
| 2707 | - | func (x *FileIface) GetCreateReadwriteAsync() func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2708 | - | if x.xCreateReadwriteAsync == 0 { | |
| 2709 | - | return nil | |
| 2710 | - | } | |
| 2711 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2712 | - | purego.RegisterFunc(&rawCallback, x.xCreateReadwriteAsync) | |
| 2713 | - | return func(FileVar File, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2714 | - | rawCallback(FileVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2715 | - | } | |
| 2716 | - | } | |
| 2717 | - | ||
| 2718 | - | // OverrideCreateReadwriteFinish sets the "create_readwrite_finish" callback function. | |
| 2719 | - | // Finishes an asynchronous creates read/write. Since 2.22. | |
| 2720 | - | func (x *FileIface) OverrideCreateReadwriteFinish(cb func(File, AsyncResult) *FileIOStream) { | |
| 2721 | - | if cb == nil { | |
| 2722 | - | x.xCreateReadwriteFinish = 0 | |
| 2723 | - | } else { | |
| 2724 | - | x.xCreateReadwriteFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 2725 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 2726 | - | if ret == nil { | |
| 2727 | - | return 0 | |
| 2728 | - | } | |
| 2729 | - | return ret.GoPointer() | |
| 2730 | - | }) | |
| 2731 | - | } | |
| 2732 | - | } | |
| 2733 | - | ||
| 2734 | - | // GetCreateReadwriteFinish gets the "create_readwrite_finish" callback function. | |
| 2735 | - | // Finishes an asynchronous creates read/write. Since 2.22. | |
| 2736 | - | func (x *FileIface) GetCreateReadwriteFinish() func(File, AsyncResult) *FileIOStream { | |
| 2737 | - | if x.xCreateReadwriteFinish == 0 { | |
| 2738 | - | return nil | |
| 2739 | - | } | |
| 2740 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 2741 | - | purego.RegisterFunc(&rawCallback, x.xCreateReadwriteFinish) | |
| 2742 | - | return func(FileVar File, ResVar AsyncResult) *FileIOStream { | |
| 2743 | - | var cerr *glib.Error | |
| 2744 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 2745 | - | if rawRet == 0 { | |
| 2746 | - | return nil | |
| 2747 | - | } | |
| 2748 | - | ret := &FileIOStream{} | |
| 2749 | - | ret.Ptr = rawRet | |
| 2750 | - | return ret | |
| 2751 | - | } | |
| 2752 | - | } | |
| 2753 | - | ||
| 2754 | - | // OverrideReplaceReadwrite sets the "replace_readwrite" callback function. | |
| 2755 | - | // Replaces file read/write. Since 2.22. | |
| 2756 | - | func (x *FileIface) OverrideReplaceReadwrite(cb func(File, string, bool, FileCreateFlags, *Cancellable) *FileIOStream) { | |
| 2757 | - | if cb == nil { | |
| 2758 | - | x.xReplaceReadwrite = 0 | |
| 2759 | - | } else { | |
| 2760 | - | x.xReplaceReadwrite = purego.NewCallback(func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 2761 | - | ret := cb(&FileBase{Ptr: FileVarp}, EtagVarp, MakeBackupVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2762 | - | if ret == nil { | |
| 2763 | - | return 0 | |
| 2764 | - | } | |
| 2765 | - | return ret.GoPointer() | |
| 2766 | - | }) | |
| 2767 | - | } | |
| 2768 | - | } | |
| 2769 | - | ||
| 2770 | - | // GetReplaceReadwrite gets the "replace_readwrite" callback function. | |
| 2771 | - | // Replaces file read/write. Since 2.22. | |
| 2772 | - | func (x *FileIface) GetReplaceReadwrite() func(File, string, bool, FileCreateFlags, *Cancellable) *FileIOStream { | |
| 2773 | - | if x.xReplaceReadwrite == 0 { | |
| 2774 | - | return nil | |
| 2775 | - | } | |
| 2776 | - | var rawCallback func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr | |
| 2777 | - | purego.RegisterFunc(&rawCallback, x.xReplaceReadwrite) | |
| 2778 | - | return func(FileVar File, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileIOStream { | |
| 2779 | - | var cerr *glib.Error | |
| 2780 | - | rawRet := rawCallback(FileVar.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 2781 | - | if rawRet == 0 { | |
| 2782 | - | return nil | |
| 2783 | - | } | |
| 2784 | - | ret := &FileIOStream{} | |
| 2785 | - | ret.Ptr = rawRet | |
| 2786 | - | return ret | |
| 2787 | - | } | |
| 2788 | - | } | |
| 2789 | - | ||
| 2790 | - | // OverrideReplaceReadwriteAsync sets the "replace_readwrite_async" callback function. | |
| 2791 | - | // Asynchronously replaces file read/write. Since 2.22. | |
| 2792 | - | func (x *FileIface) OverrideReplaceReadwriteAsync(cb func(File, string, bool, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2793 | - | if cb == nil { | |
| 2794 | - | x.xReplaceReadwriteAsync = 0 | |
| 2795 | - | } else { | |
| 2796 | - | x.xReplaceReadwriteAsync = purego.NewCallback(func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2797 | - | cb(&FileBase{Ptr: FileVarp}, EtagVarp, MakeBackupVarp, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2798 | - | }) | |
| 2799 | - | } | |
| 2800 | - | } | |
| 2801 | - | ||
| 2802 | - | // GetReplaceReadwriteAsync gets the "replace_readwrite_async" callback function. | |
| 2803 | - | // Asynchronously replaces file read/write. Since 2.22. | |
| 2804 | - | func (x *FileIface) GetReplaceReadwriteAsync() func(File, string, bool, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2805 | - | if x.xReplaceReadwriteAsync == 0 { | |
| 2806 | - | return nil | |
| 2807 | - | } | |
| 2808 | - | var rawCallback func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2809 | - | purego.RegisterFunc(&rawCallback, x.xReplaceReadwriteAsync) | |
| 2810 | - | return func(FileVar File, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2811 | - | rawCallback(FileVar.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2812 | - | } | |
| 2813 | - | } | |
| 2814 | - | ||
| 2815 | - | // OverrideReplaceReadwriteFinish sets the "replace_readwrite_finish" callback function. | |
| 2816 | - | // Finishes an asynchronous replace read/write. Since 2.22. | |
| 2817 | - | func (x *FileIface) OverrideReplaceReadwriteFinish(cb func(File, AsyncResult) *FileIOStream) { | |
| 2818 | - | if cb == nil { | |
| 2819 | - | x.xReplaceReadwriteFinish = 0 | |
| 2820 | - | } else { | |
| 2821 | - | x.xReplaceReadwriteFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 2822 | - | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 2823 | - | if ret == nil { | |
| 2824 | - | return 0 | |
| 2825 | - | } | |
| 2826 | - | return ret.GoPointer() | |
| 2827 | - | }) | |
| 2828 | - | } | |
| 2829 | - | } | |
| 2830 | - | ||
| 2831 | - | // GetReplaceReadwriteFinish gets the "replace_readwrite_finish" callback function. | |
| 2832 | - | // Finishes an asynchronous replace read/write. Since 2.22. | |
| 2833 | - | func (x *FileIface) GetReplaceReadwriteFinish() func(File, AsyncResult) *FileIOStream { | |
| 2834 | - | if x.xReplaceReadwriteFinish == 0 { | |
| 2835 | - | return nil | |
| 2836 | - | } | |
| 2837 | - | var rawCallback func(FileVarp uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr | |
| 2838 | - | purego.RegisterFunc(&rawCallback, x.xReplaceReadwriteFinish) | |
| 2839 | - | return func(FileVar File, ResVar AsyncResult) *FileIOStream { | |
| 2840 | - | var cerr *glib.Error | |
| 2841 | - | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 2842 | - | if rawRet == 0 { | |
| 2843 | - | return nil | |
| 2844 | - | } | |
| 2845 | - | ret := &FileIOStream{} | |
| 2846 | - | ret.Ptr = rawRet | |
| 2847 | - | return ret | |
| 2848 | - | } | |
| 2849 | - | } | |
| 2850 | - | ||
| 2851 | - | // OverrideStartMountable sets the "start_mountable" callback function. | |
| 2852 | - | // Starts a mountable object. Since 2.22. | |
| 2853 | - | func (x *FileIface) OverrideStartMountable(cb func(File, DriveStartFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2854 | - | if cb == nil { | |
| 2855 | - | x.xStartMountable = 0 | |
| 2856 | - | } else { | |
| 2857 | - | x.xStartMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp DriveStartFlags, StartOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2858 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, MountOperationNewFromInternalPtr(StartOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2859 | - | }) | |
| 2860 | - | } | |
| 2861 | - | } | |
| 2862 | - | ||
| 2863 | - | // GetStartMountable gets the "start_mountable" callback function. | |
| 2864 | - | // Starts a mountable object. Since 2.22. | |
| 2865 | - | func (x *FileIface) GetStartMountable() func(File, DriveStartFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2866 | - | if x.xStartMountable == 0 { | |
| 2867 | - | return nil | |
| 2868 | - | } | |
| 2869 | - | var rawCallback func(FileVarp uintptr, FlagsVarp DriveStartFlags, StartOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2870 | - | purego.RegisterFunc(&rawCallback, x.xStartMountable) | |
| 2871 | - | return func(FileVar File, FlagsVar DriveStartFlags, StartOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2872 | - | rawCallback(FileVar.GoPointer(), FlagsVar, StartOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2873 | - | } | |
| 2874 | - | } | |
| 2875 | - | ||
| 2876 | - | // OverrideStartMountableFinish sets the "start_mountable_finish" callback function. | |
| 2877 | - | // Finishes a start operation. Since 2.22. | |
| 2878 | - | func (x *FileIface) OverrideStartMountableFinish(cb func(File, AsyncResult) bool) { | |
| 2879 | - | if cb == nil { | |
| 2880 | - | x.xStartMountableFinish = 0 | |
| 2881 | - | } else { | |
| 2882 | - | x.xStartMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 2883 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2884 | - | }) | |
| 2885 | - | } | |
| 2886 | - | } | |
| 2887 | - | ||
| 2888 | - | // GetStartMountableFinish gets the "start_mountable_finish" callback function. | |
| 2889 | - | // Finishes a start operation. Since 2.22. | |
| 2890 | - | func (x *FileIface) GetStartMountableFinish() func(File, AsyncResult) bool { | |
| 2891 | - | if x.xStartMountableFinish == 0 { | |
| 2892 | - | return nil | |
| 2893 | - | } | |
| 2894 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 2895 | - | purego.RegisterFunc(&rawCallback, x.xStartMountableFinish) | |
| 2896 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2897 | - | var cerr *glib.Error | |
| 2898 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 2899 | - | } | |
| 2900 | - | } | |
| 2901 | - | ||
| 2902 | - | // OverrideStopMountable sets the "stop_mountable" callback function. | |
| 2903 | - | // Stops a mountable. Since 2.22. | |
| 2904 | - | func (x *FileIface) OverrideStopMountable(cb func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2905 | - | if cb == nil { | |
| 2906 | - | x.xStopMountable = 0 | |
| 2907 | - | } else { | |
| 2908 | - | x.xStopMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2909 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, MountOperationNewFromInternalPtr(MountOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2910 | - | }) | |
| 2911 | - | } | |
| 2912 | - | } | |
| 2913 | - | ||
| 2914 | - | // GetStopMountable gets the "stop_mountable" callback function. | |
| 2915 | - | // Stops a mountable. Since 2.22. | |
| 2916 | - | func (x *FileIface) GetStopMountable() func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2917 | - | if x.xStopMountable == 0 { | |
| 2918 | - | return nil | |
| 2919 | - | } | |
| 2920 | - | var rawCallback func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2921 | - | purego.RegisterFunc(&rawCallback, x.xStopMountable) | |
| 2922 | - | return func(FileVar File, FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2923 | - | rawCallback(FileVar.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2924 | - | } | |
| 2925 | - | } | |
| 2926 | - | ||
| 2927 | - | // OverrideStopMountableFinish sets the "stop_mountable_finish" callback function. | |
| 2928 | - | // Finishes a stop operation. Since 2.22. | |
| 2929 | - | func (x *FileIface) OverrideStopMountableFinish(cb func(File, AsyncResult) bool) { | |
| 2930 | - | if cb == nil { | |
| 2931 | - | x.xStopMountableFinish = 0 | |
| 2932 | - | } else { | |
| 2933 | - | x.xStopMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 2934 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2935 | - | }) | |
| 2936 | - | } | |
| 2937 | - | } | |
| 2938 | - | ||
| 2939 | - | // GetStopMountableFinish gets the "stop_mountable_finish" callback function. | |
| 2940 | - | // Finishes a stop operation. Since 2.22. | |
| 2941 | - | func (x *FileIface) GetStopMountableFinish() func(File, AsyncResult) bool { | |
| 2942 | - | if x.xStopMountableFinish == 0 { | |
| 2943 | - | return nil | |
| 2944 | - | } | |
| 2945 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 2946 | - | purego.RegisterFunc(&rawCallback, x.xStopMountableFinish) | |
| 2947 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2948 | - | var cerr *glib.Error | |
| 2949 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 2950 | - | } | |
| 2951 | - | } | |
| 2952 | - | ||
| 2953 | - | // OverrideUnmountMountableWithOperation sets the "unmount_mountable_with_operation" callback function. | |
| 2954 | - | // Unmounts a mountable object using a #GMountOperation. Since 2.22. | |
| 2955 | - | func (x *FileIface) OverrideUnmountMountableWithOperation(cb func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2956 | - | if cb == nil { | |
| 2957 | - | x.xUnmountMountableWithOperation = 0 | |
| 2958 | - | } else { | |
| 2959 | - | x.xUnmountMountableWithOperation = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2960 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, MountOperationNewFromInternalPtr(MountOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2961 | - | }) | |
| 2962 | - | } | |
| 2963 | - | } | |
| 2964 | - | ||
| 2965 | - | // GetUnmountMountableWithOperation gets the "unmount_mountable_with_operation" callback function. | |
| 2966 | - | // Unmounts a mountable object using a #GMountOperation. Since 2.22. | |
| 2967 | - | func (x *FileIface) GetUnmountMountableWithOperation() func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2968 | - | if x.xUnmountMountableWithOperation == 0 { | |
| 2969 | - | return nil | |
| 2970 | - | } | |
| 2971 | - | var rawCallback func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2972 | - | purego.RegisterFunc(&rawCallback, x.xUnmountMountableWithOperation) | |
| 2973 | - | return func(FileVar File, FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2974 | - | rawCallback(FileVar.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2975 | - | } | |
| 2976 | - | } | |
| 2977 | - | ||
| 2978 | - | // OverrideUnmountMountableWithOperationFinish sets the "unmount_mountable_with_operation_finish" callback function. | |
| 2979 | - | // Finishes an unmount operation using a #GMountOperation. Since 2.22. | |
| 2980 | - | func (x *FileIface) OverrideUnmountMountableWithOperationFinish(cb func(File, AsyncResult) bool) { | |
| 2981 | - | if cb == nil { | |
| 2982 | - | x.xUnmountMountableWithOperationFinish = 0 | |
| 2983 | - | } else { | |
| 2984 | - | x.xUnmountMountableWithOperationFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 2985 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2986 | - | }) | |
| 2987 | - | } | |
| 2988 | - | } | |
| 2989 | - | ||
| 2990 | - | // GetUnmountMountableWithOperationFinish gets the "unmount_mountable_with_operation_finish" callback function. | |
| 2991 | - | // Finishes an unmount operation using a #GMountOperation. Since 2.22. | |
| 2992 | - | func (x *FileIface) GetUnmountMountableWithOperationFinish() func(File, AsyncResult) bool { | |
| 2993 | - | if x.xUnmountMountableWithOperationFinish == 0 { | |
| 2994 | - | return nil | |
| 2995 | - | } | |
| 2996 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 2997 | - | purego.RegisterFunc(&rawCallback, x.xUnmountMountableWithOperationFinish) | |
| 2998 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2999 | - | var cerr *glib.Error | |
| 3000 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3001 | - | } | |
| 3002 | - | } | |
| 3003 | - | ||
| 3004 | - | // OverrideEjectMountableWithOperation sets the "eject_mountable_with_operation" callback function. | |
| 3005 | - | // Ejects a mountable object using a #GMountOperation. Since 2.22. | |
| 3006 | - | func (x *FileIface) OverrideEjectMountableWithOperation(cb func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 3007 | - | if cb == nil { | |
| 3008 | - | x.xEjectMountableWithOperation = 0 | |
| 3009 | - | } else { | |
| 3010 | - | x.xEjectMountableWithOperation = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 3011 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, MountOperationNewFromInternalPtr(MountOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 3012 | - | }) | |
| 3013 | - | } | |
| 3014 | - | } | |
| 3015 | - | ||
| 3016 | - | // GetEjectMountableWithOperation gets the "eject_mountable_with_operation" callback function. | |
| 3017 | - | // Ejects a mountable object using a #GMountOperation. Since 2.22. | |
| 3018 | - | func (x *FileIface) GetEjectMountableWithOperation() func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 3019 | - | if x.xEjectMountableWithOperation == 0 { | |
| 3020 | - | return nil | |
| 3021 | - | } | |
| 3022 | - | var rawCallback func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 3023 | - | purego.RegisterFunc(&rawCallback, x.xEjectMountableWithOperation) | |
| 3024 | - | return func(FileVar File, FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3025 | - | rawCallback(FileVar.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3026 | - | } | |
| 3027 | - | } | |
| 3028 | - | ||
| 3029 | - | // OverrideEjectMountableWithOperationFinish sets the "eject_mountable_with_operation_finish" callback function. | |
| 3030 | - | // Finishes an eject operation using a #GMountOperation. Since 2.22. | |
| 3031 | - | func (x *FileIface) OverrideEjectMountableWithOperationFinish(cb func(File, AsyncResult) bool) { | |
| 3032 | - | if cb == nil { | |
| 3033 | - | x.xEjectMountableWithOperationFinish = 0 | |
| 3034 | - | } else { | |
| 3035 | - | x.xEjectMountableWithOperationFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 3036 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 3037 | - | }) | |
| 3038 | - | } | |
| 3039 | - | } | |
| 3040 | - | ||
| 3041 | - | // GetEjectMountableWithOperationFinish gets the "eject_mountable_with_operation_finish" callback function. | |
| 3042 | - | // Finishes an eject operation using a #GMountOperation. Since 2.22. | |
| 3043 | - | func (x *FileIface) GetEjectMountableWithOperationFinish() func(File, AsyncResult) bool { | |
| 3044 | - | if x.xEjectMountableWithOperationFinish == 0 { | |
| 3045 | - | return nil | |
| 3046 | - | } | |
| 3047 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 3048 | - | purego.RegisterFunc(&rawCallback, x.xEjectMountableWithOperationFinish) | |
| 3049 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 3050 | - | var cerr *glib.Error | |
| 3051 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3052 | - | } | |
| 3053 | - | } | |
| 3054 | - | ||
| 3055 | - | // OverridePollMountable sets the "poll_mountable" callback function. | |
| 3056 | - | // Polls a mountable object for media changes. Since 2.22. | |
| 3057 | - | func (x *FileIface) OverridePollMountable(cb func(File, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 3058 | - | if cb == nil { | |
| 3059 | - | x.xPollMountable = 0 | |
| 3060 | - | } else { | |
| 3061 | - | x.xPollMountable = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 3062 | - | cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 3063 | - | }) | |
| 3064 | - | } | |
| 3065 | - | } | |
| 3066 | - | ||
| 3067 | - | // GetPollMountable gets the "poll_mountable" callback function. | |
| 3068 | - | // Polls a mountable object for media changes. Since 2.22. | |
| 3069 | - | func (x *FileIface) GetPollMountable() func(File, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 3070 | - | if x.xPollMountable == 0 { | |
| 3071 | - | return nil | |
| 3072 | - | } | |
| 3073 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 3074 | - | purego.RegisterFunc(&rawCallback, x.xPollMountable) | |
| 3075 | - | return func(FileVar File, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3076 | - | rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3077 | - | } | |
| 3078 | - | } | |
| 3079 | - | ||
| 3080 | - | // OverridePollMountableFinish sets the "poll_mountable_finish" callback function. | |
| 3081 | - | // Finishes a poll operation for media changes. Since 2.22. | |
| 3082 | - | func (x *FileIface) OverridePollMountableFinish(cb func(File, AsyncResult) bool) { | |
| 3083 | - | if cb == nil { | |
| 3084 | - | x.xPollMountableFinish = 0 | |
| 3085 | - | } else { | |
| 3086 | - | x.xPollMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 3087 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 3088 | - | }) | |
| 3089 | - | } | |
| 3090 | - | } | |
| 3091 | - | ||
| 3092 | - | // GetPollMountableFinish gets the "poll_mountable_finish" callback function. | |
| 3093 | - | // Finishes a poll operation for media changes. Since 2.22. | |
| 3094 | - | func (x *FileIface) GetPollMountableFinish() func(File, AsyncResult) bool { | |
| 3095 | - | if x.xPollMountableFinish == 0 { | |
| 3096 | - | return nil | |
| 3097 | - | } | |
| 3098 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, cerrp **glib.Error) bool | |
| 3099 | - | purego.RegisterFunc(&rawCallback, x.xPollMountableFinish) | |
| 3100 | - | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 3101 | - | var cerr *glib.Error | |
| 3102 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3103 | - | } | |
| 3104 | - | } | |
| 3105 | - | ||
| 3106 | - | // OverrideMeasureDiskUsage sets the "measure_disk_usage" callback function. | |
| 3107 | - | // Recursively measures the disk usage of @file. Since 2.38 | |
| 3108 | - | func (x *FileIface) OverrideMeasureDiskUsage(cb func(File, FileMeasureFlags, *Cancellable, *FileMeasureProgressCallback, uintptr, *uint64, *uint64, *uint64) bool) { | |
| 3109 | - | if cb == nil { | |
| 3110 | - | x.xMeasureDiskUsage = 0 | |
| 3111 | - | } else { | |
| 3112 | - | x.xMeasureDiskUsage = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileMeasureFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64, cerrp **glib.Error) bool { | |
| 3113 | - | return cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileMeasureProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressDataVarp, DiskUsageVarp, NumDirsVarp, NumFilesVarp) | |
| 3114 | - | }) | |
| 3115 | - | } | |
| 3116 | - | } | |
| 3117 | - | ||
| 3118 | - | // GetMeasureDiskUsage gets the "measure_disk_usage" callback function. | |
| 3119 | - | // Recursively measures the disk usage of @file. Since 2.38 | |
| 3120 | - | func (x *FileIface) GetMeasureDiskUsage() func(File, FileMeasureFlags, *Cancellable, *FileMeasureProgressCallback, uintptr, *uint64, *uint64, *uint64) bool { | |
| 3121 | - | if x.xMeasureDiskUsage == 0 { | |
| 3122 | - | return nil | |
| 3123 | - | } | |
| 3124 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileMeasureFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64, cerrp **glib.Error) bool | |
| 3125 | - | purego.RegisterFunc(&rawCallback, x.xMeasureDiskUsage) | |
| 3126 | - | return func(FileVar File, FlagsVar FileMeasureFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) bool { | |
| 3127 | - | var cerr *glib.Error | |
| 3128 | - | return rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, DiskUsageVar, NumDirsVar, NumFilesVar, &cerr) | |
| 3129 | - | } | |
| 3130 | - | } | |
| 3131 | - | ||
| 3132 | - | // OverrideMeasureDiskUsageAsync sets the "measure_disk_usage_async" callback function. | |
| 3133 | - | // Asynchronously recursively measures the disk usage of @file. Since 2.38 | |
| 3134 | - | func (x *FileIface) OverrideMeasureDiskUsageAsync(cb func(File, FileMeasureFlags, int, *Cancellable, *FileMeasureProgressCallback, uintptr, *AsyncReadyCallback, uintptr)) { | |
| 3135 | - | if cb == nil { | |
| 3136 | - | x.xMeasureDiskUsageAsync = 0 | |
| 3137 | - | } else { | |
| 3138 | - | x.xMeasureDiskUsageAsync = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileMeasureFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 3139 | - | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileMeasureProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressDataVarp, (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 3140 | - | }) | |
| 3141 | - | } | |
| 3142 | - | } | |
| 3143 | - | ||
| 3144 | - | // GetMeasureDiskUsageAsync gets the "measure_disk_usage_async" callback function. | |
| 3145 | - | // Asynchronously recursively measures the disk usage of @file. Since 2.38 | |
| 3146 | - | func (x *FileIface) GetMeasureDiskUsageAsync() func(File, FileMeasureFlags, int, *Cancellable, *FileMeasureProgressCallback, uintptr, *AsyncReadyCallback, uintptr) { | |
| 3147 | - | if x.xMeasureDiskUsageAsync == 0 { | |
| 3148 | - | return nil | |
| 3149 | - | } | |
| 3150 | - | var rawCallback func(FileVarp uintptr, FlagsVarp FileMeasureFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 3151 | - | purego.RegisterFunc(&rawCallback, x.xMeasureDiskUsageAsync) | |
| 3152 | - | return func(FileVar File, FlagsVar FileMeasureFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3153 | - | rawCallback(FileVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3154 | - | } | |
| 3155 | - | } | |
| 3156 | - | ||
| 3157 | - | // OverrideMeasureDiskUsageFinish sets the "measure_disk_usage_finish" callback function. | |
| 3158 | - | // Finishes an asynchronous recursive measurement of the disk usage of @file. Since 2.38 | |
| 3159 | - | func (x *FileIface) OverrideMeasureDiskUsageFinish(cb func(File, AsyncResult, *uint64, *uint64, *uint64) bool) { | |
| 3160 | - | if cb == nil { | |
| 3161 | - | x.xMeasureDiskUsageFinish = 0 | |
| 3162 | - | } else { | |
| 3163 | - | x.xMeasureDiskUsageFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64, cerrp **glib.Error) bool { | |
| 3164 | - | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}, DiskUsageVarp, NumDirsVarp, NumFilesVarp) | |
| 3165 | - | }) | |
| 3166 | - | } | |
| 3167 | - | } | |
| 3168 | - | ||
| 3169 | - | // GetMeasureDiskUsageFinish gets the "measure_disk_usage_finish" callback function. | |
| 3170 | - | // Finishes an asynchronous recursive measurement of the disk usage of @file. Since 2.38 | |
| 3171 | - | func (x *FileIface) GetMeasureDiskUsageFinish() func(File, AsyncResult, *uint64, *uint64, *uint64) bool { | |
| 3172 | - | if x.xMeasureDiskUsageFinish == 0 { | |
| 3173 | - | return nil | |
| 3174 | - | } | |
| 3175 | - | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64, cerrp **glib.Error) bool | |
| 3176 | - | purego.RegisterFunc(&rawCallback, x.xMeasureDiskUsageFinish) | |
| 3177 | - | return func(FileVar File, ResultVar AsyncResult, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) bool { | |
| 3178 | - | var cerr *glib.Error | |
| 3179 | - | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), DiskUsageVar, NumDirsVar, NumFilesVar, &cerr) | |
| 3180 | - | } | |
| 3181 | - | } | |
| 3182 | - | ||
| 3183 | - | // OverrideQueryExists sets the "query_exists" callback function. | |
| 3184 | - | // Queries whether a file exists. Since 2.84 | |
| 3185 | - | func (x *FileIface) OverrideQueryExists(cb func(File, *Cancellable) bool) { | |
| 3186 | - | if cb == nil { | |
| 3187 | - | x.xQueryExists = 0 | |
| 3188 | - | } else { | |
| 3189 | - | x.xQueryExists = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) bool { | |
| 3190 | - | return cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 3191 | - | }) | |
| 3192 | - | } | |
| 3193 | - | } | |
| 3194 | - | ||
| 3195 | - | // GetQueryExists gets the "query_exists" callback function. | |
| 3196 | - | // Queries whether a file exists. Since 2.84 | |
| 3197 | - | func (x *FileIface) GetQueryExists() func(File, *Cancellable) bool { | |
| 3198 | - | if x.xQueryExists == 0 { | |
| 3199 | - | return nil | |
| 3200 | - | } | |
| 3201 | - | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) bool | |
| 3202 | - | purego.RegisterFunc(&rawCallback, x.xQueryExists) | |
| 3203 | - | return func(FileVar File, CancellableVar *Cancellable) bool { | |
| 3204 | - | return rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 3205 | - | } | |
| 3206 | - | } | |
| 3207 | - | ||
| 3208 | - | // `GFile` is a high level abstraction for manipulating files on a | |
| 3209 | - | // virtual file system. `GFile`s are lightweight, immutable objects | |
| 3210 | - | // that do no I/O upon creation. It is necessary to understand that | |
| 3211 | - | // `GFile` objects do not represent files, merely an identifier for a | |
| 3212 | - | // file. All file content I/O is implemented as streaming operations | |
| 3213 | - | // (see [class@Gio.InputStream] and [class@Gio.OutputStream]). | |
| 3214 | - | // | |
| 3215 | - | // To construct a `GFile`, you can use: | |
| 3216 | - | // | |
| 3217 | - | // - [func@Gio.File.new_for_path] if you have a path. | |
| 3218 | - | // - [func@Gio.File.new_for_uri] if you have a URI. | |
| 3219 | - | // - [func@Gio.File.new_for_commandline_arg] or | |
| 3220 | - | // [func@Gio.File.new_for_commandline_arg_and_cwd] for a command line | |
| 3221 | - | // argument. | |
| 3222 | - | // - [func@Gio.File.new_tmp] to create a temporary file from a template. | |
| 3223 | - | // - [func@Gio.File.new_tmp_async] to asynchronously create a temporary file. | |
| 3224 | - | // - [func@Gio.File.new_tmp_dir_async] to asynchronously create a temporary | |
| 3225 | - | // directory. | |
| 3226 | - | // - [func@Gio.File.parse_name] from a UTF-8 string gotten from | |
| 3227 | - | // [method@Gio.File.get_parse_name]. | |
| 3228 | - | // - [func@Gio.File.new_build_filename] or [func@Gio.File.new_build_filenamev] | |
| 3229 | - | // to create a file from path elements. | |
| 3230 | - | // | |
| 3231 | - | // One way to think of a `GFile` is as an abstraction of a pathname. For | |
| 3232 | - | // normal files the system pathname is what is stored internally, but as | |
| 3233 | - | // `GFile`s are extensible it could also be something else that corresponds | |
| 3234 | - | // to a pathname in a userspace implementation of a filesystem. | |
| 3235 | - | // | |
| 3236 | - | // `GFile`s make up hierarchies of directories and files that correspond to | |
| 3237 | - | // the files on a filesystem. You can move through the file system with | |
| 3238 | - | // `GFile` using [method@Gio.File.get_parent] to get an identifier for the | |
| 3239 | - | // parent directory, [method@Gio.File.get_child] to get a child within a | |
| 3240 | - | // directory, and [method@Gio.File.resolve_relative_path] to resolve a relative | |
| 3241 | - | // path between two `GFile`s. There can be multiple hierarchies, so you may not | |
| 3242 | - | // end up at the same root if you repeatedly call [method@Gio.File.get_parent] | |
| 3243 | - | // on two different files. | |
| 3244 | - | // | |
| 3245 | - | // All `GFile`s have a basename (get with [method@Gio.File.get_basename]). These | |
| 3246 | - | // names are byte strings that are used to identify the file on the filesystem | |
| 3247 | - | // (relative to its parent directory) and there is no guarantees that they | |
| 3248 | - | // have any particular charset encoding or even make any sense at all. If | |
| 3249 | - | // you want to use filenames in a user interface you should use the display | |
| 3250 | - | // name that you can get by requesting the | |
| 3251 | - | // `G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME` attribute with | |
| 3252 | - | // [method@Gio.File.query_info]. This is guaranteed to be in UTF-8 and can be | |
| 3253 | - | // used in a user interface. But always store the real basename or the `GFile` | |
| 3254 | - | // to use to actually access the file, because there is no way to go from a | |
| 3255 | - | // display name to the actual name. | |
| 3256 | - | // | |
| 3257 | - | // Using `GFile` as an identifier has the same weaknesses as using a path | |
| 3258 | - | // in that there may be multiple aliases for the same file. For instance, | |
| 3259 | - | // hard or soft links may cause two different `GFile`s to refer to the same | |
| 3260 | - | // file. Other possible causes for aliases are: case insensitive filesystems, | |
| 3261 | - | // short and long names on FAT/NTFS, or bind mounts in Linux. If you want to | |
| 3262 | - | // check if two `GFile`s point to the same file you can query for the | |
| 3263 | - | // `G_FILE_ATTRIBUTE_ID_FILE` attribute. Note that `GFile` does some trivial | |
| 3264 | - | // canonicalization of pathnames passed in, so that trivial differences in | |
| 3265 | - | // the path string used at creation (duplicated slashes, slash at end of | |
| 3266 | - | // path, `.` or `..` path segments, etc) does not create different `GFile`s. | |
| 3267 | - | // | |
| 3268 | - | // Many `GFile` operations have both synchronous and asynchronous versions | |
| 3269 | - | // to suit your application. Asynchronous versions of synchronous functions | |
| 3270 | - | // simply have `_async()` appended to their function names. The asynchronous | |
| 3271 | - | // I/O functions call a [callback@Gio.AsyncReadyCallback] which is then used to | |
| 3272 | - | // finalize the operation, producing a [iface@Gio.AsyncResult] which is then | |
| 3273 | - | // passed to the function’s matching `_finish()` operation. | |
| 3274 | - | // | |
| 3275 | - | // It is highly recommended to use asynchronous calls when running within a | |
| 3276 | - | // shared main loop, such as in the main thread of an application. This avoids | |
| 3277 | - | // I/O operations blocking other sources on the main loop from being dispatched. | |
| 3278 | - | // Synchronous I/O operations should be performed from worker threads. See the | |
| 3279 | - | // [introduction to asynchronous programming section](overview.html#asynchronous-programming) | |
| 3280 | - | // for more. | |
| 3281 | - | // | |
| 3282 | - | // Some `GFile` operations almost always take a noticeable amount of time, and | |
| 3283 | - | // so do not have synchronous analogs. Notable cases include: | |
| 3284 | - | // | |
| 3285 | - | // - [method@Gio.File.mount_mountable] to mount a mountable file. | |
| 3286 | - | // - [method@Gio.File.unmount_mountable_with_operation] to unmount a mountable | |
| 3287 | - | // file. | |
| 3288 | - | // - [method@Gio.File.eject_mountable_with_operation] to eject a mountable file. | |
| 3289 | - | // | |
| 3290 | - | // ## Entity Tags | |
| 3291 | - | // | |
| 3292 | - | // One notable feature of `GFile`s are entity tags, or ‘etags’ for | |
| 3293 | - | // short. Entity tags are somewhat like a more abstract version of the | |
| 3294 | - | // traditional mtime, and can be used to quickly determine if the file | |
| 3295 | - | // has been modified from the version on the file system. See the | |
| 3296 | - | // description of HTTP ETags in | |
| 3297 | - | // [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-etag). | |
| 3298 | - | // `GFile` Entity Tags are a very similar concept. | |
| 3299 | - | type File interface { | |
| 3300 | - | GoPointer() uintptr | |
| 3301 | - | SetGoPointer(uintptr) | |
| 3302 | - | AppendTo(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) | |
| 3303 | - | AppendToAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3304 | - | AppendToFinish(ResVar AsyncResult) (*FileOutputStream, error) | |
| 3305 | - | BuildAttributeListForCopy(FlagsVar FileCopyFlags, CancellableVar *Cancellable) (string, error) | |
| 3306 | - | Copy(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) (bool, error) | |
| 3307 | - | CopyAsync(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3308 | - | CopyAsyncWithClosures(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackClosureVar *gobject.Closure, ReadyCallbackClosureVar *gobject.Closure) | |
| 3309 | - | CopyAttributes(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable) (bool, error) | |
| 3310 | - | CopyFinish(ResVar AsyncResult) (bool, error) | |
| 3311 | - | Create(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) | |
| 3312 | - | CreateAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3313 | - | CreateFinish(ResVar AsyncResult) (*FileOutputStream, error) | |
| 3314 | - | CreateReadwrite(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) | |
| 3315 | - | CreateReadwriteAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3316 | - | CreateReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) | |
| 3317 | - | Delete(CancellableVar *Cancellable) (bool, error) | |
| 3318 | - | DeleteAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3319 | - | DeleteFinish(ResultVar AsyncResult) (bool, error) | |
| 3320 | - | Dup() *FileBase | |
| 3321 | - | EjectMountable(FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3322 | - | EjectMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3323 | - | EjectMountableWithOperation(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3324 | - | EjectMountableWithOperationFinish(ResultVar AsyncResult) (bool, error) | |
| 3325 | - | EnumerateChildren(AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (*FileEnumerator, error) | |
| 3326 | - | EnumerateChildrenAsync(AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3327 | - | EnumerateChildrenFinish(ResVar AsyncResult) (*FileEnumerator, error) | |
| 3328 | - | Equal(File2Var File) bool | |
| 3329 | - | FindEnclosingMount(CancellableVar *Cancellable) (*MountBase, error) | |
| 3330 | - | FindEnclosingMountAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3331 | - | FindEnclosingMountFinish(ResVar AsyncResult) (*MountBase, error) | |
| 3332 | - | GetBasename() string | |
| 3333 | - | GetChild(NameVar string) *FileBase | |
| 3334 | - | GetChildForDisplayName(DisplayNameVar string) (*FileBase, error) | |
| 3335 | - | GetParent() *FileBase | |
| 3336 | - | GetParseName() string | |
| 3337 | - | GetPath() string | |
| 3338 | - | GetRelativePath(DescendantVar File) string | |
| 3339 | - | GetUri() string | |
| 3340 | - | GetUriScheme() string | |
| 3341 | - | HasParent(ParentVar File) bool | |
| 3342 | - | HasPrefix(PrefixVar File) bool | |
| 3343 | - | HasUriScheme(UriSchemeVar string) bool | |
| 3344 | - | Hash() uint | |
| 3345 | - | IsNative() bool | |
| 3346 | - | LoadBytes(CancellableVar *Cancellable, EtagOutVar *string) (*glib.Bytes, error) | |
| 3347 | - | LoadBytesAsync(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3348 | - | LoadBytesFinish(ResultVar AsyncResult, EtagOutVar *string) (*glib.Bytes, error) | |
| 3349 | - | LoadContents(CancellableVar *Cancellable, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) | |
| 3350 | - | LoadContentsAsync(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3351 | - | LoadContentsFinish(ResVar AsyncResult, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) | |
| 3352 | - | LoadPartialContentsAsync(CancellableVar *Cancellable, ReadMoreCallbackVar *FileReadMoreCallback, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3353 | - | LoadPartialContentsFinish(ResVar AsyncResult, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) | |
| 3354 | - | MakeDirectory(CancellableVar *Cancellable) (bool, error) | |
| 3355 | - | MakeDirectoryAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3356 | - | MakeDirectoryFinish(ResultVar AsyncResult) (bool, error) | |
| 3357 | - | MakeDirectoryWithParents(CancellableVar *Cancellable) (bool, error) | |
| 3358 | - | MakeSymbolicLink(SymlinkValueVar string, CancellableVar *Cancellable) (bool, error) | |
| 3359 | - | MakeSymbolicLinkAsync(SymlinkValueVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3360 | - | MakeSymbolicLinkFinish(ResultVar AsyncResult) (bool, error) | |
| 3361 | - | MeasureDiskUsage(FlagsVar FileMeasureFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) (bool, error) | |
| 3362 | - | MeasureDiskUsageAsync(FlagsVar FileMeasureFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3363 | - | MeasureDiskUsageFinish(ResultVar AsyncResult, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) (bool, error) | |
| 3364 | - | Monitor(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) | |
| 3365 | - | MonitorDirectory(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) | |
| 3366 | - | MonitorFile(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) | |
| 3367 | - | MountEnclosingVolume(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3368 | - | MountEnclosingVolumeFinish(ResultVar AsyncResult) (bool, error) | |
| 3369 | - | MountMountable(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3370 | - | MountMountableFinish(ResultVar AsyncResult) (*FileBase, error) | |
| 3371 | - | Move(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) (bool, error) | |
| 3372 | - | MoveAsync(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3373 | - | MoveAsyncWithClosures(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackClosureVar *gobject.Closure, ReadyCallbackClosureVar *gobject.Closure) | |
| 3374 | - | MoveFinish(ResultVar AsyncResult) (bool, error) | |
| 3375 | - | OpenReadwrite(CancellableVar *Cancellable) (*FileIOStream, error) | |
| 3376 | - | OpenReadwriteAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3377 | - | OpenReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) | |
| 3378 | - | PeekPath() string | |
| 3379 | - | PollMountable(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3380 | - | PollMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3381 | - | QueryDefaultHandler(CancellableVar *Cancellable) (*AppInfoBase, error) | |
| 3382 | - | QueryDefaultHandlerAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3383 | - | QueryDefaultHandlerFinish(ResultVar AsyncResult) (*AppInfoBase, error) | |
| 3384 | - | QueryExists(CancellableVar *Cancellable) bool | |
| 3385 | - | QueryFileType(FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) FileType | |
| 3386 | - | QueryFilesystemInfo(AttributesVar string, CancellableVar *Cancellable) (*FileInfo, error) | |
| 3387 | - | QueryFilesystemInfoAsync(AttributesVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3388 | - | QueryFilesystemInfoFinish(ResVar AsyncResult) (*FileInfo, error) | |
| 3389 | - | QueryInfo(AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (*FileInfo, error) | |
| 3390 | - | QueryInfoAsync(AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3391 | - | QueryInfoFinish(ResVar AsyncResult) (*FileInfo, error) | |
| 3392 | - | QuerySettableAttributes(CancellableVar *Cancellable) (*FileAttributeInfoList, error) | |
| 3393 | - | QueryWritableNamespaces(CancellableVar *Cancellable) (*FileAttributeInfoList, error) | |
| 3394 | - | Read(CancellableVar *Cancellable) (*FileInputStream, error) | |
| 3395 | - | ReadAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3396 | - | ReadFinish(ResVar AsyncResult) (*FileInputStream, error) | |
| 3397 | - | Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) | |
| 3398 | - | ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3399 | - | ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) | |
| 3400 | - | ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3401 | - | ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3402 | - | ReplaceContentsFinish(ResVar AsyncResult, NewEtagVar *string) (bool, error) | |
| 3403 | - | ReplaceFinish(ResVar AsyncResult) (*FileOutputStream, error) | |
| 3404 | - | ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) | |
| 3405 | - | ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3406 | - | ReplaceReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) | |
| 3407 | - | ResolveRelativePath(RelativePathVar string) *FileBase | |
| 3408 | - | SetAttribute(AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3409 | - | SetAttributeByteString(AttributeVar string, ValueVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3410 | - | SetAttributeInt32(AttributeVar string, ValueVar int32, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3411 | - | SetAttributeInt64(AttributeVar string, ValueVar int64, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3412 | - | SetAttributeString(AttributeVar string, ValueVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3413 | - | SetAttributeUint32(AttributeVar string, ValueVar uint32, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3414 | - | SetAttributeUint64(AttributeVar string, ValueVar uint64, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3415 | - | SetAttributesAsync(InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3416 | - | SetAttributesFinish(ResultVar AsyncResult, InfoVar **FileInfo) (bool, error) | |
| 3417 | - | SetAttributesFromInfo(InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3418 | - | SetDisplayName(DisplayNameVar string, CancellableVar *Cancellable) (*FileBase, error) | |
| 3419 | - | SetDisplayNameAsync(DisplayNameVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3420 | - | SetDisplayNameFinish(ResVar AsyncResult) (*FileBase, error) | |
| 3421 | - | StartMountable(FlagsVar DriveStartFlags, StartOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3422 | - | StartMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3423 | - | StopMountable(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3424 | - | StopMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3425 | - | SupportsThreadContexts() bool | |
| 3426 | - | Trash(CancellableVar *Cancellable) (bool, error) | |
| 3427 | - | TrashAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3428 | - | TrashFinish(ResultVar AsyncResult) (bool, error) | |
| 3429 | - | UnmountMountable(FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3430 | - | UnmountMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3431 | - | UnmountMountableWithOperation(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3432 | - | UnmountMountableWithOperationFinish(ResultVar AsyncResult) (bool, error) | |
| 3433 | - | } | |
| 3434 | - | ||
| 3435 | - | var xFileGLibType func() types.GType | |
| 3436 | - | ||
| 3437 | - | func FileGLibType() types.GType { | |
| 3438 | - | core.LazyRegister(&xFileGLibType, "GIO", "g_file_get_type", false) | |
| 3439 | - | return xFileGLibType() | |
| 3440 | - | } | |
| 3441 | - | ||
| 3442 | - | type FileBase struct { | |
| 3443 | - | Ptr uintptr | |
| 3444 | - | } | |
| 3445 | - | ||
| 3446 | - | func (x *FileBase) GoPointer() uintptr { | |
| 3447 | - | if x == nil { | |
| 3448 | - | return 0 | |
| 3449 | - | } | |
| 3450 | - | return x.Ptr | |
| 3451 | - | } | |
| 3452 | - | ||
| 3453 | - | func (x *FileBase) SetGoPointer(ptr uintptr) { | |
| 3454 | - | x.Ptr = ptr | |
| 3455 | - | } | |
| 3456 | - | ||
| 3457 | - | // Gets an output stream for appending data to the file. | |
| 3458 | - | // If the file doesn't already exist it is created. | |
| 3459 | - | // | |
| 3460 | - | // By default files created are generally readable by everyone, | |
| 3461 | - | // but if you pass %G_FILE_CREATE_PRIVATE in @flags the file | |
| 3462 | - | // will be made readable only to the current user, to the level that | |
| 3463 | - | // is supported on the target filesystem. | |
| 3464 | - | // | |
| 3465 | - | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 3466 | - | // by triggering the cancellable object from another thread. If the | |
| 3467 | - | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 3468 | - | // returned. | |
| 3469 | - | // | |
| 3470 | - | // Some file systems don't allow all file names, and may return an | |
| 3471 | - | // %G_IO_ERROR_INVALID_FILENAME error. If the file is a directory the | |
| 3472 | - | // %G_IO_ERROR_IS_DIRECTORY error will be returned. Other errors are | |
| 3473 | - | // possible too, and depend on what kind of filesystem the file is on. | |
| 3474 | - | func (x *FileBase) AppendTo(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) { | |
| 3475 | - | var cls *FileOutputStream | |
| 3476 | - | var cerr *glib.Error | |
| 3477 | - | ||
| 3478 | - | cret := XGFileAppendTo(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3479 | - | ||
| 3480 | - | if cret == 0 { | |
| 3481 | - | return nil, cerr | |
| 3482 | - | } | |
| 3483 | - | cls = &FileOutputStream{} | |
| 3484 | - | cls.Ptr = cret | |
| 3485 | - | if cerr == nil { | |
| 3486 | - | return cls, nil | |
| 3487 | - | } | |
| 3488 | - | return cls, cerr | |
| 3489 | - | } | |
| 3490 | - | ||
| 3491 | - | // Asynchronously opens @file for appending. | |
| 3492 | - | // | |
| 3493 | - | // For more details, see g_file_append_to() which is | |
| 3494 | - | // the synchronous version of this call. | |
| 3495 | - | // | |
| 3496 | - | // When the operation is finished, @callback will be called. | |
| 3497 | - | // You can then call g_file_append_to_finish() to get the result | |
| 3498 | - | // of the operation. | |
| 3499 | - | func (x *FileBase) AppendToAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3500 | - | XGFileAppendToAsync(x.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3501 | - | } | |
| 3502 | - | ||
| 3503 | - | // Finishes an asynchronous file append operation started with | |
| 3504 | - | // g_file_append_to_async(). | |
| 3505 | - | func (x *FileBase) AppendToFinish(ResVar AsyncResult) (*FileOutputStream, error) { | |
| 3506 | - | var cls *FileOutputStream | |
| 3507 | - | var cerr *glib.Error | |
| 3508 | - | ||
| 3509 | - | cret := XGFileAppendToFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3510 | - | ||
| 3511 | - | if cret == 0 { | |
| 3512 | - | return nil, cerr | |
| 3513 | - | } | |
| 3514 | - | cls = &FileOutputStream{} | |
| 3515 | - | cls.Ptr = cret | |
| 3516 | - | if cerr == nil { | |
| 3517 | - | return cls, nil | |
| 3518 | - | } | |
| 3519 | - | return cls, cerr | |
| 3520 | - | } | |
| 3521 | - | ||
| 3522 | - | // Prepares the file attribute query string for copying to @file. | |
| 3523 | - | // | |
| 3524 | - | // This function prepares an attribute query string to be | |
| 3525 | - | // passed to g_file_query_info() to get a list of attributes | |
| 3526 | - | // normally copied with the file (see g_file_copy_attributes() | |
| 3527 | - | // for the detailed description). This function is used by the | |
| 3528 | - | // implementation of g_file_copy_attributes() and is useful | |
| 3529 | - | // when one needs to query and set the attributes in two | |
| 3530 | - | // stages (e.g., for recursive move of a directory). | |
| 3531 | - | func (x *FileBase) BuildAttributeListForCopy(FlagsVar FileCopyFlags, CancellableVar *Cancellable) (string, error) { | |
| 3532 | - | var cerr *glib.Error | |
| 3533 | - | ||
| 3534 | - | cret := XGFileBuildAttributeListForCopy(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3535 | - | if cerr == nil { | |
| 3536 | - | return cret, nil | |
| 3537 | - | } | |
| 3538 | - | return cret, cerr | |
| 3539 | - | } | |
| 3540 | - | ||
| 3541 | - | // Copies the file @source to the location specified by @destination. | |
| 3542 | - | // Can not handle recursive copies of directories. | |
| 3543 | - | // | |
| 3544 | - | // If the flag %G_FILE_COPY_OVERWRITE is specified an already | |
| 3545 | - | // existing @destination file is overwritten. | |
| 3546 | - | // | |
| 3547 | - | // If the flag %G_FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks | |
| 3548 | - | // will be copied as symlinks, otherwise the target of the | |
| 3549 | - | // @source symlink will be copied. | |
| 3550 | - | // | |
| 3551 | - | // If the flag %G_FILE_COPY_ALL_METADATA is specified then all the metadata | |
| 3552 | - | // that is possible to copy is copied, not just the default subset (which, | |
| 3553 | - | // for instance, does not include the owner, see #GFileInfo). | |
| 3554 | - | // | |
| 3555 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 3556 | - | // triggering the cancellable object from another thread. If the operation | |
| 3557 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 3558 | - | // | |
| 3559 | - | // If @progress_callback is not %NULL, then the operation can be monitored | |
| 3560 | - | // by setting this to a #GFileProgressCallback function. | |
| 3561 | - | // @progress_callback_data will be passed to this function. It is guaranteed | |
| 3562 | - | // that this callback will be called after all data has been transferred with | |
| 3563 | - | // the total number of bytes copied during the operation. | |
| 3564 | - | // | |
| 3565 | - | // If the @source file does not exist, then the %G_IO_ERROR_NOT_FOUND error | |
| 3566 | - | // is returned, independent on the status of the @destination. | |
| 3567 | - | // | |
| 3568 | - | // If %G_FILE_COPY_OVERWRITE is not specified and the target exists, then | |
| 3569 | - | // the error %G_IO_ERROR_EXISTS is returned. | |
| 3570 | - | // | |
| 3571 | - | // If trying to overwrite a file over a directory, the %G_IO_ERROR_IS_DIRECTORY | |
| 3572 | - | // error is returned. If trying to overwrite a directory with a directory the | |
| 3573 | - | // %G_IO_ERROR_WOULD_MERGE error is returned. | |
| 3574 | - | // | |
| 3575 | - | // If the source is a directory and the target does not exist, or | |
| 3576 | - | // %G_FILE_COPY_OVERWRITE is specified and the target is a file, then the | |
| 3577 | - | // %G_IO_ERROR_WOULD_RECURSE error is returned. | |
| 3578 | - | // | |
| 3579 | - | // If you are interested in copying the #GFile object itself (not the on-disk | |
| 3580 | - | // file), see g_file_dup(). | |
| 3581 | - | func (x *FileBase) Copy(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) (bool, error) { | |
| 3582 | - | var cerr *glib.Error | |
| 3583 | - | ||
| 3584 | - | cret := XGFileCopy(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr) | |
| 3585 | - | if cerr == nil { | |
| 3586 | - | return cret, nil | |
| 3587 | - | } | |
| 3588 | - | return cret, cerr | |
| 3589 | - | } | |
| 3590 | - | ||
| 3591 | - | // Copies the file @source to the location specified by @destination | |
| 3592 | - | // asynchronously. For details of the behaviour, see g_file_copy(). | |
| 3593 | - | // | |
| 3594 | - | // If @progress_callback is not %NULL, then that function that will be called | |
| 3595 | - | // just like in g_file_copy(). The callback will run in the default main context | |
| 3596 | - | // of the thread calling g_file_copy_async() — the same context as @callback is | |
| 3597 | - | // run in. | |
| 3598 | - | // | |
| 3599 | - | // When the operation is finished, @callback will be called. You can then call | |
| 3600 | - | // g_file_copy_finish() to get the result of the operation. | |
| 3601 | - | func (x *FileBase) CopyAsync(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3602 | - | XGFileCopyAsync(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3603 | - | } | |
| 3604 | - | ||
| 3605 | - | // Version of [method@Gio.File.copy_async] using closures instead of callbacks for | |
| 3606 | - | // easier binding in other languages. | |
| 3607 | - | func (x *FileBase) CopyAsyncWithClosures(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackClosureVar *gobject.Closure, ReadyCallbackClosureVar *gobject.Closure) { | |
| 3608 | - | XGFileCopyAsyncWithClosures(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), ProgressCallbackClosureVar, ReadyCallbackClosureVar) | |
| 3609 | - | } | |
| 3610 | - | ||
| 3611 | - | // Copies the file attributes from @source to @destination. | |
| 3612 | - | // | |
| 3613 | - | // Normally only a subset of the file attributes are copied, | |
| 3614 | - | // those that are copies in a normal file copy operation | |
| 3615 | - | // (which for instance does not include e.g. owner). However | |
| 3616 | - | // if %G_FILE_COPY_ALL_METADATA is specified in @flags, then | |
| 3617 | - | // all the metadata that is possible to copy is copied. This | |
| 3618 | - | // is useful when implementing move by copy + delete source. | |
| 3619 | - | func (x *FileBase) CopyAttributes(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable) (bool, error) { | |
| 3620 | - | var cerr *glib.Error | |
| 3621 | - | ||
| 3622 | - | cret := XGFileCopyAttributes(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3623 | - | if cerr == nil { | |
| 3624 | - | return cret, nil | |
| 3625 | - | } | |
| 3626 | - | return cret, cerr | |
| 3627 | - | } | |
| 3628 | - | ||
| 3629 | - | // Finishes copying the file started with g_file_copy_async(). | |
| 3630 | - | func (x *FileBase) CopyFinish(ResVar AsyncResult) (bool, error) { | |
| 3631 | - | var cerr *glib.Error | |
| 3632 | - | ||
| 3633 | - | cret := XGFileCopyFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3634 | - | if cerr == nil { | |
| 3635 | - | return cret, nil | |
| 3636 | - | } | |
| 3637 | - | return cret, cerr | |
| 3638 | - | } | |
| 3639 | - | ||
| 3640 | - | // Creates a new file and returns an output stream for writing to it. | |
| 3641 | - | // The file must not already exist. | |
| 3642 | - | // | |
| 3643 | - | // By default files created are generally readable by everyone, | |
| 3644 | - | // but if you pass %G_FILE_CREATE_PRIVATE in @flags the file | |
| 3645 | - | // will be made readable only to the current user, to the level | |
| 3646 | - | // that is supported on the target filesystem. | |
| 3647 | - | // | |
| 3648 | - | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 3649 | - | // by triggering the cancellable object from another thread. If the | |
| 3650 | - | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 3651 | - | // returned. | |
| 3652 | - | // | |
| 3653 | - | // If a file or directory with this name already exists the | |
| 3654 | - | // %G_IO_ERROR_EXISTS error will be returned. Some file systems don't | |
| 3655 | - | // allow all file names, and may return an %G_IO_ERROR_INVALID_FILENAME | |
| 3656 | - | // error, and if the name is to long %G_IO_ERROR_FILENAME_TOO_LONG will | |
| 3657 | - | // be returned. Other errors are possible too, and depend on what kind | |
| 3658 | - | // of filesystem the file is on. | |
| 3659 | - | func (x *FileBase) Create(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) { | |
| 3660 | - | var cls *FileOutputStream | |
| 3661 | - | var cerr *glib.Error | |
| 3662 | - | ||
| 3663 | - | cret := XGFileCreate(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3664 | - | ||
| 3665 | - | if cret == 0 { | |
| 3666 | - | return nil, cerr | |
| 3667 | - | } | |
| 3668 | - | cls = &FileOutputStream{} | |
| 3669 | - | cls.Ptr = cret | |
| 3670 | - | if cerr == nil { | |
| 3671 | - | return cls, nil | |
| 3672 | - | } | |
| 3673 | - | return cls, cerr | |
| 3674 | - | } | |
| 3675 | - | ||
| 3676 | - | // Asynchronously creates a new file and returns an output stream | |
| 3677 | - | // for writing to it. The file must not already exist. | |
| 3678 | - | // | |
| 3679 | - | // For more details, see g_file_create() which is | |
| 3680 | - | // the synchronous version of this call. | |
| 3681 | - | // | |
| 3682 | - | // When the operation is finished, @callback will be called. | |
| 3683 | - | // You can then call g_file_create_finish() to get the result | |
| 3684 | - | // of the operation. | |
| 3685 | - | func (x *FileBase) CreateAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3686 | - | XGFileCreateAsync(x.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3687 | - | } | |
| 3688 | - | ||
| 3689 | - | // Finishes an asynchronous file create operation started with | |
| 3690 | - | // g_file_create_async(). | |
| 3691 | - | func (x *FileBase) CreateFinish(ResVar AsyncResult) (*FileOutputStream, error) { | |
| 3692 | - | var cls *FileOutputStream | |
| 3693 | - | var cerr *glib.Error | |
| 3694 | - | ||
| 3695 | - | cret := XGFileCreateFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3696 | - | ||
| 3697 | - | if cret == 0 { | |
| 3698 | - | return nil, cerr | |
| 3699 | - | } | |
| 3700 | - | cls = &FileOutputStream{} | |
| 3701 | - | cls.Ptr = cret | |
| 3702 | - | if cerr == nil { | |
| 3703 | - | return cls, nil | |
| 3704 | - | } | |
| 3705 | - | return cls, cerr | |
| 3706 | - | } | |
| 3707 | - | ||
| 3708 | - | // Creates a new file and returns a stream for reading and | |
| 3709 | - | // writing to it. The file must not already exist. | |
| 3710 | - | // | |
| 3711 | - | // By default files created are generally readable by everyone, | |
| 3712 | - | // but if you pass %G_FILE_CREATE_PRIVATE in @flags the file | |
| 3713 | - | // will be made readable only to the current user, to the level | |
| 3714 | - | // that is supported on the target filesystem. | |
| 3715 | - | // | |
| 3716 | - | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 3717 | - | // by triggering the cancellable object from another thread. If the | |
| 3718 | - | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 3719 | - | // returned. | |
| 3720 | - | // | |
| 3721 | - | // If a file or directory with this name already exists, the | |
| 3722 | - | // %G_IO_ERROR_EXISTS error will be returned. Some file systems don't | |
| 3723 | - | // allow all file names, and may return an %G_IO_ERROR_INVALID_FILENAME | |
| 3724 | - | // error, and if the name is too long, %G_IO_ERROR_FILENAME_TOO_LONG | |
| 3725 | - | // will be returned. Other errors are possible too, and depend on what | |
| 3726 | - | // kind of filesystem the file is on. | |
| 3727 | - | // | |
| 3728 | - | // Note that in many non-local file cases read and write streams are | |
| 3729 | - | // not supported, so make sure you really need to do read and write | |
| 3730 | - | // streaming, rather than just opening for reading or writing. | |
| 3731 | - | func (x *FileBase) CreateReadwrite(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) { | |
| 3732 | - | var cls *FileIOStream | |
| 3733 | - | var cerr *glib.Error | |
| 3734 | - | ||
| 3735 | - | cret := XGFileCreateReadwrite(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3736 | - | ||
| 3737 | - | if cret == 0 { | |
| 3738 | - | return nil, cerr | |
| 3739 | - | } | |
| 3740 | - | cls = &FileIOStream{} | |
| 3741 | - | cls.Ptr = cret | |
| 3742 | - | if cerr == nil { | |
| 3743 | - | return cls, nil | |
| 3744 | - | } | |
| 3745 | - | return cls, cerr | |
| 3746 | - | } | |
| 3747 | - | ||
| 3748 | - | // Asynchronously creates a new file and returns a stream | |
| 3749 | - | // for reading and writing to it. The file must not already exist. | |
| 3750 | - | // | |
| 3751 | - | // For more details, see g_file_create_readwrite() which is | |
| 3752 | - | // the synchronous version of this call. | |
| 3753 | - | // | |
| 3754 | - | // When the operation is finished, @callback will be called. | |
| 3755 | - | // You can then call g_file_create_readwrite_finish() to get | |
| 3756 | - | // the result of the operation. | |
| 3757 | - | func (x *FileBase) CreateReadwriteAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3758 | - | XGFileCreateReadwriteAsync(x.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3759 | - | } | |
| 3760 | - | ||
| 3761 | - | // Finishes an asynchronous file create operation started with | |
| 3762 | - | // g_file_create_readwrite_async(). | |
| 3763 | - | func (x *FileBase) CreateReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) { | |
| 3764 | - | var cls *FileIOStream | |
| 3765 | - | var cerr *glib.Error | |
| 3766 | - | ||
| 3767 | - | cret := XGFileCreateReadwriteFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3768 | - | ||
| 3769 | - | if cret == 0 { | |
| 3770 | - | return nil, cerr | |
| 3771 | - | } | |
| 3772 | - | cls = &FileIOStream{} | |
| 3773 | - | cls.Ptr = cret | |
| 3774 | - | if cerr == nil { | |
| 3775 | - | return cls, nil | |
| 3776 | - | } | |
| 3777 | - | return cls, cerr | |
| 3778 | - | } | |
| 3779 | - | ||
| 3780 | - | // Deletes a file. If the @file is a directory, it will only be | |
| 3781 | - | // deleted if it is empty. This has the same semantics as g_unlink(). | |
| 3782 | - | // | |
| 3783 | - | // If @file doesn’t exist, %G_IO_ERROR_NOT_FOUND will be returned. This allows | |
| 3784 | - | // for deletion to be implemented avoiding | |
| 3785 | - | // [time-of-check to time-of-use races](https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use): | |
| 3786 | - | // |[ | |
| 3787 | - | // g_autoptr(GError) local_error = NULL; | |
| 3788 | - | // if (!g_file_delete (my_file, my_cancellable, &local_error) && | |
| 3789 | - | // | |
| 3790 | - | // !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) | |
| 3791 | - | // { | |
| 3792 | - | // // deletion failed for some reason other than the file not existing: | |
| 3793 | - | // // so report the error | |
| 3794 | - | // g_warning ("Failed to delete %s: %s", | |
| 3795 | - | // g_file_peek_path (my_file), local_error->message); | |
| 3796 | - | // } | |
| 3797 | - | // | |
| 3798 | - | // ]| | |
| 3799 | - | // | |
| 3800 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 3801 | - | // triggering the cancellable object from another thread. If the operation | |
| 3802 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 3803 | - | func (x *FileBase) Delete(CancellableVar *Cancellable) (bool, error) { | |
| 3804 | - | var cerr *glib.Error | |
| 3805 | - | ||
| 3806 | - | cret := XGFileDelete(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 3807 | - | if cerr == nil { | |
| 3808 | - | return cret, nil | |
| 3809 | - | } | |
| 3810 | - | return cret, cerr | |
| 3811 | - | } | |
| 3812 | - | ||
| 3813 | - | // Asynchronously delete a file. If the @file is a directory, it will | |
| 3814 | - | // only be deleted if it is empty. This has the same semantics as | |
| 3815 | - | // g_unlink(). | |
| 3816 | - | func (x *FileBase) DeleteAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3817 | - | XGFileDeleteAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3818 | - | } | |
| 3819 | - | ||
| 3820 | - | // Finishes deleting a file started with g_file_delete_async(). | |
| 3821 | - | func (x *FileBase) DeleteFinish(ResultVar AsyncResult) (bool, error) { | |
| 3822 | - | var cerr *glib.Error | |
| 3823 | - | ||
| 3824 | - | cret := XGFileDeleteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3825 | - | if cerr == nil { | |
| 3826 | - | return cret, nil | |
| 3827 | - | } | |
| 3828 | - | return cret, cerr | |
| 3829 | - | } | |
| 3830 | - | ||
| 3831 | - | // Duplicates a #GFile handle. This operation does not duplicate | |
| 3832 | - | // the actual file or directory represented by the #GFile; see | |
| 3833 | - | // g_file_copy() if attempting to copy a file. | |
| 3834 | - | // | |
| 3835 | - | // g_file_dup() is useful when a second handle is needed to the same underlying | |
| 3836 | - | // file, for use in a separate thread (#GFile is not thread-safe). For use | |
| 3837 | - | // within the same thread, use g_object_ref() to increment the existing object’s | |
| 3838 | - | // reference count. | |
| 3839 | - | // | |
| 3840 | - | // This call does no blocking I/O. | |
| 3841 | - | func (x *FileBase) Dup() *FileBase { | |
| 3842 | - | var cls *FileBase | |
| 3843 | - | ||
| 3844 | - | cret := XGFileDup(x.GoPointer()) | |
| 3845 | - | ||
| 3846 | - | if cret == 0 { | |
| 3847 | - | return nil | |
| 3848 | - | } | |
| 3849 | - | cls = &FileBase{} | |
| 3850 | - | cls.Ptr = cret | |
| 3851 | - | return cls | |
| 3852 | - | } | |
| 3853 | - | ||
| 3854 | - | // Starts an asynchronous eject on a mountable. | |
| 3855 | - | // When this operation has completed, @callback will be called with | |
| 3856 | - | // @user_user data, and the operation can be finalized with | |
| 3857 | - | // g_file_eject_mountable_finish(). | |
| 3858 | - | // | |
| 3859 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 3860 | - | // triggering the cancellable object from another thread. If the operation | |
| 3861 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 3862 | - | func (x *FileBase) EjectMountable(FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3863 | - | XGFileEjectMountable(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3864 | - | } | |
| 3865 | - | ||
| 3866 | - | // Finishes an asynchronous eject operation started by | |
| 3867 | - | // g_file_eject_mountable(). | |
| 3868 | - | func (x *FileBase) EjectMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 3869 | - | var cerr *glib.Error | |
| 3870 | - | ||
| 3871 | - | cret := XGFileEjectMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3872 | - | if cerr == nil { | |
| 3873 | - | return cret, nil | |
| 3874 | - | } | |
| 3875 | - | return cret, cerr | |
| 3876 | - | } | |
| 3877 | - | ||
| 3878 | - | // Starts an asynchronous eject on a mountable. | |
| 3879 | - | // When this operation has completed, @callback will be called with | |
| 3880 | - | // @user_user data, and the operation can be finalized with | |
| 3881 | - | // g_file_eject_mountable_with_operation_finish(). | |
| 3882 | - | // | |
| 3883 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 3884 | - | // triggering the cancellable object from another thread. If the operation | |
| 3885 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 3886 | - | func (x *FileBase) EjectMountableWithOperation(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3887 | - | XGFileEjectMountableWithOperation(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3888 | - | } | |
| 3889 | - | ||
| 3890 | - | // Finishes an asynchronous eject operation started by | |
| 3891 | - | // g_file_eject_mountable_with_operation(). | |
| 3892 | - | func (x *FileBase) EjectMountableWithOperationFinish(ResultVar AsyncResult) (bool, error) { | |
| 3893 | - | var cerr *glib.Error | |
| 3894 | - | ||
| 3895 | - | cret := XGFileEjectMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3896 | - | if cerr == nil { | |
| 3897 | - | return cret, nil | |
| 3898 | - | } | |
| 3899 | - | return cret, cerr | |
| 3900 | - | } | |
| 3901 | - | ||
| 3902 | - | // Gets the requested information about the files in a directory. | |
| 3903 | - | // The result is a [class@FileEnumerator] object that will give out | |
| 3904 | - | // [class@FileInfo] objects for all the files in the directory. | |
| 3905 | - | // | |
| 3906 | - | // The @attributes value is a string that specifies the file | |
| 3907 | - | // attributes that should be gathered. It is not an error if | |
| 3908 | - | // it's not possible to read a particular requested attribute | |
| 3909 | - | // from a file - it just won't be set. @attributes should | |
| 3910 | - | // be a comma-separated list of attributes or attribute wildcards. | |
| 3911 | - | // The wildcard `*` means all attributes, and a wildcard like | |
| 3912 | - | // `"standard::*"` means all attributes in the standard namespace. | |
| 3913 | - | // An example attribute query be `"standard::*,owner::user"`. | |
| 3914 | - | // The standard attributes are available as defines, like | |
| 3915 | - | // [const@FILE_ATTRIBUTE_STANDARD_NAME]. [const@FILE_ATTRIBUTE_STANDARD_NAME] should | |
| 3916 | - | // always be specified if you plan to call [method@FileEnumerator.get_child] or | |
| 3917 | - | // [method@FileEnumerator.iterate] on the returned enumerator. | |
| 3918 | - | // | |
| 3919 | - | // If @cancellable is not `NULL`, then the operation can be cancelled | |
| 3920 | - | // by triggering the cancellable object from another thread. If the | |
| 3921 | - | // operation was cancelled, the error [error@Gio.IOErrorEnum.CANCELLED] will be | |
| 3922 | - | // returned. | |
| 3923 | - | // | |
| 3924 | - | // If the file does not exist, the [error@Gio.IOErrorEnum.NOT_FOUND] error will | |
| 3925 | - | // be returned. If the file is not a directory, the [error@Gio.IOErrorEnum.NOT_DIRECTORY] | |
| 3926 | - | // error will be returned. Other errors are possible too. | |
| 3927 | - | func (x *FileBase) EnumerateChildren(AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (*FileEnumerator, error) { | |
| 3928 | - | var cls *FileEnumerator | |
| 3929 | - | var cerr *glib.Error | |
| 3930 | - | ||
| 3931 | - | cret := XGFileEnumerateChildren(x.GoPointer(), AttributesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3932 | - | ||
| 3933 | - | if cret == 0 { | |
| 3934 | - | return nil, cerr | |
| 3935 | - | } | |
| 3936 | - | cls = &FileEnumerator{} | |
| 3937 | - | cls.Ptr = cret | |
| 3938 | - | if cerr == nil { | |
| 3939 | - | return cls, nil | |
| 3940 | - | } | |
| 3941 | - | return cls, cerr | |
| 3942 | - | } | |
| 3943 | - | ||
| 3944 | - | // Asynchronously gets the requested information about the files | |
| 3945 | - | // in a directory. The result is a #GFileEnumerator object that will | |
| 3946 | - | // give out #GFileInfo objects for all the files in the directory. | |
| 3947 | - | // | |
| 3948 | - | // For more details, see g_file_enumerate_children() which is | |
| 3949 | - | // the synchronous version of this call. | |
| 3950 | - | // | |
| 3951 | - | // When the operation is finished, @callback will be called. You can | |
| 3952 | - | // then call g_file_enumerate_children_finish() to get the result of | |
| 3953 | - | // the operation. | |
| 3954 | - | func (x *FileBase) EnumerateChildrenAsync(AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3955 | - | XGFileEnumerateChildrenAsync(x.GoPointer(), AttributesVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3956 | - | } | |
| 3957 | - | ||
| 3958 | - | // Finishes an async enumerate children operation. | |
| 3959 | - | // See g_file_enumerate_children_async(). | |
| 3960 | - | func (x *FileBase) EnumerateChildrenFinish(ResVar AsyncResult) (*FileEnumerator, error) { | |
| 3961 | - | var cls *FileEnumerator | |
| 3962 | - | var cerr *glib.Error | |
| 3963 | - | ||
| 3964 | - | cret := XGFileEnumerateChildrenFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3965 | - | ||
| 3966 | - | if cret == 0 { | |
| 3967 | - | return nil, cerr | |
| 3968 | - | } | |
| 3969 | - | cls = &FileEnumerator{} | |
| 3970 | - | cls.Ptr = cret | |
| 3971 | - | if cerr == nil { | |
| 3972 | - | return cls, nil | |
| 3973 | - | } | |
| 3974 | - | return cls, cerr | |
| 3975 | - | } | |
| 3976 | - | ||
| 3977 | - | // Checks if the two given #GFiles refer to the same file. | |
| 3978 | - | // | |
| 3979 | - | // This function can be used with [method@Gio.File.hash] to insert | |
| 3980 | - | // [iface@Gio.File]s efficiently in a hash table. | |
| 3981 | - | // | |
| 3982 | - | // Note that two #GFiles that differ can still refer to the same | |
| 3983 | - | // file on the filesystem due to various forms of filename | |
| 3984 | - | // aliasing. For local files, this function essentially compares the file paths, | |
| 3985 | - | // so two [iface@Gio.File]s which point to different hard or soft links will not | |
| 3986 | - | // be considered equal, despite pointing to the same content. | |
| 3987 | - | // | |
| 3988 | - | // For determining whether two files are hardlinked, see | |
| 3989 | - | // [const@Gio.FILE_ATTRIBUTE_ID_FILE]. | |
| 3990 | - | // | |
| 3991 | - | // This call does no blocking I/O. | |
| 3992 | - | func (x *FileBase) Equal(File2Var File) bool { | |
| 3993 | - | cret := XGFileEqual(x.GoPointer(), File2Var.GoPointer()) | |
| 3994 | - | return cret | |
| 3995 | - | } | |
| 3996 | - | ||
| 3997 | - | // Gets a #GMount for the #GFile. | |
| 3998 | - | // | |
| 3999 | - | // #GMount is returned only for user interesting locations, see | |
| 4000 | - | // #GVolumeMonitor. If the #GFileIface for @file does not have a #mount, | |
| 4001 | - | // @error will be set to %G_IO_ERROR_NOT_FOUND and %NULL #will be returned. | |
| 4002 | - | // | |
| 4003 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4004 | - | // triggering the cancellable object from another thread. If the operation | |
| 4005 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4006 | - | func (x *FileBase) FindEnclosingMount(CancellableVar *Cancellable) (*MountBase, error) { | |
| 4007 | - | var cls *MountBase | |
| 4008 | - | var cerr *glib.Error | |
| 4009 | - | ||
| 4010 | - | cret := XGFileFindEnclosingMount(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4011 | - | ||
| 4012 | - | if cret == 0 { | |
| 4013 | - | return nil, cerr | |
| 4014 | - | } | |
| 4015 | - | cls = &MountBase{} | |
| 4016 | - | cls.Ptr = cret | |
| 4017 | - | if cerr == nil { | |
| 4018 | - | return cls, nil | |
| 4019 | - | } | |
| 4020 | - | return cls, cerr | |
| 4021 | - | } | |
| 4022 | - | ||
| 4023 | - | // Asynchronously gets the mount for the file. | |
| 4024 | - | // | |
| 4025 | - | // For more details, see g_file_find_enclosing_mount() which is | |
| 4026 | - | // the synchronous version of this call. | |
| 4027 | - | // | |
| 4028 | - | // When the operation is finished, @callback will be called. | |
| 4029 | - | // You can then call g_file_find_enclosing_mount_finish() to | |
| 4030 | - | // get the result of the operation. | |
| 4031 | - | func (x *FileBase) FindEnclosingMountAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4032 | - | XGFileFindEnclosingMountAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4033 | - | } | |
| 4034 | - | ||
| 4035 | - | // Finishes an asynchronous find mount request. | |
| 4036 | - | // See g_file_find_enclosing_mount_async(). | |
| 4037 | - | func (x *FileBase) FindEnclosingMountFinish(ResVar AsyncResult) (*MountBase, error) { | |
| 4038 | - | var cls *MountBase | |
| 4039 | - | var cerr *glib.Error | |
| 4040 | - | ||
| 4041 | - | cret := XGFileFindEnclosingMountFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 4042 | - | ||
| 4043 | - | if cret == 0 { | |
| 4044 | - | return nil, cerr | |
| 4045 | - | } | |
| 4046 | - | cls = &MountBase{} | |
| 4047 | - | cls.Ptr = cret | |
| 4048 | - | if cerr == nil { | |
| 4049 | - | return cls, nil | |
| 4050 | - | } | |
| 4051 | - | return cls, cerr | |
| 4052 | - | } | |
| 4053 | - | ||
| 4054 | - | // Gets the base name (the last component of the path) for a given #GFile. | |
| 4055 | - | // | |
| 4056 | - | // If called for the top level of a system (such as the filesystem root | |
| 4057 | - | // or a uri like sftp://host/) it will return a single directory separator | |
| 4058 | - | // (and on Windows, possibly a drive letter). | |
| 4059 | - | // | |
| 4060 | - | // The base name is a byte string (not UTF-8). It has no defined encoding | |
| 4061 | - | // or rules other than it may not contain zero bytes. If you want to use | |
| 4062 | - | // filenames in a user interface you should use the display name that you | |
| 4063 | - | // can get by requesting the %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME | |
| 4064 | - | // attribute with g_file_query_info(). | |
| 4065 | - | // | |
| 4066 | - | // This call does no blocking I/O. | |
| 4067 | - | func (x *FileBase) GetBasename() string { | |
| 4068 | - | cret := XGFileGetBasename(x.GoPointer()) | |
| 4069 | - | return cret | |
| 4070 | - | } | |
| 4071 | - | ||
| 4072 | - | // Gets a child of @file with basename equal to @name. | |
| 4073 | - | // | |
| 4074 | - | // Note that the file with that specific name might not exist, but | |
| 4075 | - | // you can still have a #GFile that points to it. You can use this | |
| 4076 | - | // for instance to create that file. | |
| 4077 | - | // | |
| 4078 | - | // This call does no blocking I/O. | |
| 4079 | - | func (x *FileBase) GetChild(NameVar string) *FileBase { | |
| 4080 | - | var cls *FileBase | |
| 4081 | - | ||
| 4082 | - | cret := XGFileGetChild(x.GoPointer(), NameVar) | |
| 4083 | - | ||
| 4084 | - | if cret == 0 { | |
| 4085 | - | return nil | |
| 4086 | - | } | |
| 4087 | - | cls = &FileBase{} | |
| 4088 | - | cls.Ptr = cret | |
| 4089 | - | return cls | |
| 4090 | - | } | |
| 4091 | - | ||
| 4092 | - | // Gets the child of @file for a given @display_name (i.e. a UTF-8 | |
| 4093 | - | // version of the name). If this function fails, it returns %NULL | |
| 4094 | - | // and @error will be set. This is very useful when constructing a | |
| 4095 | - | // #GFile for a new file and the user entered the filename in the | |
| 4096 | - | // user interface, for instance when you select a directory and | |
| 4097 | - | // type a filename in the file selector. | |
| 4098 | - | // | |
| 4099 | - | // This call does no blocking I/O. | |
| 4100 | - | func (x *FileBase) GetChildForDisplayName(DisplayNameVar string) (*FileBase, error) { | |
| 4101 | - | var cls *FileBase | |
| 4102 | - | var cerr *glib.Error | |
| 4103 | - | ||
| 4104 | - | cret := XGFileGetChildForDisplayName(x.GoPointer(), DisplayNameVar, &cerr) | |
| 4105 | - | ||
| 4106 | - | if cret == 0 { | |
| 4107 | - | return nil, cerr | |
| 4108 | - | } | |
| 4109 | - | cls = &FileBase{} | |
| 4110 | - | cls.Ptr = cret | |
| 4111 | - | if cerr == nil { | |
| 4112 | - | return cls, nil | |
| 4113 | - | } | |
| 4114 | - | return cls, cerr | |
| 4115 | - | } | |
| 4116 | - | ||
| 4117 | - | // Gets the parent directory for the @file. | |
| 4118 | - | // If the @file represents the root directory of the | |
| 4119 | - | // file system, then %NULL will be returned. | |
| 4120 | - | // | |
| 4121 | - | // This call does no blocking I/O. | |
| 4122 | - | func (x *FileBase) GetParent() *FileBase { | |
| 4123 | - | var cls *FileBase | |
| 4124 | - | ||
| 4125 | - | cret := XGFileGetParent(x.GoPointer()) | |
| 4126 | - | ||
| 4127 | - | if cret == 0 { | |
| 4128 | - | return nil | |
| 4129 | - | } | |
| 4130 | - | cls = &FileBase{} | |
| 4131 | - | cls.Ptr = cret | |
| 4132 | - | return cls | |
| 4133 | - | } | |
| 4134 | - | ||
| 4135 | - | // Gets the parse name of the @file. | |
| 4136 | - | // A parse name is a UTF-8 string that describes the | |
| 4137 | - | // file such that one can get the #GFile back using | |
| 4138 | - | // g_file_parse_name(). | |
| 4139 | - | // | |
| 4140 | - | // This is generally used to show the #GFile as a nice | |
| 4141 | - | // full-pathname kind of string in a user interface, | |
| 4142 | - | // like in a location entry. | |
| 4143 | - | // | |
| 4144 | - | // For local files with names that can safely be converted | |
| 4145 | - | // to UTF-8 the pathname is used, otherwise the IRI is used | |
| 4146 | - | // (a form of URI that allows UTF-8 characters unescaped). | |
| 4147 | - | // | |
| 4148 | - | // This call does no blocking I/O. | |
| 4149 | - | func (x *FileBase) GetParseName() string { | |
| 4150 | - | cret := XGFileGetParseName(x.GoPointer()) | |
| 4151 | - | return cret | |
| 4152 | - | } | |
| 4153 | - | ||
| 4154 | - | // Gets the local pathname for #GFile, if one exists. If non-%NULL, this is | |
| 4155 | - | // guaranteed to be an absolute, canonical path. It might contain symlinks. | |
| 4156 | - | // | |
| 4157 | - | // This call does no blocking I/O. | |
| 4158 | - | func (x *FileBase) GetPath() string { | |
| 4159 | - | cret := XGFileGetPath(x.GoPointer()) | |
| 4160 | - | return cret | |
| 4161 | - | } | |
| 4162 | - | ||
| 4163 | - | // Gets the path for @descendant relative to @parent. | |
| 4164 | - | // | |
| 4165 | - | // This call does no blocking I/O. | |
| 4166 | - | func (x *FileBase) GetRelativePath(DescendantVar File) string { | |
| 4167 | - | cret := XGFileGetRelativePath(x.GoPointer(), DescendantVar.GoPointer()) | |
| 4168 | - | return cret | |
| 4169 | - | } | |
| 4170 | - | ||
| 4171 | - | // Gets the URI for the @file. | |
| 4172 | - | // | |
| 4173 | - | // This call does no blocking I/O. | |
| 4174 | - | func (x *FileBase) GetUri() string { | |
| 4175 | - | cret := XGFileGetUri(x.GoPointer()) | |
| 4176 | - | return cret | |
| 4177 | - | } | |
| 4178 | - | ||
| 4179 | - | // Gets the URI scheme for a #GFile. | |
| 4180 | - | // RFC 3986 decodes the scheme as: | |
| 4181 | - | // |[ | |
| 4182 | - | // URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] | |
| 4183 | - | // ]| | |
| 4184 | - | // Common schemes include "file", "http", "ftp", etc. | |
| 4185 | - | // | |
| 4186 | - | // The scheme can be different from the one used to construct the #GFile, | |
| 4187 | - | // in that it might be replaced with one that is logically equivalent to the #GFile. | |
| 4188 | - | // | |
| 4189 | - | // This call does no blocking I/O. | |
| 4190 | - | func (x *FileBase) GetUriScheme() string { | |
| 4191 | - | cret := XGFileGetUriScheme(x.GoPointer()) | |
| 4192 | - | return cret | |
| 4193 | - | } | |
| 4194 | - | ||
| 4195 | - | // Checks if @file has a parent, and optionally, if it is @parent. | |
| 4196 | - | // | |
| 4197 | - | // If @parent is %NULL then this function returns %TRUE if @file has any | |
| 4198 | - | // parent at all. If @parent is non-%NULL then %TRUE is only returned | |
| 4199 | - | // if @file is an immediate child of @parent. | |
| 4200 | - | func (x *FileBase) HasParent(ParentVar File) bool { | |
| 4201 | - | cret := XGFileHasParent(x.GoPointer(), ParentVar.GoPointer()) | |
| 4202 | - | return cret | |
| 4203 | - | } | |
| 4204 | - | ||
| 4205 | - | // Checks whether @file has the prefix specified by @prefix. | |
| 4206 | - | // | |
| 4207 | - | // In other words, if the names of initial elements of @file's | |
| 4208 | - | // pathname match @prefix. Only full pathname elements are matched, | |
| 4209 | - | // so a path like /foo is not considered a prefix of /foobar, only | |
| 4210 | - | // of /foo/bar. | |
| 4211 | - | // | |
| 4212 | - | // A #GFile is not a prefix of itself. If you want to check for | |
| 4213 | - | // equality, use g_file_equal(). | |
| 4214 | - | // | |
| 4215 | - | // This call does no I/O, as it works purely on names. As such it can | |
| 4216 | - | // sometimes return %FALSE even if @file is inside a @prefix (from a | |
| 4217 | - | // filesystem point of view), because the prefix of @file is an alias | |
| 4218 | - | // of @prefix. | |
| 4219 | - | func (x *FileBase) HasPrefix(PrefixVar File) bool { | |
| 4220 | - | cret := XGFileHasPrefix(x.GoPointer(), PrefixVar.GoPointer()) | |
| 4221 | - | return cret | |
| 4222 | - | } | |
| 4223 | - | ||
| 4224 | - | // Checks to see if a #GFile has a given URI scheme. | |
| 4225 | - | // | |
| 4226 | - | // This call does no blocking I/O. | |
| 4227 | - | func (x *FileBase) HasUriScheme(UriSchemeVar string) bool { | |
| 4228 | - | cret := XGFileHasUriScheme(x.GoPointer(), UriSchemeVar) | |
| 4229 | - | return cret | |
| 4230 | - | } | |
| 4231 | - | ||
| 4232 | - | // Creates a hash value for a #GFile. | |
| 4233 | - | // | |
| 4234 | - | // This call does no blocking I/O. | |
| 4235 | - | func (x *FileBase) Hash() uint { | |
| 4236 | - | cret := XGFileHash(x.GoPointer()) | |
| 4237 | - | return cret | |
| 4238 | - | } | |
| 4239 | - | ||
| 4240 | - | // Checks to see if a file is native to the platform. | |
| 4241 | - | // | |
| 4242 | - | // A native file is one expressed in the platform-native filename format, | |
| 4243 | - | // e.g. "C:\Windows" or "/usr/bin/". This does not mean the file is local, | |
| 4244 | - | // as it might be on a locally mounted remote filesystem. | |
| 4245 | - | // | |
| 4246 | - | // On some systems non-native files may be available using the native | |
| 4247 | - | // filesystem via a userspace filesystem (FUSE), in these cases this call | |
| 4248 | - | // will return %FALSE, but g_file_get_path() will still return a native path. | |
| 4249 | - | // | |
| 4250 | - | // This call does no blocking I/O. | |
| 4251 | - | func (x *FileBase) IsNative() bool { | |
| 4252 | - | cret := XGFileIsNative(x.GoPointer()) | |
| 4253 | - | return cret | |
| 4254 | - | } | |
| 4255 | - | ||
| 4256 | - | // Loads the contents of @file and returns it as #GBytes. | |
| 4257 | - | // | |
| 4258 | - | // If @file is a resource:// based URI, the resulting bytes will reference the | |
| 4259 | - | // embedded resource instead of a copy. Otherwise, this is equivalent to calling | |
| 4260 | - | // g_file_load_contents() and g_bytes_new_take(). | |
| 4261 | - | // | |
| 4262 | - | // For resources, @etag_out will be set to %NULL. | |
| 4263 | - | // | |
| 4264 | - | // The data contained in the resulting #GBytes is always zero-terminated, but | |
| 4265 | - | // this is not included in the #GBytes length. The resulting #GBytes should be | |
| 4266 | - | // freed with g_bytes_unref() when no longer in use. | |
| 4267 | - | func (x *FileBase) LoadBytes(CancellableVar *Cancellable, EtagOutVar *string) (*glib.Bytes, error) { | |
| 4268 | - | var cerr *glib.Error | |
| 4269 | - | ||
| 4270 | - | cret := XGFileLoadBytes(x.GoPointer(), CancellableVar.GoPointer(), EtagOutVar, &cerr) | |
| 4271 | - | if cerr != nil { | |
| 4272 | - | return nil, cerr | |
| 4273 | - | } | |
| 4274 | - | if cret == 0 { | |
| 4275 | - | return nil, nil | |
| 4276 | - | } | |
| 4277 | - | return (*glib.Bytes)(unsafe.Pointer(cret)), nil | |
| 4278 | - | } | |
| 4279 | - | ||
| 4280 | - | // Asynchronously loads the contents of @file as #GBytes. | |
| 4281 | - | // | |
| 4282 | - | // If @file is a resource:// based URI, the resulting bytes will reference the | |
| 4283 | - | // embedded resource instead of a copy. Otherwise, this is equivalent to calling | |
| 4284 | - | // g_file_load_contents_async() and g_bytes_new_take(). | |
| 4285 | - | // | |
| 4286 | - | // @callback should call g_file_load_bytes_finish() to get the result of this | |
| 4287 | - | // asynchronous operation. | |
| 4288 | - | // | |
| 4289 | - | // See g_file_load_bytes() for more information. | |
| 4290 | - | func (x *FileBase) LoadBytesAsync(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4291 | - | XGFileLoadBytesAsync(x.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4292 | - | } | |
| 4293 | - | ||
| 4294 | - | // Completes an asynchronous request to g_file_load_bytes_async(). | |
| 4295 | - | // | |
| 4296 | - | // For resources, @etag_out will be set to %NULL. | |
| 4297 | - | // | |
| 4298 | - | // The data contained in the resulting #GBytes is always zero-terminated, but | |
| 4299 | - | // this is not included in the #GBytes length. The resulting #GBytes should be | |
| 4300 | - | // freed with g_bytes_unref() when no longer in use. | |
| 4301 | - | // | |
| 4302 | - | // See g_file_load_bytes() for more information. | |
| 4303 | - | func (x *FileBase) LoadBytesFinish(ResultVar AsyncResult, EtagOutVar *string) (*glib.Bytes, error) { | |
| 4304 | - | var cerr *glib.Error | |
| 4305 | - | ||
| 4306 | - | cret := XGFileLoadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), EtagOutVar, &cerr) | |
| 4307 | - | if cerr != nil { | |
| 4308 | - | return nil, cerr | |
| 4309 | - | } | |
| 4310 | - | if cret == 0 { | |
| 4311 | - | return nil, nil | |
| 4312 | - | } | |
| 4313 | - | return (*glib.Bytes)(unsafe.Pointer(cret)), nil | |
| 4314 | - | } | |
| 4315 | - | ||
| 4316 | - | // Loads the content of the file into memory. The data is always | |
| 4317 | - | // zero-terminated, but this is not included in the resultant @length. | |
| 4318 | - | // The returned @contents should be freed with g_free() when no longer | |
| 4319 | - | // needed. | |
| 4320 | - | // | |
| 4321 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4322 | - | // triggering the cancellable object from another thread. If the operation | |
| 4323 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4324 | - | func (x *FileBase) LoadContents(CancellableVar *Cancellable, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) { | |
| 4325 | - | var cerr *glib.Error | |
| 4326 | - | ||
| 4327 | - | cret := XGFileLoadContents(x.GoPointer(), CancellableVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr) | |
| 4328 | - | if cerr == nil { | |
| 4329 | - | return cret, nil | |
| 4330 | - | } | |
| 4331 | - | return cret, cerr | |
| 4332 | - | } | |
| 4333 | - | ||
| 4334 | - | // Starts an asynchronous load of the @file's contents. | |
| 4335 | - | // | |
| 4336 | - | // For more details, see g_file_load_contents() which is | |
| 4337 | - | // the synchronous version of this call. | |
| 4338 | - | // | |
| 4339 | - | // When the load operation has completed, @callback will be called | |
| 4340 | - | // with @user data. To finish the operation, call | |
| 4341 | - | // g_file_load_contents_finish() with the #GAsyncResult returned by | |
| 4342 | - | // the @callback. | |
| 4343 | - | // | |
| 4344 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4345 | - | // triggering the cancellable object from another thread. If the operation | |
| 4346 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4347 | - | func (x *FileBase) LoadContentsAsync(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4348 | - | XGFileLoadContentsAsync(x.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4349 | - | } | |
| 4350 | - | ||
| 4351 | - | // Finishes an asynchronous load of the @file's contents. | |
| 4352 | - | // The contents are placed in @contents, and @length is set to the | |
| 4353 | - | // size of the @contents string. The @contents should be freed with | |
| 4354 | - | // g_free() when no longer needed. If @etag_out is present, it will be | |
| 4355 | - | // set to the new entity tag for the @file. | |
| 4356 | - | func (x *FileBase) LoadContentsFinish(ResVar AsyncResult, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) { | |
| 4357 | - | var cerr *glib.Error | |
| 4358 | - | ||
| 4359 | - | cret := XGFileLoadContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr) | |
| 4360 | - | if cerr == nil { | |
| 4361 | - | return cret, nil | |
| 4362 | - | } | |
| 4363 | - | return cret, cerr | |
| 4364 | - | } | |
| 4365 | - | ||
| 4366 | - | // Reads the partial contents of a file. A #GFileReadMoreCallback should | |
| 4367 | - | // be used to stop reading from the file when appropriate, else this | |
| 4368 | - | // function will behave exactly as g_file_load_contents_async(). This | |
| 4369 | - | // operation can be finished by g_file_load_partial_contents_finish(). | |
| 4370 | - | // | |
| 4371 | - | // Users of this function should be aware that @user_data is passed to | |
| 4372 | - | // both the @read_more_callback and the @callback. | |
| 4373 | - | // | |
| 4374 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4375 | - | // triggering the cancellable object from another thread. If the operation | |
| 4376 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4377 | - | func (x *FileBase) LoadPartialContentsAsync(CancellableVar *Cancellable, ReadMoreCallbackVar *FileReadMoreCallback, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4378 | - | XGFileLoadPartialContentsAsync(x.GoPointer(), CancellableVar.GoPointer(), glib.NewCallback(ReadMoreCallbackVar), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4379 | - | } | |
| 4380 | - | ||
| 4381 | - | // Finishes an asynchronous partial load operation that was started | |
| 4382 | - | // with g_file_load_partial_contents_async(). The data is always | |
| 4383 | - | // zero-terminated, but this is not included in the resultant @length. | |
| 4384 | - | // The returned @contents should be freed with g_free() when no longer | |
| 4385 | - | // needed. | |
| 4386 | - | func (x *FileBase) LoadPartialContentsFinish(ResVar AsyncResult, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) { | |
| 4387 | - | var cerr *glib.Error | |
| 4388 | - | ||
| 4389 | - | cret := XGFileLoadPartialContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr) | |
| 4390 | - | if cerr == nil { | |
| 4391 | - | return cret, nil | |
| 4392 | - | } | |
| 4393 | - | return cret, cerr | |
| 4394 | - | } | |
| 4395 | - | ||
| 4396 | - | // Creates a directory. | |
| 4397 | - | // | |
| 4398 | - | // Note that this will only create a child directory | |
| 4399 | - | // of the immediate parent directory of the path or URI given by the #GFile. | |
| 4400 | - | // To recursively create directories, see g_file_make_directory_with_parents(). | |
| 4401 | - | // | |
| 4402 | - | // This function will fail if the parent directory does not exist, setting | |
| 4403 | - | // @error to %G_IO_ERROR_NOT_FOUND. If the file system doesn't support | |
| 4404 | - | // creating directories, this function will fail, setting @error to | |
| 4405 | - | // %G_IO_ERROR_NOT_SUPPORTED. If the directory already exists, | |
| 4406 | - | // [error@Gio.IOErrorEnum.EXISTS] will be returned. | |
| 4407 | - | // | |
| 4408 | - | // For a local #GFile the newly created directory will have the default | |
| 4409 | - | // (current) ownership and permissions of the current process. | |
| 4410 | - | // | |
| 4411 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4412 | - | // triggering the cancellable object from another thread. If the operation | |
| 4413 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4414 | - | func (x *FileBase) MakeDirectory(CancellableVar *Cancellable) (bool, error) { | |
| 4415 | - | var cerr *glib.Error | |
| 4416 | - | ||
| 4417 | - | cret := XGFileMakeDirectory(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4418 | - | if cerr == nil { | |
| 4419 | - | return cret, nil | |
| 4420 | - | } | |
| 4421 | - | return cret, cerr | |
| 4422 | - | } | |
| 4423 | - | ||
| 4424 | - | // Asynchronously creates a directory. | |
| 4425 | - | func (x *FileBase) MakeDirectoryAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4426 | - | XGFileMakeDirectoryAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4427 | - | } | |
| 4428 | - | ||
| 4429 | - | // Finishes an asynchronous directory creation, started with | |
| 4430 | - | // g_file_make_directory_async(). | |
| 4431 | - | func (x *FileBase) MakeDirectoryFinish(ResultVar AsyncResult) (bool, error) { | |
| 4432 | - | var cerr *glib.Error | |
| 4433 | - | ||
| 4434 | - | cret := XGFileMakeDirectoryFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4435 | - | if cerr == nil { | |
| 4436 | - | return cret, nil | |
| 4437 | - | } | |
| 4438 | - | return cret, cerr | |
| 4439 | - | } | |
| 4440 | - | ||
| 4441 | - | // Creates a directory and any parent directories that may not | |
| 4442 | - | // exist similar to 'mkdir -p'. If the file system does not support | |
| 4443 | - | // creating directories, this function will fail, setting @error to | |
| 4444 | - | // %G_IO_ERROR_NOT_SUPPORTED. If the directory itself already exists, | |
| 4445 | - | // this function will fail setting @error to %G_IO_ERROR_EXISTS, unlike | |
| 4446 | - | // the similar g_mkdir_with_parents(). | |
| 4447 | - | // | |
| 4448 | - | // For a local #GFile the newly created directories will have the default | |
| 4449 | - | // (current) ownership and permissions of the current process. | |
| 4450 | - | // | |
| 4451 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4452 | - | // triggering the cancellable object from another thread. If the operation | |
| 4453 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4454 | - | func (x *FileBase) MakeDirectoryWithParents(CancellableVar *Cancellable) (bool, error) { | |
| 4455 | - | var cerr *glib.Error | |
| 4456 | - | ||
| 4457 | - | cret := XGFileMakeDirectoryWithParents(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4458 | - | if cerr == nil { | |
| 4459 | - | return cret, nil | |
| 4460 | - | } | |
| 4461 | - | return cret, cerr | |
| 4462 | - | } | |
| 4463 | - | ||
| 4464 | - | // Creates a symbolic link named @file which contains the string | |
| 4465 | - | // @symlink_value. | |
| 4466 | - | // | |
| 4467 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4468 | - | // triggering the cancellable object from another thread. If the operation | |
| 4469 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4470 | - | func (x *FileBase) MakeSymbolicLink(SymlinkValueVar string, CancellableVar *Cancellable) (bool, error) { | |
| 4471 | - | var cerr *glib.Error | |
| 4472 | - | ||
| 4473 | - | cret := XGFileMakeSymbolicLink(x.GoPointer(), SymlinkValueVar, CancellableVar.GoPointer(), &cerr) | |
| 4474 | - | if cerr == nil { | |
| 4475 | - | return cret, nil | |
| 4476 | - | } | |
| 4477 | - | return cret, cerr | |
| 4478 | - | } | |
| 4479 | - | ||
| 4480 | - | // Asynchronously creates a symbolic link named @file which contains the | |
| 4481 | - | // string @symlink_value. | |
| 4482 | - | func (x *FileBase) MakeSymbolicLinkAsync(SymlinkValueVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4483 | - | XGFileMakeSymbolicLinkAsync(x.GoPointer(), SymlinkValueVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4484 | - | } | |
| 4485 | - | ||
| 4486 | - | // Finishes an asynchronous symbolic link creation, started with | |
| 4487 | - | // g_file_make_symbolic_link_async(). | |
| 4488 | - | func (x *FileBase) MakeSymbolicLinkFinish(ResultVar AsyncResult) (bool, error) { | |
| 4489 | - | var cerr *glib.Error | |
| 4490 | - | ||
| 4491 | - | cret := XGFileMakeSymbolicLinkFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4492 | - | if cerr == nil { | |
| 4493 | - | return cret, nil | |
| 4494 | - | } | |
| 4495 | - | return cret, cerr | |
| 4496 | - | } | |
| 4497 | - | ||
| 4498 | - | // Recursively measures the disk usage of @file. | |
| 4499 | - | // | |
| 4500 | - | // This is essentially an analog of the 'du' command, but it also | |
| 4501 | - | // reports the number of directories and non-directory files encountered | |
| 4502 | - | // (including things like symbolic links). | |
| 4503 | - | // | |
| 4504 | - | // By default, errors are only reported against the toplevel file | |
| 4505 | - | // itself. Errors found while recursing are silently ignored, unless | |
| 4506 | - | // %G_FILE_MEASURE_REPORT_ANY_ERROR is given in @flags. | |
| 4507 | - | // | |
| 4508 | - | // The returned size, @disk_usage, is in bytes and should be formatted | |
| 4509 | - | // with g_format_size() in order to get something reasonable for showing | |
| 4510 | - | // in a user interface. | |
| 4511 | - | // | |
| 4512 | - | // @progress_callback and @progress_data can be given to request | |
| 4513 | - | // periodic progress updates while scanning. See the documentation for | |
| 4514 | - | // #GFileMeasureProgressCallback for information about when and how the | |
| 4515 | - | // callback will be invoked. | |
| 4516 | - | func (x *FileBase) MeasureDiskUsage(FlagsVar FileMeasureFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) (bool, error) { | |
| 4517 | - | var cerr *glib.Error | |
| 4518 | - | ||
| 4519 | - | cret := XGFileMeasureDiskUsage(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, DiskUsageVar, NumDirsVar, NumFilesVar, &cerr) | |
| 4520 | - | if cerr == nil { | |
| 4521 | - | return cret, nil | |
| 4522 | - | } | |
| 4523 | - | return cret, cerr | |
| 4524 | - | } | |
| 4525 | - | ||
| 4526 | - | // Recursively measures the disk usage of @file. | |
| 4527 | - | // | |
| 4528 | - | // This is the asynchronous version of g_file_measure_disk_usage(). See | |
| 4529 | - | // there for more information. | |
| 4530 | - | func (x *FileBase) MeasureDiskUsageAsync(FlagsVar FileMeasureFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4531 | - | XGFileMeasureDiskUsageAsync(x.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4532 | - | } | |
| 4533 | - | ||
| 4534 | - | // Collects the results from an earlier call to | |
| 4535 | - | // g_file_measure_disk_usage_async(). See g_file_measure_disk_usage() for | |
| 4536 | - | // more information. | |
| 4537 | - | func (x *FileBase) MeasureDiskUsageFinish(ResultVar AsyncResult, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) (bool, error) { | |
| 4538 | - | var cerr *glib.Error | |
| 4539 | - | ||
| 4540 | - | cret := XGFileMeasureDiskUsageFinish(x.GoPointer(), ResultVar.GoPointer(), DiskUsageVar, NumDirsVar, NumFilesVar, &cerr) | |
| 4541 | - | if cerr == nil { | |
| 4542 | - | return cret, nil | |
| 4543 | - | } | |
| 4544 | - | return cret, cerr | |
| 4545 | - | } | |
| 4546 | - | ||
| 4547 | - | // Obtains a file or directory monitor for the given file, | |
| 4548 | - | // depending on the type of the file. | |
| 4549 | - | // | |
| 4550 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4551 | - | // triggering the cancellable object from another thread. If the operation | |
| 4552 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4553 | - | func (x *FileBase) Monitor(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) { | |
| 4554 | - | var cls *FileMonitor | |
| 4555 | - | var cerr *glib.Error | |
| 4556 | - | ||
| 4557 | - | cret := XGFileMonitor(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 4558 | - | ||
| 4559 | - | if cret == 0 { | |
| 4560 | - | return nil, cerr | |
| 4561 | - | } | |
| 4562 | - | cls = &FileMonitor{} | |
| 4563 | - | cls.Ptr = cret | |
| 4564 | - | if cerr == nil { | |
| 4565 | - | return cls, nil | |
| 4566 | - | } | |
| 4567 | - | return cls, cerr | |
| 4568 | - | } | |
| 4569 | - | ||
| 4570 | - | // Obtains a directory monitor for the given file. | |
| 4571 | - | // This may fail if directory monitoring is not supported. | |
| 4572 | - | // | |
| 4573 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4574 | - | // triggering the cancellable object from another thread. If the operation | |
| 4575 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4576 | - | // | |
| 4577 | - | // It does not make sense for @flags to contain | |
| 4578 | - | // %G_FILE_MONITOR_WATCH_HARD_LINKS, since hard links can not be made to | |
| 4579 | - | // directories. It is not possible to monitor all the files in a | |
| 4580 | - | // directory for changes made via hard links; if you want to do this then | |
| 4581 | - | // you must register individual watches with g_file_monitor(). | |
| 4582 | - | func (x *FileBase) MonitorDirectory(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) { | |
| 4583 | - | var cls *FileMonitor | |
| 4584 | - | var cerr *glib.Error | |
| 4585 | - | ||
| 4586 | - | cret := XGFileMonitorDirectory(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 4587 | - | ||
| 4588 | - | if cret == 0 { | |
| 4589 | - | return nil, cerr | |
| 4590 | - | } | |
| 4591 | - | cls = &FileMonitor{} | |
| 4592 | - | cls.Ptr = cret | |
| 4593 | - | if cerr == nil { | |
| 4594 | - | return cls, nil | |
| 4595 | - | } | |
| 4596 | - | return cls, cerr | |
| 4597 | - | } | |
| 4598 | - | ||
| 4599 | - | // Obtains a file monitor for the given file. If no file notification | |
| 4600 | - | // mechanism exists, then regular polling of the file is used. | |
| 4601 | - | // | |
| 4602 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4603 | - | // triggering the cancellable object from another thread. If the operation | |
| 4604 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4605 | - | // | |
| 4606 | - | // If @flags contains %G_FILE_MONITOR_WATCH_HARD_LINKS then the monitor | |
| 4607 | - | // will also attempt to report changes made to the file via another | |
| 4608 | - | // filename (ie, a hard link). Without this flag, you can only rely on | |
| 4609 | - | // changes made through the filename contained in @file to be | |
| 4610 | - | // reported. Using this flag may result in an increase in resource | |
| 4611 | - | // usage, and may not have any effect depending on the #GFileMonitor | |
| 4612 | - | // backend and/or filesystem type. | |
| 4613 | - | func (x *FileBase) MonitorFile(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) { | |
| 4614 | - | var cls *FileMonitor | |
| 4615 | - | var cerr *glib.Error | |
| 4616 | - | ||
| 4617 | - | cret := XGFileMonitorFile(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 4618 | - | ||
| 4619 | - | if cret == 0 { | |
| 4620 | - | return nil, cerr | |
| 4621 | - | } | |
| 4622 | - | cls = &FileMonitor{} | |
| 4623 | - | cls.Ptr = cret | |
| 4624 | - | if cerr == nil { | |
| 4625 | - | return cls, nil | |
| 4626 | - | } | |
| 4627 | - | return cls, cerr | |
| 4628 | - | } | |
| 4629 | - | ||
| 4630 | - | // Starts a @mount_operation, mounting the volume that contains | |
| 4631 | - | // the file @location. | |
| 4632 | - | // | |
| 4633 | - | // When this operation has completed, @callback will be called with | |
| 4634 | - | // @user_user data, and the operation can be finalized with | |
| 4635 | - | // g_file_mount_enclosing_volume_finish(). | |
| 4636 | - | // | |
| 4637 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4638 | - | // triggering the cancellable object from another thread. If the operation | |
| 4639 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4640 | - | func (x *FileBase) MountEnclosingVolume(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4641 | - | XGFileMountEnclosingVolume(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4642 | - | } | |
| 4643 | - | ||
| 4644 | - | // Finishes a mount operation started by g_file_mount_enclosing_volume(). | |
| 4645 | - | func (x *FileBase) MountEnclosingVolumeFinish(ResultVar AsyncResult) (bool, error) { | |
| 4646 | - | var cerr *glib.Error | |
| 4647 | - | ||
| 4648 | - | cret := XGFileMountEnclosingVolumeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4649 | - | if cerr == nil { | |
| 4650 | - | return cret, nil | |
| 4651 | - | } | |
| 4652 | - | return cret, cerr | |
| 4653 | - | } | |
| 4654 | - | ||
| 4655 | - | // Mounts a file of type G_FILE_TYPE_MOUNTABLE. | |
| 4656 | - | // Using @mount_operation, you can request callbacks when, for instance, | |
| 4657 | - | // passwords are needed during authentication. | |
| 4658 | - | // | |
| 4659 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4660 | - | // triggering the cancellable object from another thread. If the operation | |
| 4661 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4662 | - | // | |
| 4663 | - | // When the operation is finished, @callback will be called. | |
| 4664 | - | // You can then call g_file_mount_mountable_finish() to get | |
| 4665 | - | // the result of the operation. | |
| 4666 | - | func (x *FileBase) MountMountable(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4667 | - | XGFileMountMountable(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4668 | - | } | |
| 4669 | - | ||
| 4670 | - | // Finishes a mount operation. See g_file_mount_mountable() for details. | |
| 4671 | - | // | |
| 4672 | - | // Finish an asynchronous mount operation that was started | |
| 4673 | - | // with g_file_mount_mountable(). | |
| 4674 | - | func (x *FileBase) MountMountableFinish(ResultVar AsyncResult) (*FileBase, error) { | |
| 4675 | - | var cls *FileBase | |
| 4676 | - | var cerr *glib.Error | |
| 4677 | - | ||
| 4678 | - | cret := XGFileMountMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4679 | - | ||
| 4680 | - | if cret == 0 { | |
| 4681 | - | return nil, cerr | |
| 4682 | - | } | |
| 4683 | - | cls = &FileBase{} | |
| 4684 | - | cls.Ptr = cret | |
| 4685 | - | if cerr == nil { | |
| 4686 | - | return cls, nil | |
| 4687 | - | } | |
| 4688 | - | return cls, cerr | |
| 4689 | - | } | |
| 4690 | - | ||
| 4691 | - | // Tries to move the file or directory @source to the location specified | |
| 4692 | - | // by @destination. If native move operations are supported then this is | |
| 4693 | - | // used, otherwise a copy + delete fallback is used. The native | |
| 4694 | - | // implementation may support moving directories (for instance on moves | |
| 4695 | - | // inside the same filesystem), but the fallback code does not. | |
| 4696 | - | // | |
| 4697 | - | // If the flag %G_FILE_COPY_OVERWRITE is specified an already | |
| 4698 | - | // existing @destination file is overwritten. | |
| 4699 | - | // | |
| 4700 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4701 | - | // triggering the cancellable object from another thread. If the operation | |
| 4702 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4703 | - | // | |
| 4704 | - | // If @progress_callback is not %NULL, then the operation can be monitored | |
| 4705 | - | // by setting this to a #GFileProgressCallback function. | |
| 4706 | - | // @progress_callback_data will be passed to this function. It is | |
| 4707 | - | // guaranteed that this callback will be called after all data has been | |
| 4708 | - | // transferred with the total number of bytes copied during the operation. | |
| 4709 | - | // | |
| 4710 | - | // If the @source file does not exist, then the %G_IO_ERROR_NOT_FOUND | |
| 4711 | - | // error is returned, independent on the status of the @destination. | |
| 4712 | - | // | |
| 4713 | - | // If %G_FILE_COPY_OVERWRITE is not specified and the target exists, | |
| 4714 | - | // then the error %G_IO_ERROR_EXISTS is returned. | |
| 4715 | - | // | |
| 4716 | - | // If trying to overwrite a file over a directory, the %G_IO_ERROR_IS_DIRECTORY | |
| 4717 | - | // error is returned. If trying to overwrite a directory with a directory the | |
| 4718 | - | // %G_IO_ERROR_WOULD_MERGE error is returned. | |
| 4719 | - | // | |
| 4720 | - | // If the source is a directory and the target does not exist, or | |
| 4721 | - | // %G_FILE_COPY_OVERWRITE is specified and the target is a file, then | |
| 4722 | - | // the %G_IO_ERROR_WOULD_RECURSE error may be returned (if the native | |
| 4723 | - | // move operation isn't available). | |
| 4724 | - | func (x *FileBase) Move(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) (bool, error) { | |
| 4725 | - | var cerr *glib.Error | |
| 4726 | - | ||
| 4727 | - | cret := XGFileMove(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr) | |
| 4728 | - | if cerr == nil { | |
| 4729 | - | return cret, nil | |
| 4730 | - | } | |
| 4731 | - | return cret, cerr | |
| 4732 | - | } | |
| 4733 | - | ||
| 4734 | - | // Asynchronously moves a file @source to the location of @destination. For details of the behaviour, see g_file_move(). | |
| 4735 | - | // | |
| 4736 | - | // If @progress_callback is not %NULL, then that function that will be called | |
| 4737 | - | // just like in g_file_move(). The callback will run in the default main context | |
| 4738 | - | // of the thread calling g_file_move_async() — the same context as @callback is | |
| 4739 | - | // run in. | |
| 4740 | - | // | |
| 4741 | - | // When the operation is finished, @callback will be called. You can then call | |
| 4742 | - | // g_file_move_finish() to get the result of the operation. | |
| 4743 | - | func (x *FileBase) MoveAsync(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4744 | - | XGFileMoveAsync(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4745 | - | } | |
| 4746 | - | ||
| 4747 | - | // Version of [method@Gio.File.move_async] using closures instead of callbacks for | |
| 4748 | - | // easier binding in other languages. | |
| 4749 | - | func (x *FileBase) MoveAsyncWithClosures(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackClosureVar *gobject.Closure, ReadyCallbackClosureVar *gobject.Closure) { | |
| 4750 | - | XGFileMoveAsyncWithClosures(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), ProgressCallbackClosureVar, ReadyCallbackClosureVar) | |
| 4751 | - | } | |
| 4752 | - | ||
| 4753 | - | // Finishes an asynchronous file movement, started with | |
| 4754 | - | // g_file_move_async(). | |
| 4755 | - | func (x *FileBase) MoveFinish(ResultVar AsyncResult) (bool, error) { | |
| 4756 | - | var cerr *glib.Error | |
| 4757 | - | ||
| 4758 | - | cret := XGFileMoveFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4759 | - | if cerr == nil { | |
| 4760 | - | return cret, nil | |
| 4761 | - | } | |
| 4762 | - | return cret, cerr | |
| 4763 | - | } | |
| 4764 | - | ||
| 4765 | - | // Opens an existing file for reading and writing. The result is | |
| 4766 | - | // a #GFileIOStream that can be used to read and write the contents | |
| 4767 | - | // of the file. | |
| 4768 | - | // | |
| 4769 | - | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 4770 | - | // by triggering the cancellable object from another thread. If the | |
| 4771 | - | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 4772 | - | // returned. | |
| 4773 | - | // | |
| 4774 | - | // If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will | |
| 4775 | - | // be returned. If the file is a directory, the %G_IO_ERROR_IS_DIRECTORY | |
| 4776 | - | // error will be returned. Other errors are possible too, and depend on | |
| 4777 | - | // what kind of filesystem the file is on. Note that in many non-local | |
| 4778 | - | // file cases read and write streams are not supported, so make sure you | |
| 4779 | - | // really need to do read and write streaming, rather than just opening | |
| 4780 | - | // for reading or writing. | |
| 4781 | - | func (x *FileBase) OpenReadwrite(CancellableVar *Cancellable) (*FileIOStream, error) { | |
| 4782 | - | var cls *FileIOStream | |
| 4783 | - | var cerr *glib.Error | |
| 4784 | - | ||
| 4785 | - | cret := XGFileOpenReadwrite(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4786 | - | ||
| 4787 | - | if cret == 0 { | |
| 4788 | - | return nil, cerr | |
| 4789 | - | } | |
| 4790 | - | cls = &FileIOStream{} | |
| 4791 | - | cls.Ptr = cret | |
| 4792 | - | if cerr == nil { | |
| 4793 | - | return cls, nil | |
| 4794 | - | } | |
| 4795 | - | return cls, cerr | |
| 4796 | - | } | |
| 4797 | - | ||
| 4798 | - | // Asynchronously opens @file for reading and writing. | |
| 4799 | - | // | |
| 4800 | - | // For more details, see g_file_open_readwrite() which is | |
| 4801 | - | // the synchronous version of this call. | |
| 4802 | - | // | |
| 4803 | - | // When the operation is finished, @callback will be called. | |
| 4804 | - | // You can then call g_file_open_readwrite_finish() to get | |
| 4805 | - | // the result of the operation. | |
| 4806 | - | func (x *FileBase) OpenReadwriteAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4807 | - | XGFileOpenReadwriteAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4808 | - | } | |
| 4809 | - | ||
| 4810 | - | // Finishes an asynchronous file read operation started with | |
| 4811 | - | // g_file_open_readwrite_async(). | |
| 4812 | - | func (x *FileBase) OpenReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) { | |
| 4813 | - | var cls *FileIOStream | |
| 4814 | - | var cerr *glib.Error | |
| 4815 | - | ||
| 4816 | - | cret := XGFileOpenReadwriteFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 4817 | - | ||
| 4818 | - | if cret == 0 { | |
| 4819 | - | return nil, cerr | |
| 4820 | - | } | |
| 4821 | - | cls = &FileIOStream{} | |
| 4822 | - | cls.Ptr = cret | |
| 4823 | - | if cerr == nil { | |
| 4824 | - | return cls, nil | |
| 4825 | - | } | |
| 4826 | - | return cls, cerr | |
| 4827 | - | } | |
| 4828 | - | ||
| 4829 | - | // Exactly like g_file_get_path(), but caches the result via | |
| 4830 | - | // g_object_set_qdata_full(). This is useful for example in C | |
| 4831 | - | // applications which mix `g_file_*` APIs with native ones. It | |
| 4832 | - | // also avoids an extra duplicated string when possible, so will be | |
| 4833 | - | // generally more efficient. | |
| 4834 | - | // | |
| 4835 | - | // This call does no blocking I/O. | |
| 4836 | - | func (x *FileBase) PeekPath() string { | |
| 4837 | - | cret := XGFilePeekPath(x.GoPointer()) | |
| 4838 | - | return cret | |
| 4839 | - | } | |
| 4840 | - | ||
| 4841 | - | // Polls a file of type %G_FILE_TYPE_MOUNTABLE. | |
| 4842 | - | // | |
| 4843 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4844 | - | // triggering the cancellable object from another thread. If the operation | |
| 4845 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4846 | - | // | |
| 4847 | - | // When the operation is finished, @callback will be called. | |
| 4848 | - | // You can then call g_file_mount_mountable_finish() to get | |
| 4849 | - | // the result of the operation. | |
| 4850 | - | func (x *FileBase) PollMountable(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4851 | - | XGFilePollMountable(x.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4852 | - | } | |
| 4853 | - | ||
| 4854 | - | // Finishes a poll operation. See g_file_poll_mountable() for details. | |
| 4855 | - | // | |
| 4856 | - | // Finish an asynchronous poll operation that was polled | |
| 4857 | - | // with g_file_poll_mountable(). | |
| 4858 | - | func (x *FileBase) PollMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 4859 | - | var cerr *glib.Error | |
| 4860 | - | ||
| 4861 | - | cret := XGFilePollMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4862 | - | if cerr == nil { | |
| 4863 | - | return cret, nil | |
| 4864 | - | } | |
| 4865 | - | return cret, cerr | |
| 4866 | - | } | |
| 4867 | - | ||
| 4868 | - | // Returns the #GAppInfo that is registered as the default | |
| 4869 | - | // application to handle the file specified by @file. | |
| 4870 | - | // | |
| 4871 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4872 | - | // triggering the cancellable object from another thread. If the operation | |
| 4873 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4874 | - | func (x *FileBase) QueryDefaultHandler(CancellableVar *Cancellable) (*AppInfoBase, error) { | |
| 4875 | - | var cls *AppInfoBase | |
| 4876 | - | var cerr *glib.Error | |
| 4877 | - | ||
| 4878 | - | cret := XGFileQueryDefaultHandler(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4879 | - | ||
| 4880 | - | if cret == 0 { | |
| 4881 | - | return nil, cerr | |
| 4882 | - | } | |
| 4883 | - | cls = &AppInfoBase{} | |
| 4884 | - | cls.Ptr = cret | |
| 4885 | - | if cerr == nil { | |
| 4886 | - | return cls, nil | |
| 4887 | - | } | |
| 4888 | - | return cls, cerr | |
| 4889 | - | } | |
| 4890 | - | ||
| 4891 | - | // Async version of g_file_query_default_handler(). | |
| 4892 | - | func (x *FileBase) QueryDefaultHandlerAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4893 | - | XGFileQueryDefaultHandlerAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4894 | - | } | |
| 4895 | - | ||
| 4896 | - | // Finishes a g_file_query_default_handler_async() operation. | |
| 4897 | - | func (x *FileBase) QueryDefaultHandlerFinish(ResultVar AsyncResult) (*AppInfoBase, error) { | |
| 4898 | - | var cls *AppInfoBase | |
| 4899 | - | var cerr *glib.Error | |
| 4900 | - | ||
| 4901 | - | cret := XGFileQueryDefaultHandlerFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4902 | - | ||
| 4903 | - | if cret == 0 { | |
| 4904 | - | return nil, cerr | |
| 4905 | - | } | |
| 4906 | - | cls = &AppInfoBase{} | |
| 4907 | - | cls.Ptr = cret | |
| 4908 | - | if cerr == nil { | |
| 4909 | - | return cls, nil | |
| 4910 | - | } | |
| 4911 | - | return cls, cerr | |
| 4912 | - | } | |
| 4913 | - | ||
| 4914 | - | // Utility function to check if a particular file exists. | |
| 4915 | - | // | |
| 4916 | - | // The fallback implementation of this API is using [method@Gio.File.query_info] | |
| 4917 | - | // and therefore may do blocking I/O. To asynchronously query the existence | |
| 4918 | - | // of a file, use [method@Gio.File.query_info_async]. | |
| 4919 | - | // | |
| 4920 | - | // Note that in many cases it is [racy to first check for file existence](https://en.wikipedia.org/wiki/Time_of_check_to_time_of_use) | |
| 4921 | - | // and then execute something based on the outcome of that, because the | |
| 4922 | - | // file might have been created or removed in between the operations. The | |
| 4923 | - | // general approach to handling that is to not check, but just do the | |
| 4924 | - | // operation and handle the errors as they come. | |
| 4925 | - | // | |
| 4926 | - | // As an example of race-free checking, take the case of reading a file, | |
| 4927 | - | // and if it doesn't exist, creating it. There are two racy versions: read | |
| 4928 | - | // it, and on error create it; and: check if it exists, if not create it. | |
| 4929 | - | // These can both result in two processes creating the file (with perhaps | |
| 4930 | - | // a partially written file as the result). The correct approach is to | |
| 4931 | - | // always try to create the file with g_file_create() which will either | |
| 4932 | - | // atomically create the file or fail with a %G_IO_ERROR_EXISTS error. | |
| 4933 | - | // | |
| 4934 | - | // However, in many cases an existence check is useful in a user interface, | |
| 4935 | - | // for instance to make a menu item sensitive/insensitive, so that you don't | |
| 4936 | - | // have to fool users that something is possible and then just show an error | |
| 4937 | - | // dialog. If you do this, you should make sure to also handle the errors | |
| 4938 | - | // that can happen due to races when you execute the operation. | |
| 4939 | - | func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool { | |
| 4940 | - | cret := XGFileQueryExists(x.GoPointer(), CancellableVar.GoPointer()) | |
| 4941 | - | return cret | |
| 4942 | - | } | |
| 4943 | - | ||
| 4944 | - | // Utility function to inspect the #GFileType of a file. This is | |
| 4945 | - | // implemented using g_file_query_info() and as such does blocking I/O. | |
| 4946 | - | // | |
| 4947 | - | // The primary use case of this method is to check if a file is | |
| 4948 | - | // a regular file, directory, or symlink. | |
| 4949 | - | func (x *FileBase) QueryFileType(FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) FileType { | |
| 4950 | - | cret := XGFileQueryFileType(x.GoPointer(), FlagsVar, CancellableVar.GoPointer()) | |
| 4951 | - | return cret | |
| 4952 | - | } | |
| 4953 | - | ||
| 4954 | - | // Similar to g_file_query_info(), but obtains information | |
| 4955 | - | // about the filesystem the @file is on, rather than the file itself. | |
| 4956 | - | // For instance the amount of space available and the type of | |
| 4957 | - | // the filesystem. | |
| 4958 | - | // | |
| 4959 | - | // The @attributes value is a string that specifies the attributes | |
| 4960 | - | // that should be gathered. It is not an error if it's not possible | |
| 4961 | - | // to read a particular requested attribute from a file - it just | |
| 4962 | - | // won't be set. @attributes should be a comma-separated list of | |
| 4963 | - | // attributes or attribute wildcards. The wildcard "\*" means all | |
| 4964 | - | // attributes, and a wildcard like "filesystem::*" means all attributes | |
| 4965 | - | // in the filesystem namespace. The standard namespace for filesystem | |
| 4966 | - | // attributes is "filesystem". Common attributes of interest are | |
| 4967 | - | // %G_FILE_ATTRIBUTE_FILESYSTEM_SIZE (the total size of the filesystem | |
| 4968 | - | // in bytes), %G_FILE_ATTRIBUTE_FILESYSTEM_FREE (number of bytes available), | |
| 4969 | - | // and %G_FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem). | |
| 4970 | - | // | |
| 4971 | - | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 4972 | - | // by triggering the cancellable object from another thread. If the | |
| 4973 | - | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 4974 | - | // returned. | |
| 4975 | - | // | |
| 4976 | - | // If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will | |
| 4977 | - | // be returned. Other errors are possible too, and depend on what | |
| 4978 | - | // kind of filesystem the file is on. | |
| 4979 | - | func (x *FileBase) QueryFilesystemInfo(AttributesVar string, CancellableVar *Cancellable) (*FileInfo, error) { | |
| 4980 | - | var cls *FileInfo | |
| 4981 | - | var cerr *glib.Error | |
| 4982 | - | ||
| 4983 | - | cret := XGFileQueryFilesystemInfo(x.GoPointer(), AttributesVar, CancellableVar.GoPointer(), &cerr) | |
| 4984 | - | ||
| 4985 | - | if cret == 0 { | |
| 4986 | - | return nil, cerr | |
| 4987 | - | } | |
| 4988 | - | cls = &FileInfo{} | |
| 4989 | - | cls.Ptr = cret | |
| 4990 | - | if cerr == nil { | |
| 4991 | - | return cls, nil | |
| 4992 | - | } | |
| 4993 | - | return cls, cerr | |
| 4994 | - | } | |
| 4995 | - | ||
| 4996 | - | // Asynchronously gets the requested information about the filesystem | |
| 4997 | - | // that the specified @file is on. The result is a #GFileInfo object | |
| 4998 | - | // that contains key-value attributes (such as type or size for the | |
| 4999 | - | // file). | |
| 5000 | - | // | |
| 5001 | - | // For more details, see g_file_query_filesystem_info() which is the | |
| 5002 | - | // synchronous version of this call. | |
| 5003 | - | // | |
| 5004 | - | // When the operation is finished, @callback will be called. You can | |
| 5005 | - | // then call g_file_query_info_finish() to get the result of the | |
| 5006 | - | // operation. | |
| 5007 | - | func (x *FileBase) QueryFilesystemInfoAsync(AttributesVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5008 | - | XGFileQueryFilesystemInfoAsync(x.GoPointer(), AttributesVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5009 | - | } | |
| 5010 | - | ||
| 5011 | - | // Finishes an asynchronous filesystem info query. | |
| 5012 | - | // See g_file_query_filesystem_info_async(). | |
| 5013 | - | func (x *FileBase) QueryFilesystemInfoFinish(ResVar AsyncResult) (*FileInfo, error) { | |
| 5014 | - | var cls *FileInfo | |
| 5015 | - | var cerr *glib.Error | |
| 5016 | - | ||
| 5017 | - | cret := XGFileQueryFilesystemInfoFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5018 | - | ||
| 5019 | - | if cret == 0 { | |
| 5020 | - | return nil, cerr | |
| 5021 | - | } | |
| 5022 | - | cls = &FileInfo{} | |
| 5023 | - | cls.Ptr = cret | |
| 5024 | - | if cerr == nil { | |
| 5025 | - | return cls, nil | |
| 5026 | - | } | |
| 5027 | - | return cls, cerr | |
| 5028 | - | } | |
| 5029 | - | ||
| 5030 | - | // Gets the requested information about specified @file. | |
| 5031 | - | // | |
| 5032 | - | // The result is a [class@Gio.FileInfo] object that contains key-value | |
| 5033 | - | // attributes (such as the type or size of the file). | |
| 5034 | - | // | |
| 5035 | - | // The @attributes value is a string that specifies the file | |
| 5036 | - | // attributes that should be gathered. It is not an error if | |
| 5037 | - | // it’s not possible to read a particular requested attribute | |
| 5038 | - | // from a file — it just won't be set. In particular this means that if a file | |
| 5039 | - | // is inaccessible (due to being in a folder with restrictive permissions), for | |
| 5040 | - | // example, you can expect the returned [class@Gio.FileInfo] to have very few | |
| 5041 | - | // attributes set. You should check whether an attribute is set using | |
| 5042 | - | // [method@Gio.FileInfo.has_attribute] before trying to retrieve its value. | |
| 5043 | - | // | |
| 5044 | - | // It is guaranteed that if any of the following attributes are listed in | |
| 5045 | - | // @attributes, they will always be set in the returned [class@Gio.FileInfo], | |
| 5046 | - | // even if the user doesn’t have permissions to access the file: | |
| 5047 | - | // | |
| 5048 | - | // - [const@Gio.FILE_ATTRIBUTE_STANDARD_NAME] | |
| 5049 | - | // - [const@Gio.FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME] | |
| 5050 | - | // | |
| 5051 | - | // @attributes should be a comma-separated list of attributes or attribute | |
| 5052 | - | // wildcards. The wildcard `"\*"` means all attributes, and a wildcard like | |
| 5053 | - | // `"standard::*"` means all attributes in the standard namespace. | |
| 5054 | - | // An example attribute query might be `"standard::*,owner::user"`. | |
| 5055 | - | // The standard attributes are available as defines, like | |
| 5056 | - | // [const@Gio.FILE_ATTRIBUTE_STANDARD_NAME]. | |
| 5057 | - | // | |
| 5058 | - | // If @cancellable is not `NULL`, then the operation can be cancelled | |
| 5059 | - | // by triggering the cancellable object from another thread. If the | |
| 5060 | - | // operation was cancelled, the error [error@Gio.IOErrorEnum.CANCELLED] will be | |
| 5061 | - | // returned. | |
| 5062 | - | // | |
| 5063 | - | // For symlinks, normally the information about the target of the | |
| 5064 | - | // symlink is returned, rather than information about the symlink | |
| 5065 | - | // itself. However if you pass [flags@Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS] | |
| 5066 | - | // in @flags the information about the symlink itself will be returned. | |
| 5067 | - | // Also, for symlinks that point to non-existing files the information | |
| 5068 | - | // about the symlink itself will be returned. | |
| 5069 | - | // | |
| 5070 | - | // If the file does not exist, the [error@Gio.IOErrorEnum.NOT_FOUND] error will be | |
| 5071 | - | // returned. Other errors are possible too, and depend on what kind of | |
| 5072 | - | // file system the file is on. | |
| 5073 | - | func (x *FileBase) QueryInfo(AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (*FileInfo, error) { | |
| 5074 | - | var cls *FileInfo | |
| 5075 | - | var cerr *glib.Error | |
| 5076 | - | ||
| 5077 | - | cret := XGFileQueryInfo(x.GoPointer(), AttributesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5078 | - | ||
| 5079 | - | if cret == 0 { | |
| 5080 | - | return nil, cerr | |
| 5081 | - | } | |
| 5082 | - | cls = &FileInfo{} | |
| 5083 | - | cls.Ptr = cret | |
| 5084 | - | if cerr == nil { | |
| 5085 | - | return cls, nil | |
| 5086 | - | } | |
| 5087 | - | return cls, cerr | |
| 5088 | - | } | |
| 5089 | - | ||
| 5090 | - | // Asynchronously gets the requested information about specified @file. | |
| 5091 | - | // The result is a #GFileInfo object that contains key-value attributes | |
| 5092 | - | // (such as type or size for the file). | |
| 5093 | - | // | |
| 5094 | - | // For more details, see g_file_query_info() which is the synchronous | |
| 5095 | - | // version of this call. | |
| 5096 | - | // | |
| 5097 | - | // When the operation is finished, @callback will be called. You can | |
| 5098 | - | // then call g_file_query_info_finish() to get the result of the operation. | |
| 5099 | - | func (x *FileBase) QueryInfoAsync(AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5100 | - | XGFileQueryInfoAsync(x.GoPointer(), AttributesVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5101 | - | } | |
| 5102 | - | ||
| 5103 | - | // Finishes an asynchronous file info query. | |
| 5104 | - | // See g_file_query_info_async(). | |
| 5105 | - | func (x *FileBase) QueryInfoFinish(ResVar AsyncResult) (*FileInfo, error) { | |
| 5106 | - | var cls *FileInfo | |
| 5107 | - | var cerr *glib.Error | |
| 5108 | - | ||
| 5109 | - | cret := XGFileQueryInfoFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5110 | - | ||
| 5111 | - | if cret == 0 { | |
| 5112 | - | return nil, cerr | |
| 5113 | - | } | |
| 5114 | - | cls = &FileInfo{} | |
| 5115 | - | cls.Ptr = cret | |
| 5116 | - | if cerr == nil { | |
| 5117 | - | return cls, nil | |
| 5118 | - | } | |
| 5119 | - | return cls, cerr | |
| 5120 | - | } | |
| 5121 | - | ||
| 5122 | - | // Obtain the list of settable attributes for the file. | |
| 5123 | - | // | |
| 5124 | - | // Returns the type and full attribute name of all the attributes | |
| 5125 | - | // that can be set on this file. This doesn't mean setting it will | |
| 5126 | - | // always succeed though, you might get an access failure, or some | |
| 5127 | - | // specific file may not support a specific attribute. | |
| 5128 | - | // | |
| 5129 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5130 | - | // triggering the cancellable object from another thread. If the operation | |
| 5131 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5132 | - | func (x *FileBase) QuerySettableAttributes(CancellableVar *Cancellable) (*FileAttributeInfoList, error) { | |
| 5133 | - | var cerr *glib.Error | |
| 5134 | - | ||
| 5135 | - | cret := XGFileQuerySettableAttributes(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5136 | - | if cerr != nil { | |
| 5137 | - | return nil, cerr | |
| 5138 | - | } | |
| 5139 | - | if cret == 0 { | |
| 5140 | - | return nil, nil | |
| 5141 | - | } | |
| 5142 | - | return (*FileAttributeInfoList)(unsafe.Pointer(cret)), nil | |
| 5143 | - | } | |
| 5144 | - | ||
| 5145 | - | // Obtain the list of attribute namespaces where new attributes | |
| 5146 | - | // can be created by a user. An example of this is extended | |
| 5147 | - | // attributes (in the "xattr" namespace). | |
| 5148 | - | // | |
| 5149 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5150 | - | // triggering the cancellable object from another thread. If the operation | |
| 5151 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5152 | - | func (x *FileBase) QueryWritableNamespaces(CancellableVar *Cancellable) (*FileAttributeInfoList, error) { | |
| 5153 | - | var cerr *glib.Error | |
| 5154 | - | ||
| 5155 | - | cret := XGFileQueryWritableNamespaces(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5156 | - | if cerr != nil { | |
| 5157 | - | return nil, cerr | |
| 5158 | - | } | |
| 5159 | - | if cret == 0 { | |
| 5160 | - | return nil, nil | |
| 5161 | - | } | |
| 5162 | - | return (*FileAttributeInfoList)(unsafe.Pointer(cret)), nil | |
| 5163 | - | } | |
| 5164 | - | ||
| 5165 | - | // Opens a file for reading. The result is a #GFileInputStream that | |
| 5166 | - | // can be used to read the contents of the file. | |
| 5167 | - | // | |
| 5168 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5169 | - | // triggering the cancellable object from another thread. If the operation | |
| 5170 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5171 | - | // | |
| 5172 | - | // If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will be | |
| 5173 | - | // returned. If the file is a directory, the %G_IO_ERROR_IS_DIRECTORY | |
| 5174 | - | // error will be returned. Other errors are possible too, and depend | |
| 5175 | - | // on what kind of filesystem the file is on. | |
| 5176 | - | func (x *FileBase) Read(CancellableVar *Cancellable) (*FileInputStream, error) { | |
| 5177 | - | var cls *FileInputStream | |
| 5178 | - | var cerr *glib.Error | |
| 5179 | - | ||
| 5180 | - | cret := XGFileRead(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5181 | - | ||
| 5182 | - | if cret == 0 { | |
| 5183 | - | return nil, cerr | |
| 5184 | - | } | |
| 5185 | - | cls = &FileInputStream{} | |
| 5186 | - | cls.Ptr = cret | |
| 5187 | - | if cerr == nil { | |
| 5188 | - | return cls, nil | |
| 5189 | - | } | |
| 5190 | - | return cls, cerr | |
| 5191 | - | } | |
| 5192 | - | ||
| 5193 | - | // Asynchronously opens @file for reading. | |
| 5194 | - | // | |
| 5195 | - | // For more details, see g_file_read() which is | |
| 5196 | - | // the synchronous version of this call. | |
| 5197 | - | // | |
| 5198 | - | // When the operation is finished, @callback will be called. | |
| 5199 | - | // You can then call g_file_read_finish() to get the result | |
| 5200 | - | // of the operation. | |
| 5201 | - | func (x *FileBase) ReadAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5202 | - | XGFileReadAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5203 | - | } | |
| 5204 | - | ||
| 5205 | - | // Finishes an asynchronous file read operation started with | |
| 5206 | - | // g_file_read_async(). | |
| 5207 | - | func (x *FileBase) ReadFinish(ResVar AsyncResult) (*FileInputStream, error) { | |
| 5208 | - | var cls *FileInputStream | |
| 5209 | - | var cerr *glib.Error | |
| 5210 | - | ||
| 5211 | - | cret := XGFileReadFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5212 | - | ||
| 5213 | - | if cret == 0 { | |
| 5214 | - | return nil, cerr | |
| 5215 | - | } | |
| 5216 | - | cls = &FileInputStream{} | |
| 5217 | - | cls.Ptr = cret | |
| 5218 | - | if cerr == nil { | |
| 5219 | - | return cls, nil | |
| 5220 | - | } | |
| 5221 | - | return cls, cerr | |
| 5222 | - | } | |
| 5223 | - | ||
| 5224 | - | // Returns an output stream for overwriting the file, possibly | |
| 5225 | - | // creating a backup copy of the file first. If the file doesn't exist, | |
| 5226 | - | // it will be created. | |
| 5227 | - | // | |
| 5228 | - | // This will try to replace the file in the safest way possible so | |
| 5229 | - | // that any errors during the writing will not affect an already | |
| 5230 | - | // existing copy of the file. For instance, for local files it | |
| 5231 | - | // may write to a temporary file and then atomically rename over | |
| 5232 | - | // the destination when the stream is closed. | |
| 5233 | - | // | |
| 5234 | - | // By default files created are generally readable by everyone, | |
| 5235 | - | // but if you pass %G_FILE_CREATE_PRIVATE in @flags the file | |
| 5236 | - | // will be made readable only to the current user, to the level that | |
| 5237 | - | // is supported on the target filesystem. | |
| 5238 | - | // | |
| 5239 | - | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 5240 | - | // by triggering the cancellable object from another thread. If the | |
| 5241 | - | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 5242 | - | // returned. | |
| 5243 | - | // | |
| 5244 | - | // If you pass in a non-%NULL @etag value and @file already exists, then | |
| 5245 | - | // this value is compared to the current entity tag of the file, and if | |
| 5246 | - | // they differ an %G_IO_ERROR_WRONG_ETAG error is returned. This | |
| 5247 | - | // generally means that the file has been changed since you last read | |
| 5248 | - | // it. You can get the new etag from g_file_output_stream_get_etag() | |
| 5249 | - | // after you've finished writing and closed the #GFileOutputStream. When | |
| 5250 | - | // you load a new file you can use g_file_input_stream_query_info() to | |
| 5251 | - | // get the etag of the file. | |
| 5252 | - | // | |
| 5253 | - | // If @make_backup is %TRUE, this function will attempt to make a | |
| 5254 | - | // backup of the current file before overwriting it. If this fails | |
| 5255 | - | // a %G_IO_ERROR_CANT_CREATE_BACKUP error will be returned. If you | |
| 5256 | - | // want to replace anyway, try again with @make_backup set to %FALSE. | |
| 5257 | - | // | |
| 5258 | - | // If the file is a directory the %G_IO_ERROR_IS_DIRECTORY error will | |
| 5259 | - | // be returned, and if the file is some other form of non-regular file | |
| 5260 | - | // then a %G_IO_ERROR_NOT_REGULAR_FILE error will be returned. Some | |
| 5261 | - | // file systems don't allow all file names, and may return an | |
| 5262 | - | // %G_IO_ERROR_INVALID_FILENAME error, and if the name is to long | |
| 5263 | - | // %G_IO_ERROR_FILENAME_TOO_LONG will be returned. Other errors are | |
| 5264 | - | // possible too, and depend on what kind of filesystem the file is on. | |
| 5265 | - | func (x *FileBase) Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) { | |
| 5266 | - | var cls *FileOutputStream | |
| 5267 | - | var cerr *glib.Error | |
| 5268 | - | ||
| 5269 | - | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5270 | - | defer core.GFreeNullable(EtagVarPtr) | |
| 5271 | - | ||
| 5272 | - | cret := XGFileReplace(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5273 | - | ||
| 5274 | - | if cret == 0 { | |
| 5275 | - | return nil, cerr | |
| 5276 | - | } | |
| 5277 | - | cls = &FileOutputStream{} | |
| 5278 | - | cls.Ptr = cret | |
| 5279 | - | if cerr == nil { | |
| 5280 | - | return cls, nil | |
| 5281 | - | } | |
| 5282 | - | return cls, cerr | |
| 5283 | - | } | |
| 5284 | - | ||
| 5285 | - | // Asynchronously overwrites the file, replacing the contents, | |
| 5286 | - | // possibly creating a backup copy of the file first. | |
| 5287 | - | // | |
| 5288 | - | // For more details, see g_file_replace() which is | |
| 5289 | - | // the synchronous version of this call. | |
| 5290 | - | // | |
| 5291 | - | // When the operation is finished, @callback will be called. | |
| 5292 | - | // You can then call g_file_replace_finish() to get the result | |
| 5293 | - | // of the operation. | |
| 5294 | - | func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5295 | - | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5296 | - | defer core.GFreeNullable(EtagVarPtr) | |
| 5297 | - | ||
| 5298 | - | XGFileReplaceAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5299 | - | } | |
| 5300 | - | ||
| 5301 | - | // Replaces the contents of @file with @contents of @length bytes. | |
| 5302 | - | // | |
| 5303 | - | // If @etag is specified (not %NULL), any existing file must have that etag, | |
| 5304 | - | // or the error %G_IO_ERROR_WRONG_ETAG will be returned. | |
| 5305 | - | // | |
| 5306 | - | // If @make_backup is %TRUE, this function will attempt to make a backup | |
| 5307 | - | // of @file. Internally, it uses g_file_replace(), so will try to replace the | |
| 5308 | - | // file contents in the safest way possible. For example, atomic renames are | |
| 5309 | - | // used when replacing local files’ contents. | |
| 5310 | - | // | |
| 5311 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5312 | - | // triggering the cancellable object from another thread. If the operation | |
| 5313 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5314 | - | // | |
| 5315 | - | // The returned @new_etag can be used to verify that the file hasn't | |
| 5316 | - | // changed the next time it is saved over. | |
| 5317 | - | func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) { | |
| 5318 | - | var cerr *glib.Error | |
| 5319 | - | ||
| 5320 | - | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5321 | - | defer core.GFreeNullable(EtagVarPtr) | |
| 5322 | - | ||
| 5323 | - | cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr) | |
| 5324 | - | if cerr == nil { | |
| 5325 | - | return cret, nil | |
| 5326 | - | } | |
| 5327 | - | return cret, cerr | |
| 5328 | - | } | |
| 5329 | - | ||
| 5330 | - | // Starts an asynchronous replacement of @file with the given | |
| 5331 | - | // @contents of @length bytes. @etag will replace the document's | |
| 5332 | - | // current entity tag. | |
| 5333 | - | // | |
| 5334 | - | // When this operation has completed, @callback will be called with | |
| 5335 | - | // @user_user data, and the operation can be finalized with | |
| 5336 | - | // g_file_replace_contents_finish(). | |
| 5337 | - | // | |
| 5338 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5339 | - | // triggering the cancellable object from another thread. If the operation | |
| 5340 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5341 | - | // | |
| 5342 | - | // If @make_backup is %TRUE, this function will attempt to | |
| 5343 | - | // make a backup of @file. | |
| 5344 | - | // | |
| 5345 | - | // Note that no copy of @contents will be made, so it must stay valid | |
| 5346 | - | // until @callback is called. See g_file_replace_contents_bytes_async() | |
| 5347 | - | // for a #GBytes version that will automatically hold a reference to the | |
| 5348 | - | // contents (without copying) for the duration of the call. | |
| 5349 | - | func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5350 | - | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5351 | - | defer core.GFreeNullable(EtagVarPtr) | |
| 5352 | - | ||
| 5353 | - | XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5354 | - | } | |
| 5355 | - | ||
| 5356 | - | // Same as g_file_replace_contents_async() but takes a #GBytes input instead. | |
| 5357 | - | // This function will keep a ref on @contents until the operation is done. | |
| 5358 | - | // Unlike g_file_replace_contents_async() this allows forgetting about the | |
| 5359 | - | // content without waiting for the callback. | |
| 5360 | - | // | |
| 5361 | - | // When this operation has completed, @callback will be called with | |
| 5362 | - | // @user_user data, and the operation can be finalized with | |
| 5363 | - | // g_file_replace_contents_finish(). | |
| 5364 | - | func (x *FileBase) ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5365 | - | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5366 | - | defer core.GFreeNullable(EtagVarPtr) | |
| 5367 | - | ||
| 5368 | - | XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5369 | - | } | |
| 5370 | - | ||
| 5371 | - | // Finishes an asynchronous replace of the given @file. See | |
| 5372 | - | // g_file_replace_contents_async(). Sets @new_etag to the new entity | |
| 5373 | - | // tag for the document, if present. | |
| 5374 | - | func (x *FileBase) ReplaceContentsFinish(ResVar AsyncResult, NewEtagVar *string) (bool, error) { | |
| 5375 | - | var cerr *glib.Error | |
| 5376 | - | ||
| 5377 | - | cret := XGFileReplaceContentsFinish(x.GoPointer(), ResVar.GoPointer(), NewEtagVar, &cerr) | |
| 5378 | - | if cerr == nil { | |
| 5379 | - | return cret, nil | |
| 5380 | - | } | |
| 5381 | - | return cret, cerr | |
| 5382 | - | } | |
| 5383 | - | ||
| 5384 | - | // Finishes an asynchronous file replace operation started with | |
| 5385 | - | // g_file_replace_async(). | |
| 5386 | - | func (x *FileBase) ReplaceFinish(ResVar AsyncResult) (*FileOutputStream, error) { | |
| 5387 | - | var cls *FileOutputStream | |
| 5388 | - | var cerr *glib.Error | |
| 5389 | - | ||
| 5390 | - | cret := XGFileReplaceFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5391 | - | ||
| 5392 | - | if cret == 0 { | |
| 5393 | - | return nil, cerr | |
| 5394 | - | } | |
| 5395 | - | cls = &FileOutputStream{} | |
| 5396 | - | cls.Ptr = cret | |
| 5397 | - | if cerr == nil { | |
| 5398 | - | return cls, nil | |
| 5399 | - | } | |
| 5400 | - | return cls, cerr | |
| 5401 | - | } | |
| 5402 | - | ||
| 5403 | - | // Returns an output stream for overwriting the file in readwrite mode, | |
| 5404 | - | // possibly creating a backup copy of the file first. If the file doesn't | |
| 5405 | - | // exist, it will be created. | |
| 5406 | - | // | |
| 5407 | - | // For details about the behaviour, see g_file_replace() which does the | |
| 5408 | - | // same thing but returns an output stream only. | |
| 5409 | - | // | |
| 5410 | - | // Note that in many non-local file cases read and write streams are not | |
| 5411 | - | // supported, so make sure you really need to do read and write streaming, | |
| 5412 | - | // rather than just opening for reading or writing. | |
| 5413 | - | func (x *FileBase) ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) { | |
| 5414 | - | var cls *FileIOStream | |
| 5415 | - | var cerr *glib.Error | |
| 5416 | - | ||
| 5417 | - | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5418 | - | defer core.GFreeNullable(EtagVarPtr) | |
| 5419 | - | ||
| 5420 | - | cret := XGFileReplaceReadwrite(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5421 | - | ||
| 5422 | - | if cret == 0 { | |
| 5423 | - | return nil, cerr | |
| 5424 | - | } | |
| 5425 | - | cls = &FileIOStream{} | |
| 5426 | - | cls.Ptr = cret | |
| 5427 | - | if cerr == nil { | |
| 5428 | - | return cls, nil | |
| 5429 | - | } | |
| 5430 | - | return cls, cerr | |
| 5431 | - | } | |
| 5432 | - | ||
| 5433 | - | // Asynchronously overwrites the file in read-write mode, | |
| 5434 | - | // replacing the contents, possibly creating a backup copy | |
| 5435 | - | // of the file first. | |
| 5436 | - | // | |
| 5437 | - | // For more details, see g_file_replace_readwrite() which is | |
| 5438 | - | // the synchronous version of this call. | |
| 5439 | - | // | |
| 5440 | - | // When the operation is finished, @callback will be called. | |
| 5441 | - | // You can then call g_file_replace_readwrite_finish() to get | |
| 5442 | - | // the result of the operation. | |
| 5443 | - | func (x *FileBase) ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5444 | - | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5445 | - | defer core.GFreeNullable(EtagVarPtr) | |
| 5446 | - | ||
| 5447 | - | XGFileReplaceReadwriteAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5448 | - | } | |
| 5449 | - | ||
| 5450 | - | // Finishes an asynchronous file replace operation started with | |
| 5451 | - | // g_file_replace_readwrite_async(). | |
| 5452 | - | func (x *FileBase) ReplaceReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) { | |
| 5453 | - | var cls *FileIOStream | |
| 5454 | - | var cerr *glib.Error | |
| 5455 | - | ||
| 5456 | - | cret := XGFileReplaceReadwriteFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5457 | - | ||
| 5458 | - | if cret == 0 { | |
| 5459 | - | return nil, cerr | |
| 5460 | - | } | |
| 5461 | - | cls = &FileIOStream{} | |
| 5462 | - | cls.Ptr = cret | |
| 5463 | - | if cerr == nil { | |
| 5464 | - | return cls, nil | |
| 5465 | - | } | |
| 5466 | - | return cls, cerr | |
| 5467 | - | } | |
| 5468 | - | ||
| 5469 | - | // Resolves a relative path for @file to an absolute path. | |
| 5470 | - | // | |
| 5471 | - | // This call does no blocking I/O. | |
| 5472 | - | // | |
| 5473 | - | // If the @relative_path is an absolute path name, the resolution | |
| 5474 | - | // is done absolutely (without taking @file path as base). | |
| 5475 | - | func (x *FileBase) ResolveRelativePath(RelativePathVar string) *FileBase { | |
| 5476 | - | var cls *FileBase | |
| 5477 | - | ||
| 5478 | - | cret := XGFileResolveRelativePath(x.GoPointer(), RelativePathVar) | |
| 5479 | - | ||
| 5480 | - | if cret == 0 { | |
| 5481 | - | return nil | |
| 5482 | - | } | |
| 5483 | - | cls = &FileBase{} | |
| 5484 | - | cls.Ptr = cret | |
| 5485 | - | return cls | |
| 5486 | - | } | |
| 5487 | - | ||
| 5488 | - | // Sets an attribute in the file with attribute name @attribute to @value_p. | |
| 5489 | - | // | |
| 5490 | - | // Some attributes can be unset by setting @type to | |
| 5491 | - | // %G_FILE_ATTRIBUTE_TYPE_INVALID and @value_p to %NULL. | |
| 5492 | - | // | |
| 5493 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5494 | - | // triggering the cancellable object from another thread. If the operation | |
| 5495 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5496 | - | func (x *FileBase) SetAttribute(AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5497 | - | var cerr *glib.Error | |
| 5498 | - | ||
| 5499 | - | cret := XGFileSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5500 | - | if cerr == nil { | |
| 5501 | - | return cret, nil | |
| 5502 | - | } | |
| 5503 | - | return cret, cerr | |
| 5504 | - | } | |
| 5505 | - | ||
| 5506 | - | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING to @value. | |
| 5507 | - | // If @attribute is of a different type, this operation will fail, | |
| 5508 | - | // returning %FALSE. | |
| 5509 | - | // | |
| 5510 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5511 | - | // triggering the cancellable object from another thread. If the operation | |
| 5512 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5513 | - | func (x *FileBase) SetAttributeByteString(AttributeVar string, ValueVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5514 | - | var cerr *glib.Error | |
| 5515 | - | ||
| 5516 | - | cret := XGFileSetAttributeByteString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5517 | - | if cerr == nil { | |
| 5518 | - | return cret, nil | |
| 5519 | - | } | |
| 5520 | - | return cret, cerr | |
| 5521 | - | } | |
| 5522 | - | ||
| 5523 | - | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT32 to @value. | |
| 5524 | - | // If @attribute is of a different type, this operation will fail. | |
| 5525 | - | // | |
| 5526 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5527 | - | // triggering the cancellable object from another thread. If the operation | |
| 5528 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5529 | - | func (x *FileBase) SetAttributeInt32(AttributeVar string, ValueVar int32, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5530 | - | var cerr *glib.Error | |
| 5531 | - | ||
| 5532 | - | cret := XGFileSetAttributeInt32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5533 | - | if cerr == nil { | |
| 5534 | - | return cret, nil | |
| 5535 | - | } | |
| 5536 | - | return cret, cerr | |
| 5537 | - | } | |
| 5538 | - | ||
| 5539 | - | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT64 to @value. | |
| 5540 | - | // If @attribute is of a different type, this operation will fail. | |
| 5541 | - | // | |
| 5542 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5543 | - | // triggering the cancellable object from another thread. If the operation | |
| 5544 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5545 | - | func (x *FileBase) SetAttributeInt64(AttributeVar string, ValueVar int64, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5546 | - | var cerr *glib.Error | |
| 5547 | - | ||
| 5548 | - | cret := XGFileSetAttributeInt64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5549 | - | if cerr == nil { | |
| 5550 | - | return cret, nil | |
| 5551 | - | } | |
| 5552 | - | return cret, cerr | |
| 5553 | - | } | |
| 5554 | - | ||
| 5555 | - | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_STRING to @value. | |
| 5556 | - | // If @attribute is of a different type, this operation will fail. | |
| 5557 | - | // | |
| 5558 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5559 | - | // triggering the cancellable object from another thread. If the operation | |
| 5560 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5561 | - | func (x *FileBase) SetAttributeString(AttributeVar string, ValueVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5562 | - | var cerr *glib.Error | |
| 5563 | - | ||
| 5564 | - | cret := XGFileSetAttributeString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5565 | - | if cerr == nil { | |
| 5566 | - | return cret, nil | |
| 5567 | - | } | |
| 5568 | - | return cret, cerr | |
| 5569 | - | } | |
| 5570 | - | ||
| 5571 | - | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT32 to @value. | |
| 5572 | - | // If @attribute is of a different type, this operation will fail. | |
| 5573 | - | // | |
| 5574 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5575 | - | // triggering the cancellable object from another thread. If the operation | |
| 5576 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5577 | - | func (x *FileBase) SetAttributeUint32(AttributeVar string, ValueVar uint32, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5578 | - | var cerr *glib.Error | |
| 5579 | - | ||
| 5580 | - | cret := XGFileSetAttributeUint32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5581 | - | if cerr == nil { | |
| 5582 | - | return cret, nil | |
| 5583 | - | } | |
| 5584 | - | return cret, cerr | |
| 5585 | - | } | |
| 5586 | - | ||
| 5587 | - | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT64 to @value. | |
| 5588 | - | // If @attribute is of a different type, this operation will fail. | |
| 5589 | - | // | |
| 5590 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5591 | - | // triggering the cancellable object from another thread. If the operation | |
| 5592 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5593 | - | func (x *FileBase) SetAttributeUint64(AttributeVar string, ValueVar uint64, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5594 | - | var cerr *glib.Error | |
| 5595 | - | ||
| 5596 | - | cret := XGFileSetAttributeUint64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5597 | - | if cerr == nil { | |
| 5598 | - | return cret, nil | |
| 5599 | - | } | |
| 5600 | - | return cret, cerr | |
| 5601 | - | } | |
| 5602 | - | ||
| 5603 | - | // Asynchronously sets the attributes of @file with @info. | |
| 5604 | - | // | |
| 5605 | - | // For more details, see g_file_set_attributes_from_info(), | |
| 5606 | - | // which is the synchronous version of this call. | |
| 5607 | - | // | |
| 5608 | - | // When the operation is finished, @callback will be called. | |
| 5609 | - | // You can then call g_file_set_attributes_finish() to get | |
| 5610 | - | // the result of the operation. | |
| 5611 | - | func (x *FileBase) SetAttributesAsync(InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5612 | - | XGFileSetAttributesAsync(x.GoPointer(), InfoVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5613 | - | } | |
| 5614 | - | ||
| 5615 | - | // Finishes setting an attribute started in g_file_set_attributes_async(). | |
| 5616 | - | func (x *FileBase) SetAttributesFinish(ResultVar AsyncResult, InfoVar **FileInfo) (bool, error) { | |
| 5617 | - | var cerr *glib.Error | |
| 5618 | - | ||
| 5619 | - | cret := XGFileSetAttributesFinish(x.GoPointer(), ResultVar.GoPointer(), InfoVar, &cerr) | |
| 5620 | - | if cerr == nil { | |
| 5621 | - | return cret, nil | |
| 5622 | - | } | |
| 5623 | - | return cret, cerr | |
| 5624 | - | } | |
| 5625 | - | ||
| 5626 | - | // Tries to set all attributes in the #GFileInfo on the target | |
| 5627 | - | // values, not stopping on the first error. | |
| 5628 | - | // | |
| 5629 | - | // If there is any error during this operation then @error will | |
| 5630 | - | // be set to the first error. Error on particular fields are flagged | |
| 5631 | - | // by setting the "status" field in the attribute value to | |
| 5632 | - | // %G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can | |
| 5633 | - | // also detect further errors. | |
| 5634 | - | // | |
| 5635 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5636 | - | // triggering the cancellable object from another thread. If the operation | |
| 5637 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5638 | - | func (x *FileBase) SetAttributesFromInfo(InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5639 | - | var cerr *glib.Error | |
| 5640 | - | ||
| 5641 | - | cret := XGFileSetAttributesFromInfo(x.GoPointer(), InfoVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5642 | - | if cerr == nil { | |
| 5643 | - | return cret, nil | |
| 5644 | - | } | |
| 5645 | - | return cret, cerr | |
| 5646 | - | } | |
| 5647 | - | ||
| 5648 | - | // Renames @file to the specified display name. | |
| 5649 | - | // | |
| 5650 | - | // The display name is converted from UTF-8 to the correct encoding | |
| 5651 | - | // for the target filesystem if possible and the @file is renamed to this. | |
| 5652 | - | // | |
| 5653 | - | // If you want to implement a rename operation in the user interface the | |
| 5654 | - | // edit name (%G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) should be used as the | |
| 5655 | - | // initial value in the rename widget, and then the result after editing | |
| 5656 | - | // should be passed to g_file_set_display_name(). | |
| 5657 | - | // | |
| 5658 | - | // On success the resulting converted filename is returned. | |
| 5659 | - | // | |
| 5660 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5661 | - | // triggering the cancellable object from another thread. If the operation | |
| 5662 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5663 | - | func (x *FileBase) SetDisplayName(DisplayNameVar string, CancellableVar *Cancellable) (*FileBase, error) { | |
| 5664 | - | var cls *FileBase | |
| 5665 | - | var cerr *glib.Error | |
| 5666 | - | ||
| 5667 | - | cret := XGFileSetDisplayName(x.GoPointer(), DisplayNameVar, CancellableVar.GoPointer(), &cerr) | |
| 5668 | - | ||
| 5669 | - | if cret == 0 { | |
| 5670 | - | return nil, cerr | |
| 5671 | - | } | |
| 5672 | - | cls = &FileBase{} | |
| 5673 | - | cls.Ptr = cret | |
| 5674 | - | if cerr == nil { | |
| 5675 | - | return cls, nil | |
| 5676 | - | } | |
| 5677 | - | return cls, cerr | |
| 5678 | - | } | |
| 5679 | - | ||
| 5680 | - | // Asynchronously sets the display name for a given #GFile. | |
| 5681 | - | // | |
| 5682 | - | // For more details, see g_file_set_display_name() which is | |
| 5683 | - | // the synchronous version of this call. | |
| 5684 | - | // | |
| 5685 | - | // When the operation is finished, @callback will be called. | |
| 5686 | - | // You can then call g_file_set_display_name_finish() to get | |
| 5687 | - | // the result of the operation. | |
| 5688 | - | func (x *FileBase) SetDisplayNameAsync(DisplayNameVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5689 | - | XGFileSetDisplayNameAsync(x.GoPointer(), DisplayNameVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5690 | - | } | |
| 5691 | - | ||
| 5692 | - | // Finishes setting a display name started with | |
| 5693 | - | // g_file_set_display_name_async(). | |
| 5694 | - | func (x *FileBase) SetDisplayNameFinish(ResVar AsyncResult) (*FileBase, error) { | |
| 5695 | - | var cls *FileBase | |
| 5696 | - | var cerr *glib.Error | |
| 5697 | - | ||
| 5698 | - | cret := XGFileSetDisplayNameFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5699 | - | ||
| 5700 | - | if cret == 0 { | |
| 5701 | - | return nil, cerr | |
| 5702 | - | } | |
| 5703 | - | cls = &FileBase{} | |
| 5704 | - | cls.Ptr = cret | |
| 5705 | - | if cerr == nil { | |
| 5706 | - | return cls, nil | |
| 5707 | - | } | |
| 5708 | - | return cls, cerr | |
| 5709 | - | } | |
| 5710 | - | ||
| 5711 | - | // Starts a file of type %G_FILE_TYPE_MOUNTABLE. | |
| 5712 | - | // Using @start_operation, you can request callbacks when, for instance, | |
| 5713 | - | // passwords are needed during authentication. | |
| 5714 | - | // | |
| 5715 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5716 | - | // triggering the cancellable object from another thread. If the operation | |
| 5717 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5718 | - | // | |
| 5719 | - | // When the operation is finished, @callback will be called. | |
| 5720 | - | // You can then call g_file_mount_mountable_finish() to get | |
| 5721 | - | // the result of the operation. | |
| 5722 | - | func (x *FileBase) StartMountable(FlagsVar DriveStartFlags, StartOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5723 | - | XGFileStartMountable(x.GoPointer(), FlagsVar, StartOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5724 | - | } | |
| 5725 | - | ||
| 5726 | - | // Finishes a start operation. See g_file_start_mountable() for details. | |
| 5727 | - | // | |
| 5728 | - | // Finish an asynchronous start operation that was started | |
| 5729 | - | // with g_file_start_mountable(). | |
| 5730 | - | func (x *FileBase) StartMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 5731 | - | var cerr *glib.Error | |
| 5732 | - | ||
| 5733 | - | cret := XGFileStartMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5734 | - | if cerr == nil { | |
| 5735 | - | return cret, nil | |
| 5736 | - | } | |
| 5737 | - | return cret, cerr | |
| 5738 | - | } | |
| 5739 | - | ||
| 5740 | - | // Stops a file of type %G_FILE_TYPE_MOUNTABLE. | |
| 5741 | - | // | |
| 5742 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5743 | - | // triggering the cancellable object from another thread. If the operation | |
| 5744 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5745 | - | // | |
| 5746 | - | // When the operation is finished, @callback will be called. | |
| 5747 | - | // You can then call g_file_stop_mountable_finish() to get | |
| 5748 | - | // the result of the operation. | |
| 5749 | - | func (x *FileBase) StopMountable(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5750 | - | XGFileStopMountable(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5751 | - | } | |
| 5752 | - | ||
| 5753 | - | // Finishes a stop operation, see g_file_stop_mountable() for details. | |
| 5754 | - | // | |
| 5755 | - | // Finish an asynchronous stop operation that was started | |
| 5756 | - | // with g_file_stop_mountable(). | |
| 5757 | - | func (x *FileBase) StopMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 5758 | - | var cerr *glib.Error | |
| 5759 | - | ||
| 5760 | - | cret := XGFileStopMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5761 | - | if cerr == nil { | |
| 5762 | - | return cret, nil | |
| 5763 | - | } | |
| 5764 | - | return cret, cerr | |
| 5765 | - | } | |
| 5766 | - | ||
| 5767 | - | // Checks if @file supports thread-default main contexts | |
| 5768 | - | // (see [method@GLib.MainContext.push_thread_default]) | |
| 5769 | - | // If this returns %FALSE, you cannot perform asynchronous operations on | |
| 5770 | - | // @file in a thread that has a thread-default context. | |
| 5771 | - | func (x *FileBase) SupportsThreadContexts() bool { | |
| 5772 | - | cret := XGFileSupportsThreadContexts(x.GoPointer()) | |
| 5773 | - | return cret | |
| 5774 | - | } | |
| 5775 | - | ||
| 5776 | - | // Sends @file to the "Trashcan", if possible. This is similar to | |
| 5777 | - | // deleting it, but the user can recover it before emptying the trashcan. | |
| 5778 | - | // Trashing is disabled for system mounts by default (see | |
| 5779 | - | // g_unix_mount_entry_is_system_internal()), so this call can return the | |
| 5780 | - | // %G_IO_ERROR_NOT_SUPPORTED error. Since GLib 2.66, the `x-gvfs-notrash` unix | |
| 5781 | - | // mount option can be used to disable g_file_trash() support for particular | |
| 5782 | - | // mounts, the %G_IO_ERROR_NOT_SUPPORTED error will be returned in that case. | |
| 5783 | - | // Since 2.82, the `x-gvfs-trash` unix mount option can be used to enable | |
| 5784 | - | // g_file_trash() support for particular system mounts. | |
| 5785 | - | // | |
| 5786 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5787 | - | // triggering the cancellable object from another thread. If the operation | |
| 5788 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5789 | - | func (x *FileBase) Trash(CancellableVar *Cancellable) (bool, error) { | |
| 5790 | - | var cerr *glib.Error | |
| 5791 | - | ||
| 5792 | - | cret := XGFileTrash(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5793 | - | if cerr == nil { | |
| 5794 | - | return cret, nil | |
| 5795 | - | } | |
| 5796 | - | return cret, cerr | |
| 5797 | - | } | |
| 5798 | - | ||
| 5799 | - | // Asynchronously sends @file to the Trash location, if possible. | |
| 5800 | - | func (x *FileBase) TrashAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5801 | - | XGFileTrashAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5802 | - | } | |
| 5803 | - | ||
| 5804 | - | // Finishes an asynchronous file trashing operation, started with | |
| 5805 | - | // g_file_trash_async(). | |
| 5806 | - | func (x *FileBase) TrashFinish(ResultVar AsyncResult) (bool, error) { | |
| 5807 | - | var cerr *glib.Error | |
| 5808 | - | ||
| 5809 | - | cret := XGFileTrashFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5810 | - | if cerr == nil { | |
| 5811 | - | return cret, nil | |
| 5812 | - | } | |
| 5813 | - | return cret, cerr | |
| 5814 | - | } | |
| 5815 | - | ||
| 5816 | - | // Unmounts a file of type G_FILE_TYPE_MOUNTABLE. | |
| 5817 | - | // | |
| 5818 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5819 | - | // triggering the cancellable object from another thread. If the operation | |
| 5820 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5821 | - | // | |
| 5822 | - | // When the operation is finished, @callback will be called. | |
| 5823 | - | // You can then call g_file_unmount_mountable_finish() to get | |
| 5824 | - | // the result of the operation. | |
| 5825 | - | func (x *FileBase) UnmountMountable(FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5826 | - | XGFileUnmountMountable(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5827 | - | } | |
| 5828 | - | ||
| 5829 | - | // Finishes an unmount operation, see g_file_unmount_mountable() for details. | |
| 5830 | - | // | |
| 5831 | - | // Finish an asynchronous unmount operation that was started | |
| 5832 | - | // with g_file_unmount_mountable(). | |
| 5833 | - | func (x *FileBase) UnmountMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 5834 | - | var cerr *glib.Error | |
| 5835 | - | ||
| 5836 | - | cret := XGFileUnmountMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5837 | - | if cerr == nil { | |
| 5838 | - | return cret, nil | |
| 5839 | - | } | |
| 5840 | - | return cret, cerr | |
| 5841 | - | } | |
| 5842 | - | ||
| 5843 | - | // Unmounts a file of type %G_FILE_TYPE_MOUNTABLE. | |
| 5844 | - | // | |
| 5845 | - | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5846 | - | // triggering the cancellable object from another thread. If the operation | |
| 5847 | - | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5848 | - | // | |
| 5849 | - | // When the operation is finished, @callback will be called. | |
| 5850 | - | // You can then call g_file_unmount_mountable_finish() to get | |
| 5851 | - | // the result of the operation. | |
| 5852 | - | func (x *FileBase) UnmountMountableWithOperation(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5853 | - | XGFileUnmountMountableWithOperation(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5854 | - | } | |
| 5855 | - | ||
| 5856 | - | // Finishes an unmount operation, | |
| 5857 | - | // see g_file_unmount_mountable_with_operation() for details. | |
| 5858 | - | // | |
| 5859 | - | // Finish an asynchronous unmount operation that was started | |
| 5860 | - | // with g_file_unmount_mountable_with_operation(). | |
| 5861 | - | func (x *FileBase) UnmountMountableWithOperationFinish(ResultVar AsyncResult) (bool, error) { | |
| 5862 | - | var cerr *glib.Error | |
| 5863 | - | ||
| 5864 | - | cret := XGFileUnmountMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5865 | - | if cerr == nil { | |
| 5866 | - | return cret, nil | |
| 5867 | - | } | |
| 5868 | - | return cret, cerr | |
| 5869 | - | } | |
| 5870 | - | ||
| 5871 | - | var XGFileAppendTo func(uintptr, FileCreateFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 5872 | - | core.LazyRegister(&xXGFileAppendTo, "GIO", "g_file_append_to", false) | |
| 5873 | - | return xXGFileAppendTo(instance, FlagsVarp, CancellableVarp, cerrp) | |
| 5874 | - | } | |
| 5875 | - | ||
| 5876 | - | var ( | |
| 5877 | - | xXGFileAppendTo func(uintptr, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 5878 | - | XGFileAppendToAsync func(uintptr, FileCreateFlags, int, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 5879 | - | core.LazyRegister(&xXGFileAppendToAsync, "GIO", "g_file_append_to_async", false) | |
| 5880 | - | xXGFileAppendToAsync(instance, FlagsVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 5881 | - | } | |
| 5882 | - | ) | |
| 5883 | - | var ( | |
| 5884 | - | xXGFileAppendToAsync func(uintptr, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 5885 | - | XGFileAppendToFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 5886 | - | core.LazyRegister(&xXGFileAppendToFinish, "GIO", "g_file_append_to_finish", false) | |
| 5887 | - | return xXGFileAppendToFinish(instance, ResVarp, cerrp) | |
| 5888 | - | } | |
| 5889 | - | ) | |
| 5890 | - | var ( | |
| 5891 | - | xXGFileAppendToFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5892 | - | XGFileBuildAttributeListForCopy func(uintptr, FileCopyFlags, uintptr, **glib.Error) string = func(instance uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, cerrp **glib.Error) string { | |
| 5893 | - | core.LazyRegister(&xXGFileBuildAttributeListForCopy, "GIO", "g_file_build_attribute_list_for_copy", false) | |
| 5894 | - | return xXGFileBuildAttributeListForCopy(instance, FlagsVarp, CancellableVarp, cerrp) | |
| 5895 | - | } | |
| 5896 | - | ) | |
| 5897 | - | var ( | |
| 5898 | - | xXGFileBuildAttributeListForCopy func(uintptr, FileCopyFlags, uintptr, **glib.Error) string | |
| 5899 | - | XGFileCopy func(uintptr, uintptr, FileCopyFlags, uintptr, uintptr, uintptr, **glib.Error) bool = func(instance uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, cerrp **glib.Error) bool { | |
| 5900 | - | core.LazyRegister(&xXGFileCopy, "GIO", "g_file_copy", false) | |
| 5901 | - | return xXGFileCopy(instance, DestinationVarp, FlagsVarp, CancellableVarp, ProgressCallbackVarp, ProgressCallbackDataVarp, cerrp) | |
| 5902 | - | } | |
| 5903 | - | ) | |
| 5904 | - | var ( | |
| 5905 | - | xXGFileCopy func(uintptr, uintptr, FileCopyFlags, uintptr, uintptr, uintptr, **glib.Error) bool | |
| 5906 | - | XGFileCopyAsync func(uintptr, uintptr, FileCopyFlags, int, uintptr, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 5907 | - | core.LazyRegister(&xXGFileCopyAsync, "GIO", "g_file_copy_async", false) | |
| 5908 | - | xXGFileCopyAsync(instance, DestinationVarp, FlagsVarp, IoPriorityVarp, CancellableVarp, ProgressCallbackVarp, ProgressCallbackDataVarp, CallbackVarp, UserDataVarp) | |
| 5909 | - | } | |
| 5910 | - | ) | |
| 5911 | - | var ( | |
| 5912 | - | xXGFileCopyAsync func(uintptr, uintptr, FileCopyFlags, int, uintptr, uintptr, uintptr, uintptr, uintptr) | |
| 5913 | - | XGFileCopyAsyncWithClosures func(uintptr, uintptr, FileCopyFlags, int, uintptr, *gobject.Closure, *gobject.Closure) = func(instance uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackClosureVarp *gobject.Closure, ReadyCallbackClosureVarp *gobject.Closure) { | |
| 5914 | - | core.LazyRegister(&xXGFileCopyAsyncWithClosures, "GIO", "g_file_copy_async_with_closures", false) | |
| 5915 | - | xXGFileCopyAsyncWithClosures(instance, DestinationVarp, FlagsVarp, IoPriorityVarp, CancellableVarp, ProgressCallbackClosureVarp, ReadyCallbackClosureVarp) | |
| 5916 | - | } | |
| 5917 | - | ) | |
| 5918 | - | var ( | |
| 5919 | - | xXGFileCopyAsyncWithClosures func(uintptr, uintptr, FileCopyFlags, int, uintptr, *gobject.Closure, *gobject.Closure) | |
| 5920 | - | XGFileCopyAttributes func(uintptr, uintptr, FileCopyFlags, uintptr, **glib.Error) bool = func(instance uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 5921 | - | core.LazyRegister(&xXGFileCopyAttributes, "GIO", "g_file_copy_attributes", false) | |
| 5922 | - | return xXGFileCopyAttributes(instance, DestinationVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 5923 | - | } | |
| 5924 | - | ) | |
| 5925 | - | var ( | |
| 5926 | - | xXGFileCopyAttributes func(uintptr, uintptr, FileCopyFlags, uintptr, **glib.Error) bool | |
| 5927 | - | XGFileCopyFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) bool { | |
| 5928 | - | core.LazyRegister(&xXGFileCopyFinish, "GIO", "g_file_copy_finish", false) | |
| 5929 | - | return xXGFileCopyFinish(instance, ResVarp, cerrp) | |
| 5930 | - | } | |
| 5931 | - | ) | |
| 5932 | - | var ( | |
| 5933 | - | xXGFileCopyFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5934 | - | XGFileCreate func(uintptr, FileCreateFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 5935 | - | core.LazyRegister(&xXGFileCreate, "GIO", "g_file_create", false) | |
| 5936 | - | return xXGFileCreate(instance, FlagsVarp, CancellableVarp, cerrp) | |
| 5937 | - | } | |
| 5938 | - | ) | |
| 5939 | - | var ( | |
| 5940 | - | xXGFileCreate func(uintptr, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 5941 | - | XGFileCreateAsync func(uintptr, FileCreateFlags, int, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 5942 | - | core.LazyRegister(&xXGFileCreateAsync, "GIO", "g_file_create_async", false) | |
| 5943 | - | xXGFileCreateAsync(instance, FlagsVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 5944 | - | } | |
| 5945 | - | ) | |
| 5946 | - | var ( | |
| 5947 | - | xXGFileCreateAsync func(uintptr, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 5948 | - | XGFileCreateFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 5949 | - | core.LazyRegister(&xXGFileCreateFinish, "GIO", "g_file_create_finish", false) | |
| 5950 | - | return xXGFileCreateFinish(instance, ResVarp, cerrp) | |
| 5951 | - | } | |
| 5952 | - | ) | |
| 5953 | - | var ( | |
| 5954 | - | xXGFileCreateFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5955 | - | XGFileCreateReadwrite func(uintptr, FileCreateFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 5956 | - | core.LazyRegister(&xXGFileCreateReadwrite, "GIO", "g_file_create_readwrite", false) | |
| 5957 | - | return xXGFileCreateReadwrite(instance, FlagsVarp, CancellableVarp, cerrp) | |
| 5958 | - | } | |
| 5959 | - | ) | |
| 5960 | - | var ( | |
| 5961 | - | xXGFileCreateReadwrite func(uintptr, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 5962 | - | XGFileCreateReadwriteAsync func(uintptr, FileCreateFlags, int, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 5963 | - | core.LazyRegister(&xXGFileCreateReadwriteAsync, "GIO", "g_file_create_readwrite_async", false) | |
| 5964 | - | xXGFileCreateReadwriteAsync(instance, FlagsVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 5965 | - | } | |
| 5966 | - | ) | |
| 5967 | - | var ( | |
| 5968 | - | xXGFileCreateReadwriteAsync func(uintptr, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 5969 | - | XGFileCreateReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 5970 | - | core.LazyRegister(&xXGFileCreateReadwriteFinish, "GIO", "g_file_create_readwrite_finish", false) | |
| 5971 | - | return xXGFileCreateReadwriteFinish(instance, ResVarp, cerrp) | |
| 5972 | - | } | |
| 5973 | - | ) | |
| 5974 | - | var ( | |
| 5975 | - | xXGFileCreateReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5976 | - | XGFileDelete func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 5977 | - | core.LazyRegister(&xXGFileDelete, "GIO", "g_file_delete", false) | |
| 5978 | - | return xXGFileDelete(instance, CancellableVarp, cerrp) | |
| 5979 | - | } | |
| 5980 | - | ) | |
| 5981 | - | var ( | |
| 5982 | - | xXGFileDelete func(uintptr, uintptr, **glib.Error) bool | |
| 5983 | - | XGFileDeleteAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 5984 | - | core.LazyRegister(&xXGFileDeleteAsync, "GIO", "g_file_delete_async", false) | |
| 5985 | - | xXGFileDeleteAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 5986 | - | } | |
| 5987 | - | ) | |
| 5988 | - | var ( | |
| 5989 | - | xXGFileDeleteAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 5990 | - | XGFileDeleteFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 5991 | - | core.LazyRegister(&xXGFileDeleteFinish, "GIO", "g_file_delete_finish", false) | |
| 5992 | - | return xXGFileDeleteFinish(instance, ResultVarp, cerrp) | |
| 5993 | - | } | |
| 5994 | - | ) | |
| 5995 | - | var ( | |
| 5996 | - | xXGFileDeleteFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5997 | - | XGFileDup func(uintptr) uintptr = func(instance uintptr) uintptr { | |
| 5998 | - | core.LazyRegister(&xXGFileDup, "GIO", "g_file_dup", false) | |
| 5999 | - | return xXGFileDup(instance) | |
| 6000 | - | } | |
| 6001 | - | ) | |
| 6002 | - | var ( | |
| 6003 | - | xXGFileDup func(uintptr) uintptr | |
| 6004 | - | XGFileEjectMountable func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6005 | - | core.LazyRegister(&xXGFileEjectMountable, "GIO", "g_file_eject_mountable", false) | |
| 6006 | - | xXGFileEjectMountable(instance, FlagsVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6007 | - | } | |
| 6008 | - | ) | |
| 6009 | - | var ( | |
| 6010 | - | xXGFileEjectMountable func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr) | |
| 6011 | - | XGFileEjectMountableFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6012 | - | core.LazyRegister(&xXGFileEjectMountableFinish, "GIO", "g_file_eject_mountable_finish", false) | |
| 6013 | - | return xXGFileEjectMountableFinish(instance, ResultVarp, cerrp) | |
| 6014 | - | } | |
| 6015 | - | ) | |
| 6016 | - | var ( | |
| 6017 | - | xXGFileEjectMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6018 | - | XGFileEjectMountableWithOperation func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6019 | - | core.LazyRegister(&xXGFileEjectMountableWithOperation, "GIO", "g_file_eject_mountable_with_operation", false) | |
| 6020 | - | xXGFileEjectMountableWithOperation(instance, FlagsVarp, MountOperationVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6021 | - | } | |
| 6022 | - | ) | |
| 6023 | - | var ( | |
| 6024 | - | xXGFileEjectMountableWithOperation func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 6025 | - | XGFileEjectMountableWithOperationFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6026 | - | core.LazyRegister(&xXGFileEjectMountableWithOperationFinish, "GIO", "g_file_eject_mountable_with_operation_finish", false) | |
| 6027 | - | return xXGFileEjectMountableWithOperationFinish(instance, ResultVarp, cerrp) | |
| 6028 | - | } | |
| 6029 | - | ) | |
| 6030 | - | var ( | |
| 6031 | - | xXGFileEjectMountableWithOperationFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6032 | - | XGFileEnumerateChildren func(uintptr, string, FileQueryInfoFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6033 | - | core.LazyRegister(&xXGFileEnumerateChildren, "GIO", "g_file_enumerate_children", false) | |
| 6034 | - | return xXGFileEnumerateChildren(instance, AttributesVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6035 | - | } | |
| 6036 | - | ) | |
| 6037 | - | var ( | |
| 6038 | - | xXGFileEnumerateChildren func(uintptr, string, FileQueryInfoFlags, uintptr, **glib.Error) uintptr | |
| 6039 | - | XGFileEnumerateChildrenAsync func(uintptr, string, FileQueryInfoFlags, int, uintptr, uintptr, uintptr) = func(instance uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6040 | - | core.LazyRegister(&xXGFileEnumerateChildrenAsync, "GIO", "g_file_enumerate_children_async", false) | |
| 6041 | - | xXGFileEnumerateChildrenAsync(instance, AttributesVarp, FlagsVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6042 | - | } | |
| 6043 | - | ) | |
| 6044 | - | var ( | |
| 6045 | - | xXGFileEnumerateChildrenAsync func(uintptr, string, FileQueryInfoFlags, int, uintptr, uintptr, uintptr) | |
| 6046 | - | XGFileEnumerateChildrenFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6047 | - | core.LazyRegister(&xXGFileEnumerateChildrenFinish, "GIO", "g_file_enumerate_children_finish", false) | |
| 6048 | - | return xXGFileEnumerateChildrenFinish(instance, ResVarp, cerrp) | |
| 6049 | - | } | |
| 6050 | - | ) | |
| 6051 | - | var ( | |
| 6052 | - | xXGFileEnumerateChildrenFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6053 | - | XGFileEqual func(uintptr, uintptr) bool = func(instance uintptr, File2Varp uintptr) bool { | |
| 6054 | - | core.LazyRegister(&xXGFileEqual, "GIO", "g_file_equal", false) | |
| 6055 | - | return xXGFileEqual(instance, File2Varp) | |
| 6056 | - | } | |
| 6057 | - | ) | |
| 6058 | - | var ( | |
| 6059 | - | xXGFileEqual func(uintptr, uintptr) bool | |
| 6060 | - | XGFileFindEnclosingMount func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6061 | - | core.LazyRegister(&xXGFileFindEnclosingMount, "GIO", "g_file_find_enclosing_mount", false) | |
| 6062 | - | return xXGFileFindEnclosingMount(instance, CancellableVarp, cerrp) | |
| 6063 | - | } | |
| 6064 | - | ) | |
| 6065 | - | var ( | |
| 6066 | - | xXGFileFindEnclosingMount func(uintptr, uintptr, **glib.Error) uintptr | |
| 6067 | - | XGFileFindEnclosingMountAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6068 | - | core.LazyRegister(&xXGFileFindEnclosingMountAsync, "GIO", "g_file_find_enclosing_mount_async", false) | |
| 6069 | - | xXGFileFindEnclosingMountAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6070 | - | } | |
| 6071 | - | ) | |
| 6072 | - | var ( | |
| 6073 | - | xXGFileFindEnclosingMountAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6074 | - | XGFileFindEnclosingMountFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6075 | - | core.LazyRegister(&xXGFileFindEnclosingMountFinish, "GIO", "g_file_find_enclosing_mount_finish", false) | |
| 6076 | - | return xXGFileFindEnclosingMountFinish(instance, ResVarp, cerrp) | |
| 6077 | - | } | |
| 6078 | - | ) | |
| 6079 | - | var ( | |
| 6080 | - | xXGFileFindEnclosingMountFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6081 | - | XGFileGetBasename func(uintptr) string = func(instance uintptr) string { | |
| 6082 | - | core.LazyRegister(&xXGFileGetBasename, "GIO", "g_file_get_basename", false) | |
| 6083 | - | return xXGFileGetBasename(instance) | |
| 6084 | - | } | |
| 6085 | - | ) | |
| 6086 | - | var ( | |
| 6087 | - | xXGFileGetBasename func(uintptr) string | |
| 6088 | - | XGFileGetChild func(uintptr, string) uintptr = func(instance uintptr, NameVarp string) uintptr { | |
| 6089 | - | core.LazyRegister(&xXGFileGetChild, "GIO", "g_file_get_child", false) | |
| 6090 | - | return xXGFileGetChild(instance, NameVarp) | |
| 6091 | - | } | |
| 6092 | - | ) | |
| 6093 | - | var ( | |
| 6094 | - | xXGFileGetChild func(uintptr, string) uintptr | |
| 6095 | - | XGFileGetChildForDisplayName func(uintptr, string, **glib.Error) uintptr = func(instance uintptr, DisplayNameVarp string, cerrp **glib.Error) uintptr { | |
| 6096 | - | core.LazyRegister(&xXGFileGetChildForDisplayName, "GIO", "g_file_get_child_for_display_name", false) | |
| 6097 | - | return xXGFileGetChildForDisplayName(instance, DisplayNameVarp, cerrp) | |
| 6098 | - | } | |
| 6099 | - | ) | |
| 6100 | - | var ( | |
| 6101 | - | xXGFileGetChildForDisplayName func(uintptr, string, **glib.Error) uintptr | |
| 6102 | - | XGFileGetParent func(uintptr) uintptr = func(instance uintptr) uintptr { | |
| 6103 | - | core.LazyRegister(&xXGFileGetParent, "GIO", "g_file_get_parent", false) | |
| 6104 | - | return xXGFileGetParent(instance) | |
| 6105 | - | } | |
| 6106 | - | ) | |
| 6107 | - | var ( | |
| 6108 | - | xXGFileGetParent func(uintptr) uintptr | |
| 6109 | - | XGFileGetParseName func(uintptr) string = func(instance uintptr) string { | |
| 6110 | - | core.LazyRegister(&xXGFileGetParseName, "GIO", "g_file_get_parse_name", false) | |
| 6111 | - | return xXGFileGetParseName(instance) | |
| 6112 | - | } | |
| 6113 | - | ) | |
| 6114 | - | var ( | |
| 6115 | - | xXGFileGetParseName func(uintptr) string | |
| 6116 | - | XGFileGetPath func(uintptr) string = func(instance uintptr) string { | |
| 6117 | - | core.LazyRegister(&xXGFileGetPath, "GIO", "g_file_get_path", false) | |
| 6118 | - | return xXGFileGetPath(instance) | |
| 6119 | - | } | |
| 6120 | - | ) | |
| 6121 | - | var ( | |
| 6122 | - | xXGFileGetPath func(uintptr) string | |
| 6123 | - | XGFileGetRelativePath func(uintptr, uintptr) string = func(instance uintptr, DescendantVarp uintptr) string { | |
| 6124 | - | core.LazyRegister(&xXGFileGetRelativePath, "GIO", "g_file_get_relative_path", false) | |
| 6125 | - | return xXGFileGetRelativePath(instance, DescendantVarp) | |
| 6126 | - | } | |
| 6127 | - | ) | |
| 6128 | - | var ( | |
| 6129 | - | xXGFileGetRelativePath func(uintptr, uintptr) string | |
| 6130 | - | XGFileGetUri func(uintptr) string = func(instance uintptr) string { | |
| 6131 | - | core.LazyRegister(&xXGFileGetUri, "GIO", "g_file_get_uri", false) | |
| 6132 | - | return xXGFileGetUri(instance) | |
| 6133 | - | } | |
| 6134 | - | ) | |
| 6135 | - | var ( | |
| 6136 | - | xXGFileGetUri func(uintptr) string | |
| 6137 | - | XGFileGetUriScheme func(uintptr) string = func(instance uintptr) string { | |
| 6138 | - | core.LazyRegister(&xXGFileGetUriScheme, "GIO", "g_file_get_uri_scheme", false) | |
| 6139 | - | return xXGFileGetUriScheme(instance) | |
| 6140 | - | } | |
| 6141 | - | ) | |
| 6142 | - | var ( | |
| 6143 | - | xXGFileGetUriScheme func(uintptr) string | |
| 6144 | - | XGFileHasParent func(uintptr, uintptr) bool = func(instance uintptr, ParentVarp uintptr) bool { | |
| 6145 | - | core.LazyRegister(&xXGFileHasParent, "GIO", "g_file_has_parent", false) | |
| 6146 | - | return xXGFileHasParent(instance, ParentVarp) | |
| 6147 | - | } | |
| 6148 | - | ) | |
| 6149 | - | var ( | |
| 6150 | - | xXGFileHasParent func(uintptr, uintptr) bool | |
| 6151 | - | XGFileHasPrefix func(uintptr, uintptr) bool = func(instance uintptr, PrefixVarp uintptr) bool { | |
| 6152 | - | core.LazyRegister(&xXGFileHasPrefix, "GIO", "g_file_has_prefix", false) | |
| 6153 | - | return xXGFileHasPrefix(instance, PrefixVarp) | |
| 6154 | - | } | |
| 6155 | - | ) | |
| 6156 | - | var ( | |
| 6157 | - | xXGFileHasPrefix func(uintptr, uintptr) bool | |
| 6158 | - | XGFileHasUriScheme func(uintptr, string) bool = func(instance uintptr, UriSchemeVarp string) bool { | |
| 6159 | - | core.LazyRegister(&xXGFileHasUriScheme, "GIO", "g_file_has_uri_scheme", false) | |
| 6160 | - | return xXGFileHasUriScheme(instance, UriSchemeVarp) | |
| 6161 | - | } | |
| 6162 | - | ) | |
| 6163 | - | var ( | |
| 6164 | - | xXGFileHasUriScheme func(uintptr, string) bool | |
| 6165 | - | XGFileHash func(uintptr) uint = func(instance uintptr) uint { | |
| 6166 | - | core.LazyRegister(&xXGFileHash, "GIO", "g_file_hash", false) | |
| 6167 | - | return xXGFileHash(instance) | |
| 6168 | - | } | |
| 6169 | - | ) | |
| 6170 | - | var ( | |
| 6171 | - | xXGFileHash func(uintptr) uint | |
| 6172 | - | XGFileIsNative func(uintptr) bool = func(instance uintptr) bool { | |
| 6173 | - | core.LazyRegister(&xXGFileIsNative, "GIO", "g_file_is_native", false) | |
| 6174 | - | return xXGFileIsNative(instance) | |
| 6175 | - | } | |
| 6176 | - | ) | |
| 6177 | - | var ( | |
| 6178 | - | xXGFileIsNative func(uintptr) bool | |
| 6179 | - | XGFileLoadBytes func(uintptr, uintptr, *string, **glib.Error) uintptr = func(instance uintptr, CancellableVarp uintptr, EtagOutVarp *string, cerrp **glib.Error) uintptr { | |
| 6180 | - | core.LazyRegister(&xXGFileLoadBytes, "GIO", "g_file_load_bytes", false) | |
| 6181 | - | return xXGFileLoadBytes(instance, CancellableVarp, EtagOutVarp, cerrp) | |
| 6182 | - | } | |
| 6183 | - | ) | |
| 6184 | - | var ( | |
| 6185 | - | xXGFileLoadBytes func(uintptr, uintptr, *string, **glib.Error) uintptr | |
| 6186 | - | XGFileLoadBytesAsync func(uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6187 | - | core.LazyRegister(&xXGFileLoadBytesAsync, "GIO", "g_file_load_bytes_async", false) | |
| 6188 | - | xXGFileLoadBytesAsync(instance, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6189 | - | } | |
| 6190 | - | ) | |
| 6191 | - | var ( | |
| 6192 | - | xXGFileLoadBytesAsync func(uintptr, uintptr, uintptr, uintptr) | |
| 6193 | - | XGFileLoadBytesFinish func(uintptr, uintptr, *string, **glib.Error) uintptr = func(instance uintptr, ResultVarp uintptr, EtagOutVarp *string, cerrp **glib.Error) uintptr { | |
| 6194 | - | core.LazyRegister(&xXGFileLoadBytesFinish, "GIO", "g_file_load_bytes_finish", false) | |
| 6195 | - | return xXGFileLoadBytesFinish(instance, ResultVarp, EtagOutVarp, cerrp) | |
| 6196 | - | } | |
| 6197 | - | ) | |
| 6198 | - | var ( | |
| 6199 | - | xXGFileLoadBytesFinish func(uintptr, uintptr, *string, **glib.Error) uintptr | |
| 6200 | - | XGFileLoadContents func(uintptr, uintptr, *[]string, *uint, *string, **glib.Error) bool = func(instance uintptr, CancellableVarp uintptr, ContentsVarp *[]string, LengthVarp *uint, EtagOutVarp *string, cerrp **glib.Error) bool { | |
| 6201 | - | core.LazyRegister(&xXGFileLoadContents, "GIO", "g_file_load_contents", false) | |
| 6202 | - | return xXGFileLoadContents(instance, CancellableVarp, ContentsVarp, LengthVarp, EtagOutVarp, cerrp) | |
| 6203 | - | } | |
| 6204 | - | ) | |
| 6205 | - | var ( | |
| 6206 | - | xXGFileLoadContents func(uintptr, uintptr, *[]string, *uint, *string, **glib.Error) bool | |
| 6207 | - | XGFileLoadContentsAsync func(uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6208 | - | core.LazyRegister(&xXGFileLoadContentsAsync, "GIO", "g_file_load_contents_async", false) | |
| 6209 | - | xXGFileLoadContentsAsync(instance, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6210 | - | } | |
| 6211 | - | ) | |
| 6212 | - | var ( | |
| 6213 | - | xXGFileLoadContentsAsync func(uintptr, uintptr, uintptr, uintptr) | |
| 6214 | - | XGFileLoadContentsFinish func(uintptr, uintptr, *[]string, *uint, *string, **glib.Error) bool = func(instance uintptr, ResVarp uintptr, ContentsVarp *[]string, LengthVarp *uint, EtagOutVarp *string, cerrp **glib.Error) bool { | |
| 6215 | - | core.LazyRegister(&xXGFileLoadContentsFinish, "GIO", "g_file_load_contents_finish", false) | |
| 6216 | - | return xXGFileLoadContentsFinish(instance, ResVarp, ContentsVarp, LengthVarp, EtagOutVarp, cerrp) | |
| 6217 | - | } | |
| 6218 | - | ) | |
| 6219 | - | var ( | |
| 6220 | - | xXGFileLoadContentsFinish func(uintptr, uintptr, *[]string, *uint, *string, **glib.Error) bool | |
| 6221 | - | XGFileLoadPartialContentsAsync func(uintptr, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, CancellableVarp uintptr, ReadMoreCallbackVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6222 | - | core.LazyRegister(&xXGFileLoadPartialContentsAsync, "GIO", "g_file_load_partial_contents_async", false) | |
| 6223 | - | xXGFileLoadPartialContentsAsync(instance, CancellableVarp, ReadMoreCallbackVarp, CallbackVarp, UserDataVarp) | |
| 6224 | - | } | |
| 6225 | - | ) | |
| 6226 | - | var ( | |
| 6227 | - | xXGFileLoadPartialContentsAsync func(uintptr, uintptr, uintptr, uintptr, uintptr) | |
| 6228 | - | XGFileLoadPartialContentsFinish func(uintptr, uintptr, *[]string, *uint, *string, **glib.Error) bool = func(instance uintptr, ResVarp uintptr, ContentsVarp *[]string, LengthVarp *uint, EtagOutVarp *string, cerrp **glib.Error) bool { | |
| 6229 | - | core.LazyRegister(&xXGFileLoadPartialContentsFinish, "GIO", "g_file_load_partial_contents_finish", false) | |
| 6230 | - | return xXGFileLoadPartialContentsFinish(instance, ResVarp, ContentsVarp, LengthVarp, EtagOutVarp, cerrp) | |
| 6231 | - | } | |
| 6232 | - | ) | |
| 6233 | - | var ( | |
| 6234 | - | xXGFileLoadPartialContentsFinish func(uintptr, uintptr, *[]string, *uint, *string, **glib.Error) bool | |
| 6235 | - | XGFileMakeDirectory func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6236 | - | core.LazyRegister(&xXGFileMakeDirectory, "GIO", "g_file_make_directory", false) | |
| 6237 | - | return xXGFileMakeDirectory(instance, CancellableVarp, cerrp) | |
| 6238 | - | } | |
| 6239 | - | ) | |
| 6240 | - | var ( | |
| 6241 | - | xXGFileMakeDirectory func(uintptr, uintptr, **glib.Error) bool | |
| 6242 | - | XGFileMakeDirectoryAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6243 | - | core.LazyRegister(&xXGFileMakeDirectoryAsync, "GIO", "g_file_make_directory_async", false) | |
| 6244 | - | xXGFileMakeDirectoryAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6245 | - | } | |
| 6246 | - | ) | |
| 6247 | - | var ( | |
| 6248 | - | xXGFileMakeDirectoryAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6249 | - | XGFileMakeDirectoryFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6250 | - | core.LazyRegister(&xXGFileMakeDirectoryFinish, "GIO", "g_file_make_directory_finish", false) | |
| 6251 | - | return xXGFileMakeDirectoryFinish(instance, ResultVarp, cerrp) | |
| 6252 | - | } | |
| 6253 | - | ) | |
| 6254 | - | var ( | |
| 6255 | - | xXGFileMakeDirectoryFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6256 | - | XGFileMakeDirectoryWithParents func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6257 | - | core.LazyRegister(&xXGFileMakeDirectoryWithParents, "GIO", "g_file_make_directory_with_parents", false) | |
| 6258 | - | return xXGFileMakeDirectoryWithParents(instance, CancellableVarp, cerrp) | |
| 6259 | - | } | |
| 6260 | - | ) | |
| 6261 | - | var ( | |
| 6262 | - | xXGFileMakeDirectoryWithParents func(uintptr, uintptr, **glib.Error) bool | |
| 6263 | - | XGFileMakeSymbolicLink func(uintptr, string, uintptr, **glib.Error) bool = func(instance uintptr, SymlinkValueVarp string, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6264 | - | core.LazyRegister(&xXGFileMakeSymbolicLink, "GIO", "g_file_make_symbolic_link", false) | |
| 6265 | - | return xXGFileMakeSymbolicLink(instance, SymlinkValueVarp, CancellableVarp, cerrp) | |
| 6266 | - | } | |
| 6267 | - | ) | |
| 6268 | - | var ( | |
| 6269 | - | xXGFileMakeSymbolicLink func(uintptr, string, uintptr, **glib.Error) bool | |
| 6270 | - | XGFileMakeSymbolicLinkAsync func(uintptr, string, int, uintptr, uintptr, uintptr) = func(instance uintptr, SymlinkValueVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6271 | - | core.LazyRegister(&xXGFileMakeSymbolicLinkAsync, "GIO", "g_file_make_symbolic_link_async", false) | |
| 6272 | - | xXGFileMakeSymbolicLinkAsync(instance, SymlinkValueVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6273 | - | } | |
| 6274 | - | ) | |
| 6275 | - | var ( | |
| 6276 | - | xXGFileMakeSymbolicLinkAsync func(uintptr, string, int, uintptr, uintptr, uintptr) | |
| 6277 | - | XGFileMakeSymbolicLinkFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6278 | - | core.LazyRegister(&xXGFileMakeSymbolicLinkFinish, "GIO", "g_file_make_symbolic_link_finish", false) | |
| 6279 | - | return xXGFileMakeSymbolicLinkFinish(instance, ResultVarp, cerrp) | |
| 6280 | - | } | |
| 6281 | - | ) | |
| 6282 | - | var ( | |
| 6283 | - | xXGFileMakeSymbolicLinkFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6284 | - | XGFileMeasureDiskUsage func(uintptr, FileMeasureFlags, uintptr, uintptr, uintptr, *uint64, *uint64, *uint64, **glib.Error) bool = func(instance uintptr, FlagsVarp FileMeasureFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64, cerrp **glib.Error) bool { | |
| 6285 | - | core.LazyRegister(&xXGFileMeasureDiskUsage, "GIO", "g_file_measure_disk_usage", false) | |
| 6286 | - | return xXGFileMeasureDiskUsage(instance, FlagsVarp, CancellableVarp, ProgressCallbackVarp, ProgressDataVarp, DiskUsageVarp, NumDirsVarp, NumFilesVarp, cerrp) | |
| 6287 | - | } | |
| 6288 | - | ) | |
| 6289 | - | var ( | |
| 6290 | - | xXGFileMeasureDiskUsage func(uintptr, FileMeasureFlags, uintptr, uintptr, uintptr, *uint64, *uint64, *uint64, **glib.Error) bool | |
| 6291 | - | XGFileMeasureDiskUsageAsync func(uintptr, FileMeasureFlags, int, uintptr, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp FileMeasureFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6292 | - | core.LazyRegister(&xXGFileMeasureDiskUsageAsync, "GIO", "g_file_measure_disk_usage_async", false) | |
| 6293 | - | xXGFileMeasureDiskUsageAsync(instance, FlagsVarp, IoPriorityVarp, CancellableVarp, ProgressCallbackVarp, ProgressDataVarp, CallbackVarp, UserDataVarp) | |
| 6294 | - | } | |
| 6295 | - | ) | |
| 6296 | - | var ( | |
| 6297 | - | xXGFileMeasureDiskUsageAsync func(uintptr, FileMeasureFlags, int, uintptr, uintptr, uintptr, uintptr, uintptr) | |
| 6298 | - | XGFileMeasureDiskUsageFinish func(uintptr, uintptr, *uint64, *uint64, *uint64, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64, cerrp **glib.Error) bool { | |
| 6299 | - | core.LazyRegister(&xXGFileMeasureDiskUsageFinish, "GIO", "g_file_measure_disk_usage_finish", false) | |
| 6300 | - | return xXGFileMeasureDiskUsageFinish(instance, ResultVarp, DiskUsageVarp, NumDirsVarp, NumFilesVarp, cerrp) | |
| 6301 | - | } | |
| 6302 | - | ) | |
| 6303 | - | var ( | |
| 6304 | - | xXGFileMeasureDiskUsageFinish func(uintptr, uintptr, *uint64, *uint64, *uint64, **glib.Error) bool | |
| 6305 | - | XGFileMonitor func(uintptr, FileMonitorFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6306 | - | core.LazyRegister(&xXGFileMonitor, "GIO", "g_file_monitor", false) | |
| 6307 | - | return xXGFileMonitor(instance, FlagsVarp, CancellableVarp, cerrp) | |
| 6308 | - | } | |
| 6309 | - | ) | |
| 6310 | - | var ( | |
| 6311 | - | xXGFileMonitor func(uintptr, FileMonitorFlags, uintptr, **glib.Error) uintptr | |
| 6312 | - | XGFileMonitorDirectory func(uintptr, FileMonitorFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6313 | - | core.LazyRegister(&xXGFileMonitorDirectory, "GIO", "g_file_monitor_directory", false) | |
| 6314 | - | return xXGFileMonitorDirectory(instance, FlagsVarp, CancellableVarp, cerrp) | |
| 6315 | - | } | |
| 6316 | - | ) | |
| 6317 | - | var ( | |
| 6318 | - | xXGFileMonitorDirectory func(uintptr, FileMonitorFlags, uintptr, **glib.Error) uintptr | |
| 6319 | - | XGFileMonitorFile func(uintptr, FileMonitorFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6320 | - | core.LazyRegister(&xXGFileMonitorFile, "GIO", "g_file_monitor_file", false) | |
| 6321 | - | return xXGFileMonitorFile(instance, FlagsVarp, CancellableVarp, cerrp) | |
| 6322 | - | } | |
| 6323 | - | ) | |
| 6324 | - | var ( | |
| 6325 | - | xXGFileMonitorFile func(uintptr, FileMonitorFlags, uintptr, **glib.Error) uintptr | |
| 6326 | - | XGFileMountEnclosingVolume func(uintptr, MountMountFlags, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6327 | - | core.LazyRegister(&xXGFileMountEnclosingVolume, "GIO", "g_file_mount_enclosing_volume", false) | |
| 6328 | - | xXGFileMountEnclosingVolume(instance, FlagsVarp, MountOperationVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6329 | - | } | |
| 6330 | - | ) | |
| 6331 | - | var ( | |
| 6332 | - | xXGFileMountEnclosingVolume func(uintptr, MountMountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 6333 | - | XGFileMountEnclosingVolumeFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6334 | - | core.LazyRegister(&xXGFileMountEnclosingVolumeFinish, "GIO", "g_file_mount_enclosing_volume_finish", false) | |
| 6335 | - | return xXGFileMountEnclosingVolumeFinish(instance, ResultVarp, cerrp) | |
| 6336 | - | } | |
| 6337 | - | ) | |
| 6338 | - | var ( | |
| 6339 | - | xXGFileMountEnclosingVolumeFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6340 | - | XGFileMountMountable func(uintptr, MountMountFlags, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6341 | - | core.LazyRegister(&xXGFileMountMountable, "GIO", "g_file_mount_mountable", false) | |
| 6342 | - | xXGFileMountMountable(instance, FlagsVarp, MountOperationVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6343 | - | } | |
| 6344 | - | ) | |
| 6345 | - | var ( | |
| 6346 | - | xXGFileMountMountable func(uintptr, MountMountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 6347 | - | XGFileMountMountableFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6348 | - | core.LazyRegister(&xXGFileMountMountableFinish, "GIO", "g_file_mount_mountable_finish", false) | |
| 6349 | - | return xXGFileMountMountableFinish(instance, ResultVarp, cerrp) | |
| 6350 | - | } | |
| 6351 | - | ) | |
| 6352 | - | var ( | |
| 6353 | - | xXGFileMountMountableFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6354 | - | XGFileMove func(uintptr, uintptr, FileCopyFlags, uintptr, uintptr, uintptr, **glib.Error) bool = func(instance uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, cerrp **glib.Error) bool { | |
| 6355 | - | core.LazyRegister(&xXGFileMove, "GIO", "g_file_move", false) | |
| 6356 | - | return xXGFileMove(instance, DestinationVarp, FlagsVarp, CancellableVarp, ProgressCallbackVarp, ProgressCallbackDataVarp, cerrp) | |
| 6357 | - | } | |
| 6358 | - | ) | |
| 6359 | - | var ( | |
| 6360 | - | xXGFileMove func(uintptr, uintptr, FileCopyFlags, uintptr, uintptr, uintptr, **glib.Error) bool | |
| 6361 | - | XGFileMoveAsync func(uintptr, uintptr, FileCopyFlags, int, uintptr, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6362 | - | core.LazyRegister(&xXGFileMoveAsync, "GIO", "g_file_move_async", false) | |
| 6363 | - | xXGFileMoveAsync(instance, DestinationVarp, FlagsVarp, IoPriorityVarp, CancellableVarp, ProgressCallbackVarp, ProgressCallbackDataVarp, CallbackVarp, UserDataVarp) | |
| 6364 | - | } | |
| 6365 | - | ) | |
| 6366 | - | var ( | |
| 6367 | - | xXGFileMoveAsync func(uintptr, uintptr, FileCopyFlags, int, uintptr, uintptr, uintptr, uintptr, uintptr) | |
| 6368 | - | XGFileMoveAsyncWithClosures func(uintptr, uintptr, FileCopyFlags, int, uintptr, *gobject.Closure, *gobject.Closure) = func(instance uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackClosureVarp *gobject.Closure, ReadyCallbackClosureVarp *gobject.Closure) { | |
| 6369 | - | core.LazyRegister(&xXGFileMoveAsyncWithClosures, "GIO", "g_file_move_async_with_closures", false) | |
| 6370 | - | xXGFileMoveAsyncWithClosures(instance, DestinationVarp, FlagsVarp, IoPriorityVarp, CancellableVarp, ProgressCallbackClosureVarp, ReadyCallbackClosureVarp) | |
| 6371 | - | } | |
| 6372 | - | ) | |
| 6373 | - | var ( | |
| 6374 | - | xXGFileMoveAsyncWithClosures func(uintptr, uintptr, FileCopyFlags, int, uintptr, *gobject.Closure, *gobject.Closure) | |
| 6375 | - | XGFileMoveFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6376 | - | core.LazyRegister(&xXGFileMoveFinish, "GIO", "g_file_move_finish", false) | |
| 6377 | - | return xXGFileMoveFinish(instance, ResultVarp, cerrp) | |
| 6378 | - | } | |
| 6379 | - | ) | |
| 6380 | - | var ( | |
| 6381 | - | xXGFileMoveFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6382 | - | XGFileOpenReadwrite func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6383 | - | core.LazyRegister(&xXGFileOpenReadwrite, "GIO", "g_file_open_readwrite", false) | |
| 6384 | - | return xXGFileOpenReadwrite(instance, CancellableVarp, cerrp) | |
| 6385 | - | } | |
| 6386 | - | ) | |
| 6387 | - | var ( | |
| 6388 | - | xXGFileOpenReadwrite func(uintptr, uintptr, **glib.Error) uintptr | |
| 6389 | - | XGFileOpenReadwriteAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6390 | - | core.LazyRegister(&xXGFileOpenReadwriteAsync, "GIO", "g_file_open_readwrite_async", false) | |
| 6391 | - | xXGFileOpenReadwriteAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6392 | - | } | |
| 6393 | - | ) | |
| 6394 | - | var ( | |
| 6395 | - | xXGFileOpenReadwriteAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6396 | - | XGFileOpenReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6397 | - | core.LazyRegister(&xXGFileOpenReadwriteFinish, "GIO", "g_file_open_readwrite_finish", false) | |
| 6398 | - | return xXGFileOpenReadwriteFinish(instance, ResVarp, cerrp) | |
| 6399 | - | } | |
| 6400 | - | ) | |
| 6401 | - | var ( | |
| 6402 | - | xXGFileOpenReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6403 | - | XGFilePeekPath func(uintptr) string = func(instance uintptr) string { | |
| 6404 | - | core.LazyRegister(&xXGFilePeekPath, "GIO", "g_file_peek_path", false) | |
| 6405 | - | return xXGFilePeekPath(instance) | |
| 6406 | - | } | |
| 6407 | - | ) | |
| 6408 | - | var ( | |
| 6409 | - | xXGFilePeekPath func(uintptr) string | |
| 6410 | - | XGFilePollMountable func(uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6411 | - | core.LazyRegister(&xXGFilePollMountable, "GIO", "g_file_poll_mountable", false) | |
| 6412 | - | xXGFilePollMountable(instance, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6413 | - | } | |
| 6414 | - | ) | |
| 6415 | - | var ( | |
| 6416 | - | xXGFilePollMountable func(uintptr, uintptr, uintptr, uintptr) | |
| 6417 | - | XGFilePollMountableFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6418 | - | core.LazyRegister(&xXGFilePollMountableFinish, "GIO", "g_file_poll_mountable_finish", false) | |
| 6419 | - | return xXGFilePollMountableFinish(instance, ResultVarp, cerrp) | |
| 6420 | - | } | |
| 6421 | - | ) | |
| 6422 | - | var ( | |
| 6423 | - | xXGFilePollMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6424 | - | XGFileQueryDefaultHandler func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6425 | - | core.LazyRegister(&xXGFileQueryDefaultHandler, "GIO", "g_file_query_default_handler", false) | |
| 6426 | - | return xXGFileQueryDefaultHandler(instance, CancellableVarp, cerrp) | |
| 6427 | - | } | |
| 6428 | - | ) | |
| 6429 | - | var ( | |
| 6430 | - | xXGFileQueryDefaultHandler func(uintptr, uintptr, **glib.Error) uintptr | |
| 6431 | - | XGFileQueryDefaultHandlerAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6432 | - | core.LazyRegister(&xXGFileQueryDefaultHandlerAsync, "GIO", "g_file_query_default_handler_async", false) | |
| 6433 | - | xXGFileQueryDefaultHandlerAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6434 | - | } | |
| 6435 | - | ) | |
| 6436 | - | var ( | |
| 6437 | - | xXGFileQueryDefaultHandlerAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6438 | - | XGFileQueryDefaultHandlerFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6439 | - | core.LazyRegister(&xXGFileQueryDefaultHandlerFinish, "GIO", "g_file_query_default_handler_finish", false) | |
| 6440 | - | return xXGFileQueryDefaultHandlerFinish(instance, ResultVarp, cerrp) | |
| 6441 | - | } | |
| 6442 | - | ) | |
| 6443 | - | var ( | |
| 6444 | - | xXGFileQueryDefaultHandlerFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6445 | - | XGFileQueryExists func(uintptr, uintptr) bool = func(instance uintptr, CancellableVarp uintptr) bool { | |
| 6446 | - | core.LazyRegister(&xXGFileQueryExists, "GIO", "g_file_query_exists", false) | |
| 6447 | - | return xXGFileQueryExists(instance, CancellableVarp) | |
| 6448 | - | } | |
| 6449 | - | ) | |
| 6450 | - | var ( | |
| 6451 | - | xXGFileQueryExists func(uintptr, uintptr) bool | |
| 6452 | - | XGFileQueryFileType func(uintptr, FileQueryInfoFlags, uintptr) FileType = func(instance uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr) FileType { | |
| 6453 | - | core.LazyRegister(&xXGFileQueryFileType, "GIO", "g_file_query_file_type", false) | |
| 6454 | - | return xXGFileQueryFileType(instance, FlagsVarp, CancellableVarp) | |
| 6455 | - | } | |
| 6456 | - | ) | |
| 6457 | - | var ( | |
| 6458 | - | xXGFileQueryFileType func(uintptr, FileQueryInfoFlags, uintptr) FileType | |
| 6459 | - | XGFileQueryFilesystemInfo func(uintptr, string, uintptr, **glib.Error) uintptr = func(instance uintptr, AttributesVarp string, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6460 | - | core.LazyRegister(&xXGFileQueryFilesystemInfo, "GIO", "g_file_query_filesystem_info", false) | |
| 6461 | - | return xXGFileQueryFilesystemInfo(instance, AttributesVarp, CancellableVarp, cerrp) | |
| 6462 | - | } | |
| 6463 | - | ) | |
| 6464 | - | var ( | |
| 6465 | - | xXGFileQueryFilesystemInfo func(uintptr, string, uintptr, **glib.Error) uintptr | |
| 6466 | - | XGFileQueryFilesystemInfoAsync func(uintptr, string, int, uintptr, uintptr, uintptr) = func(instance uintptr, AttributesVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6467 | - | core.LazyRegister(&xXGFileQueryFilesystemInfoAsync, "GIO", "g_file_query_filesystem_info_async", false) | |
| 6468 | - | xXGFileQueryFilesystemInfoAsync(instance, AttributesVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6469 | - | } | |
| 6470 | - | ) | |
| 6471 | - | var ( | |
| 6472 | - | xXGFileQueryFilesystemInfoAsync func(uintptr, string, int, uintptr, uintptr, uintptr) | |
| 6473 | - | XGFileQueryFilesystemInfoFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6474 | - | core.LazyRegister(&xXGFileQueryFilesystemInfoFinish, "GIO", "g_file_query_filesystem_info_finish", false) | |
| 6475 | - | return xXGFileQueryFilesystemInfoFinish(instance, ResVarp, cerrp) | |
| 6476 | - | } | |
| 6477 | - | ) | |
| 6478 | - | var ( | |
| 6479 | - | xXGFileQueryFilesystemInfoFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6480 | - | XGFileQueryInfo func(uintptr, string, FileQueryInfoFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6481 | - | core.LazyRegister(&xXGFileQueryInfo, "GIO", "g_file_query_info", false) | |
| 6482 | - | return xXGFileQueryInfo(instance, AttributesVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6483 | - | } | |
| 6484 | - | ) | |
| 6485 | - | var ( | |
| 6486 | - | xXGFileQueryInfo func(uintptr, string, FileQueryInfoFlags, uintptr, **glib.Error) uintptr | |
| 6487 | - | XGFileQueryInfoAsync func(uintptr, string, FileQueryInfoFlags, int, uintptr, uintptr, uintptr) = func(instance uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6488 | - | core.LazyRegister(&xXGFileQueryInfoAsync, "GIO", "g_file_query_info_async", false) | |
| 6489 | - | xXGFileQueryInfoAsync(instance, AttributesVarp, FlagsVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6490 | - | } | |
| 6491 | - | ) | |
| 6492 | - | var ( | |
| 6493 | - | xXGFileQueryInfoAsync func(uintptr, string, FileQueryInfoFlags, int, uintptr, uintptr, uintptr) | |
| 6494 | - | XGFileQueryInfoFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6495 | - | core.LazyRegister(&xXGFileQueryInfoFinish, "GIO", "g_file_query_info_finish", false) | |
| 6496 | - | return xXGFileQueryInfoFinish(instance, ResVarp, cerrp) | |
| 6497 | - | } | |
| 6498 | - | ) | |
| 6499 | - | var ( | |
| 6500 | - | xXGFileQueryInfoFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6501 | - | XGFileQuerySettableAttributes func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6502 | - | core.LazyRegister(&xXGFileQuerySettableAttributes, "GIO", "g_file_query_settable_attributes", false) | |
| 6503 | - | return xXGFileQuerySettableAttributes(instance, CancellableVarp, cerrp) | |
| 6504 | - | } | |
| 6505 | - | ) | |
| 6506 | - | var ( | |
| 6507 | - | xXGFileQuerySettableAttributes func(uintptr, uintptr, **glib.Error) uintptr | |
| 6508 | - | XGFileQueryWritableNamespaces func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6509 | - | core.LazyRegister(&xXGFileQueryWritableNamespaces, "GIO", "g_file_query_writable_namespaces", false) | |
| 6510 | - | return xXGFileQueryWritableNamespaces(instance, CancellableVarp, cerrp) | |
| 6511 | - | } | |
| 6512 | - | ) | |
| 6513 | - | var ( | |
| 6514 | - | xXGFileQueryWritableNamespaces func(uintptr, uintptr, **glib.Error) uintptr | |
| 6515 | - | XGFileRead func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6516 | - | core.LazyRegister(&xXGFileRead, "GIO", "g_file_read", false) | |
| 6517 | - | return xXGFileRead(instance, CancellableVarp, cerrp) | |
| 6518 | - | } | |
| 6519 | - | ) | |
| 6520 | - | var ( | |
| 6521 | - | xXGFileRead func(uintptr, uintptr, **glib.Error) uintptr | |
| 6522 | - | XGFileReadAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6523 | - | core.LazyRegister(&xXGFileReadAsync, "GIO", "g_file_read_async", false) | |
| 6524 | - | xXGFileReadAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6525 | - | } | |
| 6526 | - | ) | |
| 6527 | - | var ( | |
| 6528 | - | xXGFileReadAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6529 | - | XGFileReadFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6530 | - | core.LazyRegister(&xXGFileReadFinish, "GIO", "g_file_read_finish", false) | |
| 6531 | - | return xXGFileReadFinish(instance, ResVarp, cerrp) | |
| 6532 | - | } | |
| 6533 | - | ) | |
| 6534 | - | var ( | |
| 6535 | - | xXGFileReadFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6536 | - | XGFileReplace func(uintptr, uintptr, bool, FileCreateFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, EtagVarp uintptr, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6537 | - | core.LazyRegister(&xXGFileReplace, "GIO", "g_file_replace", false) | |
| 6538 | - | return xXGFileReplace(instance, EtagVarp, MakeBackupVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6539 | - | } | |
| 6540 | - | ) | |
| 6541 | - | var ( | |
| 6542 | - | xXGFileReplace func(uintptr, uintptr, bool, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 6543 | - | XGFileReplaceAsync func(uintptr, uintptr, bool, FileCreateFlags, int, uintptr, uintptr, uintptr) = func(instance uintptr, EtagVarp uintptr, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6544 | - | core.LazyRegister(&xXGFileReplaceAsync, "GIO", "g_file_replace_async", false) | |
| 6545 | - | xXGFileReplaceAsync(instance, EtagVarp, MakeBackupVarp, FlagsVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6546 | - | } | |
| 6547 | - | ) | |
| 6548 | - | var ( | |
| 6549 | - | xXGFileReplaceAsync func(uintptr, uintptr, bool, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 6550 | - | XGFileReplaceContents func(uintptr, string, uint, uintptr, bool, FileCreateFlags, *string, uintptr, **glib.Error) bool = func(instance uintptr, ContentsVarp string, LengthVarp uint, EtagVarp uintptr, MakeBackupVarp bool, FlagsVarp FileCreateFlags, NewEtagVarp *string, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6551 | - | core.LazyRegister(&xXGFileReplaceContents, "GIO", "g_file_replace_contents", false) | |
| 6552 | - | return xXGFileReplaceContents(instance, ContentsVarp, LengthVarp, EtagVarp, MakeBackupVarp, FlagsVarp, NewEtagVarp, CancellableVarp, cerrp) | |
| 6553 | - | } | |
| 6554 | - | ) | |
| 6555 | - | var ( | |
| 6556 | - | xXGFileReplaceContents func(uintptr, string, uint, uintptr, bool, FileCreateFlags, *string, uintptr, **glib.Error) bool | |
| 6557 | - | XGFileReplaceContentsAsync func(uintptr, string, uint, uintptr, bool, FileCreateFlags, uintptr, uintptr, uintptr) = func(instance uintptr, ContentsVarp string, LengthVarp uint, EtagVarp uintptr, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6558 | - | core.LazyRegister(&xXGFileReplaceContentsAsync, "GIO", "g_file_replace_contents_async", false) | |
| 6559 | - | xXGFileReplaceContentsAsync(instance, ContentsVarp, LengthVarp, EtagVarp, MakeBackupVarp, FlagsVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6560 | - | } | |
| 6561 | - | ) | |
| 6562 | - | var ( | |
| 6563 | - | xXGFileReplaceContentsAsync func(uintptr, string, uint, uintptr, bool, FileCreateFlags, uintptr, uintptr, uintptr) | |
| 6564 | - | XGFileReplaceContentsBytesAsync func(uintptr, *glib.Bytes, uintptr, bool, FileCreateFlags, uintptr, uintptr, uintptr) = func(instance uintptr, ContentsVarp *glib.Bytes, EtagVarp uintptr, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6565 | - | core.LazyRegister(&xXGFileReplaceContentsBytesAsync, "GIO", "g_file_replace_contents_bytes_async", false) | |
| 6566 | - | xXGFileReplaceContentsBytesAsync(instance, ContentsVarp, EtagVarp, MakeBackupVarp, FlagsVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6567 | - | } | |
| 6568 | - | ) | |
| 6569 | - | var ( | |
| 6570 | - | xXGFileReplaceContentsBytesAsync func(uintptr, *glib.Bytes, uintptr, bool, FileCreateFlags, uintptr, uintptr, uintptr) | |
| 6571 | - | XGFileReplaceContentsFinish func(uintptr, uintptr, *string, **glib.Error) bool = func(instance uintptr, ResVarp uintptr, NewEtagVarp *string, cerrp **glib.Error) bool { | |
| 6572 | - | core.LazyRegister(&xXGFileReplaceContentsFinish, "GIO", "g_file_replace_contents_finish", false) | |
| 6573 | - | return xXGFileReplaceContentsFinish(instance, ResVarp, NewEtagVarp, cerrp) | |
| 6574 | - | } | |
| 6575 | - | ) | |
| 6576 | - | var ( | |
| 6577 | - | xXGFileReplaceContentsFinish func(uintptr, uintptr, *string, **glib.Error) bool | |
| 6578 | - | XGFileReplaceFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6579 | - | core.LazyRegister(&xXGFileReplaceFinish, "GIO", "g_file_replace_finish", false) | |
| 6580 | - | return xXGFileReplaceFinish(instance, ResVarp, cerrp) | |
| 6581 | - | } | |
| 6582 | - | ) | |
| 6583 | - | var ( | |
| 6584 | - | xXGFileReplaceFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6585 | - | XGFileReplaceReadwrite func(uintptr, uintptr, bool, FileCreateFlags, uintptr, **glib.Error) uintptr = func(instance uintptr, EtagVarp uintptr, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6586 | - | core.LazyRegister(&xXGFileReplaceReadwrite, "GIO", "g_file_replace_readwrite", false) | |
| 6587 | - | return xXGFileReplaceReadwrite(instance, EtagVarp, MakeBackupVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6588 | - | } | |
| 6589 | - | ) | |
| 6590 | - | var ( | |
| 6591 | - | xXGFileReplaceReadwrite func(uintptr, uintptr, bool, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 6592 | - | XGFileReplaceReadwriteAsync func(uintptr, uintptr, bool, FileCreateFlags, int, uintptr, uintptr, uintptr) = func(instance uintptr, EtagVarp uintptr, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6593 | - | core.LazyRegister(&xXGFileReplaceReadwriteAsync, "GIO", "g_file_replace_readwrite_async", false) | |
| 6594 | - | xXGFileReplaceReadwriteAsync(instance, EtagVarp, MakeBackupVarp, FlagsVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6595 | - | } | |
| 6596 | - | ) | |
| 6597 | - | var ( | |
| 6598 | - | xXGFileReplaceReadwriteAsync func(uintptr, uintptr, bool, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 6599 | - | XGFileReplaceReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6600 | - | core.LazyRegister(&xXGFileReplaceReadwriteFinish, "GIO", "g_file_replace_readwrite_finish", false) | |
| 6601 | - | return xXGFileReplaceReadwriteFinish(instance, ResVarp, cerrp) | |
| 6602 | - | } | |
| 6603 | - | ) | |
| 6604 | - | var ( | |
| 6605 | - | xXGFileReplaceReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6606 | - | XGFileResolveRelativePath func(uintptr, string) uintptr = func(instance uintptr, RelativePathVarp string) uintptr { | |
| 6607 | - | core.LazyRegister(&xXGFileResolveRelativePath, "GIO", "g_file_resolve_relative_path", false) | |
| 6608 | - | return xXGFileResolveRelativePath(instance, RelativePathVarp) | |
| 6609 | - | } | |
| 6610 | - | ) | |
| 6611 | - | var ( | |
| 6612 | - | xXGFileResolveRelativePath func(uintptr, string) uintptr | |
| 6613 | - | XGFileSetAttribute func(uintptr, string, FileAttributeType, uintptr, FileQueryInfoFlags, uintptr, **glib.Error) bool = func(instance uintptr, AttributeVarp string, TypeVarp FileAttributeType, ValuePVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6614 | - | core.LazyRegister(&xXGFileSetAttribute, "GIO", "g_file_set_attribute", false) | |
| 6615 | - | return xXGFileSetAttribute(instance, AttributeVarp, TypeVarp, ValuePVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6616 | - | } | |
| 6617 | - | ) | |
| 6618 | - | var ( | |
| 6619 | - | xXGFileSetAttribute func(uintptr, string, FileAttributeType, uintptr, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 6620 | - | XGFileSetAttributeByteString func(uintptr, string, string, FileQueryInfoFlags, uintptr, **glib.Error) bool = func(instance uintptr, AttributeVarp string, ValueVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6621 | - | core.LazyRegister(&xXGFileSetAttributeByteString, "GIO", "g_file_set_attribute_byte_string", false) | |
| 6622 | - | return xXGFileSetAttributeByteString(instance, AttributeVarp, ValueVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6623 | - | } | |
| 6624 | - | ) | |
| 6625 | - | var ( | |
| 6626 | - | xXGFileSetAttributeByteString func(uintptr, string, string, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 6627 | - | XGFileSetAttributeInt32 func(uintptr, string, int32, FileQueryInfoFlags, uintptr, **glib.Error) bool = func(instance uintptr, AttributeVarp string, ValueVarp int32, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6628 | - | core.LazyRegister(&xXGFileSetAttributeInt32, "GIO", "g_file_set_attribute_int32", false) | |
| 6629 | - | return xXGFileSetAttributeInt32(instance, AttributeVarp, ValueVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6630 | - | } | |
| 6631 | - | ) | |
| 6632 | - | var ( | |
| 6633 | - | xXGFileSetAttributeInt32 func(uintptr, string, int32, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 6634 | - | XGFileSetAttributeInt64 func(uintptr, string, int64, FileQueryInfoFlags, uintptr, **glib.Error) bool = func(instance uintptr, AttributeVarp string, ValueVarp int64, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6635 | - | core.LazyRegister(&xXGFileSetAttributeInt64, "GIO", "g_file_set_attribute_int64", false) | |
| 6636 | - | return xXGFileSetAttributeInt64(instance, AttributeVarp, ValueVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6637 | - | } | |
| 6638 | - | ) | |
| 6639 | - | var ( | |
| 6640 | - | xXGFileSetAttributeInt64 func(uintptr, string, int64, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 6641 | - | XGFileSetAttributeString func(uintptr, string, string, FileQueryInfoFlags, uintptr, **glib.Error) bool = func(instance uintptr, AttributeVarp string, ValueVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6642 | - | core.LazyRegister(&xXGFileSetAttributeString, "GIO", "g_file_set_attribute_string", false) | |
| 6643 | - | return xXGFileSetAttributeString(instance, AttributeVarp, ValueVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6644 | - | } | |
| 6645 | - | ) | |
| 6646 | - | var ( | |
| 6647 | - | xXGFileSetAttributeString func(uintptr, string, string, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 6648 | - | XGFileSetAttributeUint32 func(uintptr, string, uint32, FileQueryInfoFlags, uintptr, **glib.Error) bool = func(instance uintptr, AttributeVarp string, ValueVarp uint32, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6649 | - | core.LazyRegister(&xXGFileSetAttributeUint32, "GIO", "g_file_set_attribute_uint32", false) | |
| 6650 | - | return xXGFileSetAttributeUint32(instance, AttributeVarp, ValueVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6651 | - | } | |
| 6652 | - | ) | |
| 6653 | - | var ( | |
| 6654 | - | xXGFileSetAttributeUint32 func(uintptr, string, uint32, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 6655 | - | XGFileSetAttributeUint64 func(uintptr, string, uint64, FileQueryInfoFlags, uintptr, **glib.Error) bool = func(instance uintptr, AttributeVarp string, ValueVarp uint64, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6656 | - | core.LazyRegister(&xXGFileSetAttributeUint64, "GIO", "g_file_set_attribute_uint64", false) | |
| 6657 | - | return xXGFileSetAttributeUint64(instance, AttributeVarp, ValueVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6658 | - | } | |
| 6659 | - | ) | |
| 6660 | - | var ( | |
| 6661 | - | xXGFileSetAttributeUint64 func(uintptr, string, uint64, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 6662 | - | XGFileSetAttributesAsync func(uintptr, uintptr, FileQueryInfoFlags, int, uintptr, uintptr, uintptr) = func(instance uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6663 | - | core.LazyRegister(&xXGFileSetAttributesAsync, "GIO", "g_file_set_attributes_async", false) | |
| 6664 | - | xXGFileSetAttributesAsync(instance, InfoVarp, FlagsVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6665 | - | } | |
| 6666 | - | ) | |
| 6667 | - | var ( | |
| 6668 | - | xXGFileSetAttributesAsync func(uintptr, uintptr, FileQueryInfoFlags, int, uintptr, uintptr, uintptr) | |
| 6669 | - | XGFileSetAttributesFinish func(uintptr, uintptr, **FileInfo, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, InfoVarp **FileInfo, cerrp **glib.Error) bool { | |
| 6670 | - | core.LazyRegister(&xXGFileSetAttributesFinish, "GIO", "g_file_set_attributes_finish", false) | |
| 6671 | - | return xXGFileSetAttributesFinish(instance, ResultVarp, InfoVarp, cerrp) | |
| 6672 | - | } | |
| 6673 | - | ) | |
| 6674 | - | var ( | |
| 6675 | - | xXGFileSetAttributesFinish func(uintptr, uintptr, **FileInfo, **glib.Error) bool | |
| 6676 | - | XGFileSetAttributesFromInfo func(uintptr, uintptr, FileQueryInfoFlags, uintptr, **glib.Error) bool = func(instance uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6677 | - | core.LazyRegister(&xXGFileSetAttributesFromInfo, "GIO", "g_file_set_attributes_from_info", false) | |
| 6678 | - | return xXGFileSetAttributesFromInfo(instance, InfoVarp, FlagsVarp, CancellableVarp, cerrp) | |
| 6679 | - | } | |
| 6680 | - | ) | |
| 6681 | - | var ( | |
| 6682 | - | xXGFileSetAttributesFromInfo func(uintptr, uintptr, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 6683 | - | XGFileSetDisplayName func(uintptr, string, uintptr, **glib.Error) uintptr = func(instance uintptr, DisplayNameVarp string, CancellableVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6684 | - | core.LazyRegister(&xXGFileSetDisplayName, "GIO", "g_file_set_display_name", false) | |
| 6685 | - | return xXGFileSetDisplayName(instance, DisplayNameVarp, CancellableVarp, cerrp) | |
| 6686 | - | } | |
| 6687 | - | ) | |
| 6688 | - | var ( | |
| 6689 | - | xXGFileSetDisplayName func(uintptr, string, uintptr, **glib.Error) uintptr | |
| 6690 | - | XGFileSetDisplayNameAsync func(uintptr, string, int, uintptr, uintptr, uintptr) = func(instance uintptr, DisplayNameVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6691 | - | core.LazyRegister(&xXGFileSetDisplayNameAsync, "GIO", "g_file_set_display_name_async", false) | |
| 6692 | - | xXGFileSetDisplayNameAsync(instance, DisplayNameVarp, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6693 | - | } | |
| 6694 | - | ) | |
| 6695 | - | var ( | |
| 6696 | - | xXGFileSetDisplayNameAsync func(uintptr, string, int, uintptr, uintptr, uintptr) | |
| 6697 | - | XGFileSetDisplayNameFinish func(uintptr, uintptr, **glib.Error) uintptr = func(instance uintptr, ResVarp uintptr, cerrp **glib.Error) uintptr { | |
| 6698 | - | core.LazyRegister(&xXGFileSetDisplayNameFinish, "GIO", "g_file_set_display_name_finish", false) | |
| 6699 | - | return xXGFileSetDisplayNameFinish(instance, ResVarp, cerrp) | |
| 6700 | - | } | |
| 6701 | - | ) | |
| 6702 | - | var ( | |
| 6703 | - | xXGFileSetDisplayNameFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 6704 | - | XGFileStartMountable func(uintptr, DriveStartFlags, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp DriveStartFlags, StartOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6705 | - | core.LazyRegister(&xXGFileStartMountable, "GIO", "g_file_start_mountable", false) | |
| 6706 | - | xXGFileStartMountable(instance, FlagsVarp, StartOperationVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6707 | - | } | |
| 6708 | - | ) | |
| 6709 | - | var ( | |
| 6710 | - | xXGFileStartMountable func(uintptr, DriveStartFlags, uintptr, uintptr, uintptr, uintptr) | |
| 6711 | - | XGFileStartMountableFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6712 | - | core.LazyRegister(&xXGFileStartMountableFinish, "GIO", "g_file_start_mountable_finish", false) | |
| 6713 | - | return xXGFileStartMountableFinish(instance, ResultVarp, cerrp) | |
| 6714 | - | } | |
| 6715 | - | ) | |
| 6716 | - | var ( | |
| 6717 | - | xXGFileStartMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6718 | - | XGFileStopMountable func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6719 | - | core.LazyRegister(&xXGFileStopMountable, "GIO", "g_file_stop_mountable", false) | |
| 6720 | - | xXGFileStopMountable(instance, FlagsVarp, MountOperationVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6721 | - | } | |
| 6722 | - | ) | |
| 6723 | - | var ( | |
| 6724 | - | xXGFileStopMountable func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 6725 | - | XGFileStopMountableFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6726 | - | core.LazyRegister(&xXGFileStopMountableFinish, "GIO", "g_file_stop_mountable_finish", false) | |
| 6727 | - | return xXGFileStopMountableFinish(instance, ResultVarp, cerrp) | |
| 6728 | - | } | |
| 6729 | - | ) | |
| 6730 | - | var ( | |
| 6731 | - | xXGFileStopMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6732 | - | XGFileSupportsThreadContexts func(uintptr) bool = func(instance uintptr) bool { | |
| 6733 | - | core.LazyRegister(&xXGFileSupportsThreadContexts, "GIO", "g_file_supports_thread_contexts", false) | |
| 6734 | - | return xXGFileSupportsThreadContexts(instance) | |
| 6735 | - | } | |
| 6736 | - | ) | |
| 6737 | - | var ( | |
| 6738 | - | xXGFileSupportsThreadContexts func(uintptr) bool | |
| 6739 | - | XGFileTrash func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, CancellableVarp uintptr, cerrp **glib.Error) bool { | |
| 6740 | - | core.LazyRegister(&xXGFileTrash, "GIO", "g_file_trash", false) | |
| 6741 | - | return xXGFileTrash(instance, CancellableVarp, cerrp) | |
| 6742 | - | } | |
| 6743 | - | ) | |
| 6744 | - | var ( | |
| 6745 | - | xXGFileTrash func(uintptr, uintptr, **glib.Error) bool | |
| 6746 | - | XGFileTrashAsync func(uintptr, int, uintptr, uintptr, uintptr) = func(instance uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6747 | - | core.LazyRegister(&xXGFileTrashAsync, "GIO", "g_file_trash_async", false) | |
| 6748 | - | xXGFileTrashAsync(instance, IoPriorityVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6749 | - | } | |
| 6750 | - | ) | |
| 6751 | - | var ( | |
| 6752 | - | xXGFileTrashAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6753 | - | XGFileTrashFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6754 | - | core.LazyRegister(&xXGFileTrashFinish, "GIO", "g_file_trash_finish", false) | |
| 6755 | - | return xXGFileTrashFinish(instance, ResultVarp, cerrp) | |
| 6756 | - | } | |
| 6757 | - | ) | |
| 6758 | - | var ( | |
| 6759 | - | xXGFileTrashFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6760 | - | XGFileUnmountMountable func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6761 | - | core.LazyRegister(&xXGFileUnmountMountable, "GIO", "g_file_unmount_mountable", false) | |
| 6762 | - | xXGFileUnmountMountable(instance, FlagsVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6763 | - | } | |
| 6764 | - | ) | |
| 6765 | - | var ( | |
| 6766 | - | xXGFileUnmountMountable func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr) | |
| 6767 | - | XGFileUnmountMountableFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6768 | - | core.LazyRegister(&xXGFileUnmountMountableFinish, "GIO", "g_file_unmount_mountable_finish", false) | |
| 6769 | - | return xXGFileUnmountMountableFinish(instance, ResultVarp, cerrp) | |
| 6770 | - | } | |
| 6771 | - | ) | |
| 6772 | - | var ( | |
| 6773 | - | xXGFileUnmountMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6774 | - | XGFileUnmountMountableWithOperation func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr, uintptr) = func(instance uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 6775 | - | core.LazyRegister(&xXGFileUnmountMountableWithOperation, "GIO", "g_file_unmount_mountable_with_operation", false) | |
| 6776 | - | xXGFileUnmountMountableWithOperation(instance, FlagsVarp, MountOperationVarp, CancellableVarp, CallbackVarp, UserDataVarp) | |
| 6777 | - | } | |
| 6778 | - | ) | |
| 6779 | - | var ( | |
| 6780 | - | xXGFileUnmountMountableWithOperation func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 6781 | - | XGFileUnmountMountableWithOperationFinish func(uintptr, uintptr, **glib.Error) bool = func(instance uintptr, ResultVarp uintptr, cerrp **glib.Error) bool { | |
| 6782 | - | core.LazyRegister(&xXGFileUnmountMountableWithOperationFinish, "GIO", "g_file_unmount_mountable_with_operation_finish", false) | |
| 6783 | - | return xXGFileUnmountMountableWithOperationFinish(instance, ResultVarp, cerrp) | |
| 6784 | - | } | |
| 6785 | - | ) | |
| 6786 | - | var xXGFileUnmountMountableWithOperationFinish func(uintptr, uintptr, **glib.Error) bool | |
| 6787 | - | ||
| 6788 | - | var xFileNewBuildFilenamev func([]string) uintptr | |
| 6789 | - | ||
| 6790 | - | // Constructs a #GFile from a vector of elements using the correct | |
| 6791 | - | // separator for filenames. | |
| 6792 | - | // | |
| 6793 | - | // Using this function is equivalent to calling g_build_filenamev(), | |
| 6794 | - | // followed by g_file_new_for_path() on the result. | |
| 6795 | - | func FileNewBuildFilenamev(ArgsVar []string) *FileBase { | |
| 6796 | - | core.LazyRegister(&xFileNewBuildFilenamev, "GIO", "g_file_new_build_filenamev", false) | |
| 6797 | - | var cls *FileBase | |
| 6798 | - | ||
| 6799 | - | cret := xFileNewBuildFilenamev(ArgsVar) | |
| 6800 | - | ||
| 6801 | - | if cret == 0 { | |
| 6802 | - | return nil | |
| 6803 | - | } | |
| 6804 | - | cls = &FileBase{} | |
| 6805 | - | cls.Ptr = cret | |
| 6806 | - | return cls | |
| 6807 | - | } | |
| 6808 | - | ||
| 6809 | - | var xFileNewForCommandlineArg func(string) uintptr | |
| 6810 | - | ||
| 6811 | - | // Creates a #GFile with the given argument from the command line. | |
| 6812 | - | // The value of @arg can be either a URI, an absolute path or a | |
| 6813 | - | // relative path resolved relative to the current working directory. | |
| 6814 | - | // This operation never fails, but the returned object might not | |
| 6815 | - | // support any I/O operation if @arg points to a malformed path. | |
| 6816 | - | // | |
| 6817 | - | // Note that on Windows, this function expects its argument to be in | |
| 6818 | - | // UTF-8 -- not the system code page. This means that you | |
| 6819 | - | // should not use this function with string from argv as it is passed | |
| 6820 | - | // to main(). g_win32_get_command_line() will return a UTF-8 version of | |
| 6821 | - | // the commandline. #GApplication also uses UTF-8 but | |
| 6822 | - | // g_application_command_line_create_file_for_arg() may be more useful | |
| 6823 | - | // for you there. It is also always possible to use this function with | |
| 6824 | - | // #GOptionContext arguments of type %G_OPTION_ARG_FILENAME. | |
| 6825 | - | func FileNewForCommandlineArg(ArgVar string) *FileBase { | |
| 6826 | - | core.LazyRegister(&xFileNewForCommandlineArg, "GIO", "g_file_new_for_commandline_arg", false) | |
| 6827 | - | var cls *FileBase | |
| 6828 | - | ||
| 6829 | - | cret := xFileNewForCommandlineArg(ArgVar) | |
| 6830 | - | ||
| 6831 | - | if cret == 0 { | |
| 6832 | - | return nil | |
| 6833 | - | } | |
| 6834 | - | cls = &FileBase{} | |
| 6835 | - | cls.Ptr = cret | |
| 6836 | - | return cls | |
| 6837 | - | } | |
| 6838 | - | ||
| 6839 | - | var xFileNewForCommandlineArgAndCwd func(string, string) uintptr | |
| 6840 | - | ||
| 6841 | - | // Creates a #GFile with the given argument from the command line. | |
| 6842 | - | // | |
| 6843 | - | // This function is similar to g_file_new_for_commandline_arg() except | |
| 6844 | - | // that it allows for passing the current working directory as an | |
| 6845 | - | // argument instead of using the current working directory of the | |
| 6846 | - | // process. | |
| 6847 | - | // | |
| 6848 | - | // This is useful if the commandline argument was given in a context | |
| 6849 | - | // other than the invocation of the current process. | |
| 6850 | - | // | |
| 6851 | - | // See also g_application_command_line_create_file_for_arg(). | |
| 6852 | - | func FileNewForCommandlineArgAndCwd(ArgVar string, CwdVar string) *FileBase { | |
| 6853 | - | core.LazyRegister(&xFileNewForCommandlineArgAndCwd, "GIO", "g_file_new_for_commandline_arg_and_cwd", false) | |
| 6854 | - | var cls *FileBase | |
| 6855 | - | ||
| 6856 | - | cret := xFileNewForCommandlineArgAndCwd(ArgVar, CwdVar) | |
| 6857 | - | ||
| 6858 | - | if cret == 0 { | |
| 6859 | - | return nil | |
| 6860 | - | } | |
| 6861 | - | cls = &FileBase{} | |
| 6862 | - | cls.Ptr = cret | |
| 6863 | - | return cls | |
| 6864 | - | } | |
| 6865 | - | ||
| 6866 | - | var xFileNewForPath func(string) uintptr | |
| 6867 | - | ||
| 6868 | - | // Constructs a #GFile for a given path. This operation never | |
| 6869 | - | // fails, but the returned object might not support any I/O | |
| 6870 | - | // operation if @path is malformed. | |
| 6871 | - | func FileNewForPath(PathVar string) *FileBase { | |
| 6872 | - | core.LazyRegister(&xFileNewForPath, "GIO", "g_file_new_for_path", false) | |
| 6873 | - | var cls *FileBase | |
| 6874 | - | ||
| 6875 | - | cret := xFileNewForPath(PathVar) | |
| 6876 | - | ||
| 6877 | - | if cret == 0 { | |
| 6878 | - | return nil | |
| 6879 | - | } | |
| 6880 | - | cls = &FileBase{} | |
| 6881 | - | cls.Ptr = cret | |
| 6882 | - | return cls | |
| 6883 | - | } | |
| 6884 | - | ||
| 6885 | - | var xFileNewForUri func(string) uintptr | |
| 6886 | - | ||
| 6887 | - | // Constructs a #GFile for a given URI. This operation never | |
| 6888 | - | // fails, but the returned object might not support any I/O | |
| 6889 | - | // operation if @uri is malformed or if the uri type is | |
| 6890 | - | // not supported. | |
| 6891 | - | func FileNewForUri(UriVar string) *FileBase { | |
| 6892 | - | core.LazyRegister(&xFileNewForUri, "GIO", "g_file_new_for_uri", false) | |
| 6893 | - | var cls *FileBase | |
| 6894 | - | ||
| 6895 | - | cret := xFileNewForUri(UriVar) | |
| 6896 | - | ||
| 6897 | - | if cret == 0 { | |
| 6898 | - | return nil | |
| 6899 | - | } | |
| 6900 | - | cls = &FileBase{} | |
| 6901 | - | cls.Ptr = cret | |
| 6902 | - | return cls | |
| 6903 | - | } | |
| 6904 | - | ||
| 6905 | - | var xFileNewTmp func(uintptr, **FileIOStream, **glib.Error) uintptr | |
| 6906 | - | ||
| 6907 | - | // Opens a file in the preferred directory for temporary files (as | |
| 6908 | - | // returned by g_get_tmp_dir()) and returns a #GFile and | |
| 6909 | - | // #GFileIOStream pointing to it. | |
| 6910 | - | // | |
| 6911 | - | // @tmpl should be a string in the GLib file name encoding | |
| 6912 | - | // containing a sequence of six 'X' characters, and containing no | |
| 6913 | - | // directory components. If it is %NULL, a default template is used. | |
| 6914 | - | // | |
| 6915 | - | // Unlike the other #GFile constructors, this will return %NULL if | |
| 6916 | - | // a temporary file could not be created. | |
| 6917 | - | func FileNewTmp(TmplVar *string, IostreamVar **FileIOStream) (*FileBase, error) { | |
| 6918 | - | core.LazyRegister(&xFileNewTmp, "GIO", "g_file_new_tmp", false) | |
| 6919 | - | var cls *FileBase | |
| 6920 | - | var cerr *glib.Error | |
| 6921 | - | ||
| 6922 | - | TmplVarPtr := core.GStrdupNullable(TmplVar) | |
| 6923 | - | defer core.GFreeNullable(TmplVarPtr) | |
| 6924 | - | ||
| 6925 | - | cret := xFileNewTmp(TmplVarPtr, IostreamVar, &cerr) | |
| 6926 | - | ||
| 6927 | - | if cret == 0 { | |
| 6928 | - | return nil, cerr | |
| 6929 | - | } | |
| 6930 | - | cls = &FileBase{} | |
| 6931 | - | cls.Ptr = cret | |
| 6932 | - | if cerr == nil { | |
| 6933 | - | return cls, nil | |
| 6934 | - | } | |
| 6935 | - | return cls, cerr | |
| 6936 | - | } | |
| 6937 | - | ||
| 6938 | - | var xFileNewTmpAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6939 | - | ||
| 6940 | - | // Asynchronously opens a file in the preferred directory for temporary files | |
| 6941 | - | // | |
| 6942 | - | // (as returned by g_get_tmp_dir()) as g_file_new_tmp(). | |
| 6943 | - | // | |
| 6944 | - | // @tmpl should be a string in the GLib file name encoding | |
| 6945 | - | // containing a sequence of six 'X' characters, and containing no | |
| 6946 | - | // directory components. If it is %NULL, a default template is used. | |
| 6947 | - | func FileNewTmpAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 6948 | - | core.LazyRegister(&xFileNewTmpAsync, "GIO", "g_file_new_tmp_async", false) | |
| 6949 | - | ||
| 6950 | - | TmplVarPtr := core.GStrdupNullable(TmplVar) | |
| 6951 | - | defer core.GFreeNullable(TmplVarPtr) | |
| 6952 | - | ||
| 6953 | - | xFileNewTmpAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 6954 | - | } | |
| 6955 | - | ||
| 6956 | - | var xFileNewTmpDirAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6957 | - | ||
| 6958 | - | // Asynchronously creates a directory in the preferred directory for | |
| 6959 | - | // temporary files (as returned by g_get_tmp_dir()) as g_dir_make_tmp(). | |
| 6960 | - | // | |
| 6961 | - | // @tmpl should be a string in the GLib file name encoding | |
| 6962 | - | // containing a sequence of six 'X' characters, and containing no | |
| 6963 | - | // directory components. If it is %NULL, a default template is used. | |
| 6964 | - | func FileNewTmpDirAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 6965 | - | core.LazyRegister(&xFileNewTmpDirAsync, "GIO", "g_file_new_tmp_dir_async", false) | |
| 6966 | - | ||
| 6967 | - | TmplVarPtr := core.GStrdupNullable(TmplVar) | |
| 6968 | - | defer core.GFreeNullable(TmplVarPtr) | |
| 6969 | - | ||
| 6970 | - | xFileNewTmpDirAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 6971 | - | } | |
| 6972 | - | ||
| 6973 | - | var xFileNewTmpDirFinish func(uintptr, **glib.Error) uintptr | |
| 6974 | - | ||
| 6975 | - | // Finishes a temporary directory creation started by | |
| 6976 | - | // g_file_new_tmp_dir_async(). | |
| 6977 | - | func FileNewTmpDirFinish(ResultVar AsyncResult) (*FileBase, error) { | |
| 6978 | - | core.LazyRegister(&xFileNewTmpDirFinish, "GIO", "g_file_new_tmp_dir_finish", false) | |
| 6979 | - | var cls *FileBase | |
| 6980 | - | var cerr *glib.Error | |
| 6981 | - | ||
| 6982 | - | cret := xFileNewTmpDirFinish(ResultVar.GoPointer(), &cerr) | |
| 6983 | - | ||
| 6984 | - | if cret == 0 { | |
| 6985 | - | return nil, cerr | |
| 6986 | - | } | |
| 6987 | - | cls = &FileBase{} | |
| 6988 | - | cls.Ptr = cret | |
| 6989 | - | if cerr == nil { | |
| 6990 | - | return cls, nil | |
| 6991 | - | } | |
| 6992 | - | return cls, cerr | |
| 6993 | - | } | |
| 6994 | - | ||
| 6995 | - | var xFileNewTmpFinish func(uintptr, **FileIOStream, **glib.Error) uintptr | |
| 6996 | - | ||
| 6997 | - | // Finishes a temporary file creation started by g_file_new_tmp_async(). | |
| 6998 | - | func FileNewTmpFinish(ResultVar AsyncResult, IostreamVar **FileIOStream) (*FileBase, error) { | |
| 6999 | - | core.LazyRegister(&xFileNewTmpFinish, "GIO", "g_file_new_tmp_finish", false) | |
| 7000 | - | var cls *FileBase | |
| 7001 | - | var cerr *glib.Error | |
| 7002 | - | ||
| 7003 | - | cret := xFileNewTmpFinish(ResultVar.GoPointer(), IostreamVar, &cerr) | |
| 7004 | - | ||
| 7005 | - | if cret == 0 { | |
| 7006 | - | return nil, cerr | |
| 7007 | - | } | |
| 7008 | - | cls = &FileBase{} | |
| 7009 | - | cls.Ptr = cret | |
| 7010 | - | if cerr == nil { | |
| 7011 | - | return cls, nil | |
| 7012 | - | } | |
| 7013 | - | return cls, cerr | |
| 7014 | - | } | |
| 7015 | - | ||
| 7016 | - | var xFileParseName func(string) uintptr | |
| 7017 | - | ||
| 7018 | - | // Constructs a #GFile with the given @parse_name (i.e. something | |
| 7019 | - | // given by g_file_get_parse_name()). This operation never fails, | |
| 7020 | - | // but the returned object might not support any I/O operation if | |
| 7021 | - | // the @parse_name cannot be parsed. | |
| 7022 | - | func FileParseName(ParseNameVar string) *FileBase { | |
| 7023 | - | core.LazyRegister(&xFileParseName, "GIO", "g_file_parse_name", false) | |
| 7024 | - | var cls *FileBase | |
| 7025 | - | ||
| 7026 | - | cret := xFileParseName(ParseNameVar) | |
| 7027 | - | ||
| 7028 | - | if cret == 0 { | |
| 7029 | - | return nil | |
| 7030 | - | } | |
| 7031 | - | cls = &FileBase{} | |
| 7032 | - | cls.Ptr = cret | |
| 7033 | - | return cls | |
| 7034 | - | } | |
| 7035 | - | ||
| 7036 | - | func init() { | |
| 7037 | - | core.SetPackageName("GIO", "gio-2.0") | |
| 7038 | - | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 7039 | - | } | |
D vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +0 -768 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +0 -190 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +0 -1682 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +0 -614 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gicon.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +0 -556 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +0 -280 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +0 -869 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +0 -2410 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giostream.go +0 -723 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +0 -1144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +0 -348 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +0 -236 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +0 -411 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +0 -167 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +0 -610 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenuexporter.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +0 -993 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmount.go +0 -1422 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +0 -1017 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +0 -336 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +0 -412 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +0 -1272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +0 -305 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +0 -384 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +0 -136 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +0 -315 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +0 -352 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -301 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +0 -298 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +0 -1053 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gresource.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +0 -1862 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +0 -676 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +0 -433 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +0 -489 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +0 -618 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +0 -446 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +0 -2007 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +0 -249 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +0 -253 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +0 -955 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +0 -298 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +0 -397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +0 -406 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +0 -633 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +0 -412 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtask.go +0 -1352 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +0 -228 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +0 -291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +0 -309 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +0 -499 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +0 -764 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +0 -319 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +0 -836 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +0 -886 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +0 -518 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +0 -90 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +0 -211 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +0 -370 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +0 -698 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +0 -1140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +0 -1182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/garray.go +0 -817 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +0 -448 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +0 -404 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +0 -91 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +0 -958 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcache.go +0 -118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +0 -222 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +0 -457 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +0 -286 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdate.go +0 -850 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +0 -1084 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdir.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/genviron.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gerror.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +0 -806 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghash.go +0 -742 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +0 -205 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghook.go +0 -260 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +0 -1139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +0 -1174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glibconfig.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glist.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmacros.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmain.go +0 -2568 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +0 -178 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +0 -788 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmem.go +0 -532 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +0 -1030 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gnode.go +0 -439 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/goption.go +0 -666 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +0 -205 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gquark.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +0 -503 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grand.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +0 -200 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gregex.go +0 -1625 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grel.go +0 -204 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +0 -483 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +0 -603 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gshell.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gslice.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gslist.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +0 -607 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +0 -1164 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstring.go +0 -622 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +0 -176 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +0 -1491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gthread.go +0 -2487 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtree.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +0 -1703 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/guri.go +0 -1112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gutils.go +0 -766 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/guuid.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +0 -3134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +0 -730 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gversion.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gversionmacros.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/main.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_other.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_sysv.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_windows.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/gmoduleconf.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +0 -58 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +0 -549 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/genums.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +0 -2267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +0 -935 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +0 -1291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +0 -839 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +0 -1702 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +0 -380 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +0 -951 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluecollector.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/main.go +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/more.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/types/types.go +0 -3 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +0 -408 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-config.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +0 -408 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +0 -161 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-macros.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +0 -885 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +0 -220 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +0 -235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +0 -274 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +0 -244 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-types.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +0 -417 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +0 -431 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +0 -123 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +0 -89 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +0 -91 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +0 -682 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +0 -109 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +0 -118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +0 -189 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +0 -227 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +0 -338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrenderreplay.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +0 -115 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +0 -2171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +0 -1303 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +0 -857 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +0 -484 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +0 -111 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +0 -579 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +0 -460 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +0 -604 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +0 -656 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +0 -551 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +0 -681 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +0 -1023 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +0 -944 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +0 -517 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +0 -1046 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +0 -717 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +0 -1015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +0 -206 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +0 -910 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +0 -836 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +0 -1892 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +0 -431 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +0 -649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +0 -1060 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +0 -163 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +0 -764 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +0 -224 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +0 -691 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +0 -560 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +0 -872 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +0 -565 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +0 -317 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +0 -510 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +0 -415 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +0 -935 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +0 -472 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +0 -337 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +0 -1338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +0 -649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +0 -362 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +0 -552 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcssenums.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsslocation.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +0 -1015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +0 -415 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +0 -384 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +0 -598 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +0 -227 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +0 -757 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +0 -536 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +0 -340 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +0 -1116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +0 -686 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +0 -463 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +0 -2296 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +0 -665 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +0 -2235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +0 -234 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +0 -204 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +0 -281 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +0 -730 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +0 -975 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +0 -711 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +0 -662 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +0 -1084 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +0 -714 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +0 -324 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +0 -249 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +0 -447 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +0 -251 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +0 -1649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +0 -773 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +0 -643 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +0 -532 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +0 -411 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +0 -712 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +0 -650 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +0 -229 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +0 -1007 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +0 -789 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +0 -494 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +0 -635 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +0 -349 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +0 -535 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +0 -1817 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +0 -879 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +0 -1256 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimmodule.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +0 -229 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +0 -705 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +0 -881 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +0 -1759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +0 -714 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +0 -583 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +0 -454 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +0 -1802 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +0 -181 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +0 -383 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +0 -945 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +0 -815 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +0 -571 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +0 -183 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +0 -312 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +0 -377 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +0 -560 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +0 -1173 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +0 -917 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +0 -751 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +0 -286 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +0 -518 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +0 -216 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +0 -185 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +0 -474 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +0 -356 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +0 -1572 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +0 -489 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +0 -207 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +0 -223 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +0 -454 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +0 -497 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +0 -930 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +0 -375 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +0 -756 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +0 -835 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +0 -931 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +0 -627 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +0 -488 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +0 -564 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +0 -486 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +0 -1921 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +0 -1024 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +0 -756 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +0 -659 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +0 -968 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +0 -913 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +0 -539 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +0 -736 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +0 -726 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +0 -266 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +0 -406 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +0 -1169 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +0 -534 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +0 -970 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +0 -208 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +0 -606 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +0 -1332 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +0 -640 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +0 -330 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +0 -419 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +0 -510 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +0 -540 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +0 -597 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +0 -605 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +0 -505 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +0 -320 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +0 -864 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +0 -401 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +0 -1420 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +0 -397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +0 -1398 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +0 -371 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +0 -394 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +0 -464 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +0 -396 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +0 -877 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +0 -598 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +0 -1750 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +0 -2305 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +0 -1468 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +0 -252 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +0 -1574 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +0 -238 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +0 -2855 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +0 -667 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +0 -611 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +0 -593 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +0 -1898 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +0 -741 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +0 -688 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +0 -334 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +0 -379 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +0 -899 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +0 -2734 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +0 -1028 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +0 -534 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +0 -630 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +0 -504 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +0 -5777 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +0 -258 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +0 -2182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowcontrols.go +0 -551 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowgroup.go +0 -231 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowhandle.go +0 -383 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCClass.go +0 -519 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCContext.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCException.go +0 -252 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCOptions.go +0 -234 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCValue.go +0 -1092 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVersion.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVirtualMachine.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCWeakValue.go +0 -123 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/layershell/gtk4-layer-shell.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-attributes.go +0 -1850 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-bidi-type.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-break.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-color.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-context.go +0 -430 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-coverage.go +0 -202 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-direction.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-features.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-font.go +0 -2354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontmap.go +0 -573 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontset-simple.go +0 -102 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontset.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-glyph-item.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-glyph.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-gravity.go +0 -143 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-item.go +0 -253 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-language.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-layout.go +0 -1847 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-markup.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-matrix.go +0 -248 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-renderer.go +0 -789 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-script.go +0 -419 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-tabs.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-types.go +0 -246 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-utils.go +0 -302 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-basic.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-digest.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-basic.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-digest.go +0 -155 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-manager.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-negotiate.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-ntlm.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth.go +0 -540 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cache.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-content-decoder.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-content-sniffer.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-db.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-text.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar.go +0 -467 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-date-utils.go +0 -67 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-form.go +0 -146 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-headers.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer-db.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer.go +0 -308 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-policy.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-logger.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message-body.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message-headers.go +0 -642 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message.go +0 -1445 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-multipart-input-stream.go +0 -254 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-multipart.go +0 -161 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-server-message.go +0 -700 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-server.go +0 -1002 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-session-feature.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-session.go +0 -1397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-status.go +0 -193 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-tld.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-types.go +0 -854 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-uri-utils.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-version.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-connection.go +0 -636 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-deflate.go +0 -66 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-manager.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket.go +0 -264 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitApplicationInfo.go +0 -133 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitAuthenticationRequest.go +0 -343 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitAutomationSession.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardList.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardListItem.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitClipboardPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitColorChooserRequest.go +0 -182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenu.go +0 -344 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuActions.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuItem.go +0 -276 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitCookieManager.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitCredential.go +0 -187 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitDeviceInfoPermissionRequest.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitDownload.go +0 -429 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditingCommands.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditorState.go +0 -193 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitError.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFaviconDatabase.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFeature.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFileChooserRequest.go +0 -219 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFindController.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFormSubmissionRequest.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationManager.go +0 -281 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationPermissionRequest.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitHitTestResult.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitImage.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitInputMethodContext.go +0 -1260 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitMediaKeySystemPermissionRequest.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitMemoryPressureSettings.go +0 -215 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationAction.go +0 -183 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationPolicyDecision.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkProxySettings.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkSession.go +0 -423 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotification.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotificationPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenu.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenuItem.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionRequest.go +0 -149 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionStateQuery.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPointerLockPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPolicyDecision.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPrintOperation.go +0 -273 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitResponsePolicyDecision.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitScriptDialog.go +0 -177 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityManager.go +0 -218 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityOrigin.go +0 -163 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSettings.go +0 -2622 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIRequest.go +0 -148 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIResponse.go +0 -194 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeRequest.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeResponse.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIUtilities.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContent.go +0 -323 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentFilterStore.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentManager.go +0 -432 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMediaPermissionRequest.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMessage.go +0 -230 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitVersion.go +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebContext.go +0 -650 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtension.go +0 -617 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtensionMatchPattern.go +0 -264 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebInspector.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebResource.go +0 -280 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebView.go +0 -4734 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewBase.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewGtk4.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewSessionState.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteData.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataAccessPermissionRequest.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataManager.go +0 -545 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsitePolicies.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWindowProperties.go +0 -338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitXRPermissionRequest.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/more.go +0 -234 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/.gitignore +0 -25 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/LICENSE +0 -20 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/README.md +0 -30 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/backoff.go +0 -66 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/context.go +0 -62 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/exponential.go +0 -216 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/retry.go +0 -146 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/ticker.go +0 -97 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/timer.go +0 -35 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/tries.go +0 -38 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/cursor/cursor.go +0 -221 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/help/help.go +0 -240 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/key/key.go +0 -140 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/README.md +0 -71 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/defaultitem.go +0 -229 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/keys.go +0 -97 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/list.go +0 -1330 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/style.go +0 -99 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/paginator/paginator.go +0 -214 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/runeutil/runeutil.go +0 -102 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/spinner/spinner.go +0 -224 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/table/table.go +0 -450 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/textinput/textinput.go +0 -890 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/viewport/keymap.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/viewport/viewport.go +0 -544 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.gitattributes +0 -1 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.gitignore +0 -23 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.golangci.yml +0 -44 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.goreleaser.yml +0 -5 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/README.md +0 -400 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/Taskfile.yaml +0 -14 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/commands.go +0 -222 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/exec.go +0 -133 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/focus.go +0 -9 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/inputreader_other.go +0 -19 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/inputreader_windows.go +0 -129 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key.go +0 -715 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_other.go +0 -13 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_sequences.go +0 -130 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_windows.go +0 -441 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/logging.go +0 -53 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/mouse.go +0 -308 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/nil_renderer.go +0 -29 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/options.go +0 -252 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/renderer.go +0 -88 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/screen.go +0 -248 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/signals_unix.go +0 -33 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/signals_windows.go +0 -10 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/standard_renderer.go +0 -790 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tea.go +0 -941 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tea_init.go +0 -22 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty.go +0 -141 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty_unix.go +0 -49 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty_windows.go +0 -68 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/.golangci.yml +0 -47 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/.goreleaser.yml +0 -6 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/README.md +0 -109 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/doc.go +0 -4 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env.go +0 -294 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env_other.go +0 -8 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env_windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/profile.go +0 -108 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/writer.go +0 -171 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.golangci.yml +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.goreleaser.yml +0 -5 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/README.md +0 -815 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/Taskfile.yaml +0 -19 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/align.go +0 -83 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ansi_unix.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ansi_windows.go +0 -22 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/borders.go +0 -490 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/color.go +0 -172 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/get.go +0 -556 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/join.go +0 -175 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/position.go +0 -154 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ranges.go +0 -48 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/renderer.go +0 -181 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/runes.go +0 -43 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/set.go +0 -799 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/size.go +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/style.go +0 -588 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/unset.go +0 -331 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/whitespace.go +0 -83 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ansi.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ascii.go +0 -8 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/background.go +0 -178 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/c0.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/c1.go +0 -72 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/charset.go +0 -55 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/clipboard.go +0 -75 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/color.go +0 -784 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ctrl.go +0 -156 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/cursor.go +0 -637 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/cwd.go +0 -26 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/doc.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/finalterm.go +0 -67 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/focus.go +0 -9 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/graphics.go +0 -62 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/hyperlink.go +0 -28 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/inband.go +0 -24 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/iterm2.go +0 -18 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/keypad.go +0 -28 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/kitty.go +0 -90 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/method.go +0 -196 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mode.go +0 -690 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mode_deprecated.go +0 -495 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/modes.go +0 -65 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mouse.go +0 -172 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/notification.go +0 -32 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/palette.go +0 -34 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser.go +0 -417 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/const.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/seq.go +0 -136 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/transition_table.go +0 -273 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_decode.go +0 -525 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_handler.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_sync.go +0 -29 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/passthrough.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/paste.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/progress.go +0 -49 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/reset.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/screen.go +0 -410 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/sgr.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/status.go +0 -168 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/style.go +0 -819 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/termcap.go +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/title.go +0 -48 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/truncate.go +0 -290 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/urxvt.go +0 -17 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/util.go +0 -92 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/width.go +0 -107 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/winop.go +0 -59 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/wrap.go +0 -472 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/xterm.go +0 -138 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/buffer.go +0 -474 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/cell.go +0 -487 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/errors.go +0 -6 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/geom.go +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/hardscroll.go +0 -273 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/hashmap.go +0 -301 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/link.go +0 -14 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/pen.go +0 -92 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/screen.go +0 -1514 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/sequence.go +0 -131 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/style.go +0 -31 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/tabstop.go +0 -137 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/utils.go +0 -24 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/wrap.go +0 -191 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/writer.go +0 -340 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term.go +0 -51 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_other.go +0 -39 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_plan9.go +0 -118 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix.go +0 -96 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix_bsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix_other.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_windows.go +0 -87 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/terminal.go +0 -12 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/util.go +0 -47 collapsed to keep the page light
D vendor/github.com/cli/browser/LICENSE +0 -23 collapsed to keep the page light
D vendor/github.com/cli/browser/README.md +0 -20 collapsed to keep the page light
D vendor/github.com/cli/browser/browser.go +0 -57 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_darwin.go +0 -5 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_freebsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_linux.go +0 -21 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_netbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_openbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_unsupported.go +0 -12 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_windows.go +0 -7 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/.gitignore +0 -3 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/AGENTS.md +0 -51 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/CHANGELOG.md +0 -129 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/README.md +0 -190 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/gen.go +0 -3 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/graphemes.go +0 -73 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/options.go +0 -30 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/trie.go +0 -1699 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/truncate.go +0 -149 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/width.go +0 -239 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/README.md +0 -120 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi.go +0 -138 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi8.go +0 -79 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/iterator.go +0 -144 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/reader.go +0 -25 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/splitfunc.go +0 -205 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/trie.go +0 -1717 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md +0 -21 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/debug.go +0 -62 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go +0 -24 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go +0 -416 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/LICENSE +0 -15 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/bypass.go +0 -145 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/bypasssafe.go +0 -38 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/common.go +0 -341 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/config.go +0 -306 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/doc.go +0 -211 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/dump.go +0 -509 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/format.go +0 -419 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/spew.go +0 -148 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/.golangci.yml +0 -24 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/README.md +0 -2 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/keycodes.go +0 -205 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/mode.go +0 -82 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/read.go +0 -154 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/records.go +0 -486 collapsed to keep the page light
D vendor/github.com/fatih/color/LICENSE.md +0 -20 collapsed to keep the page light
D vendor/github.com/fatih/color/README.md +0 -189 collapsed to keep the page light
D vendor/github.com/fatih/color/color.go +0 -733 collapsed to keep the page light
D vendor/github.com/fatih/color/color_windows.go +0 -22 collapsed to keep the page light
D vendor/github.com/fatih/color/doc.go +0 -134 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/.gitignore +0 -10 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/.mailmap +0 -2 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/CHANGELOG.md +0 -651 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md +0 -147 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/LICENSE +0 -25 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/README.md +0 -214 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_fen.go +0 -469 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_inotify.go +0 -597 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_kqueue.go +0 -735 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_other.go +0 -22 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_windows.go +0 -702 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/fsnotify.go +0 -526 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/darwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go +0 -32 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_linux.go +0 -56 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go +0 -16 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_solaris.go +0 -45 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/internal.go +0 -2 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/unix.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/unix2.go +0 -25 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/shared.go +0 -64 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/staticcheck.conf +0 -3 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/system_bsd.go +0 -7 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/system_darwin.go +0 -8 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.editorconfig +0 -24 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.envrc +0 -7 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.gitignore +0 -10 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.golangci.yaml +0 -48 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/CHANGELOG.md +0 -104 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/README.md +0 -81 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/decode_hooks.go +0 -714 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.lock +0 -103 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.nix +0 -14 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/errors.go +0 -244 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/errors.go +0 -11 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/join.go +0 -9 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/join_go1_19.go +0 -61 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/mapstructure.go +0 -1948 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/reflect_go1_19.go +0 -44 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/reflect_go1_20.go +0 -10 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/.cirrus.yml +0 -11 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/.golangci.yml +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/CONTRIBUTING.md +0 -50 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/LICENSE +0 -25 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/MAINTAINERS +0 -3 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/README.md +0 -47 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/SECURITY.md +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth.go +0 -257 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_anonymous.go +0 -16 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_default_other.go +0 -7 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_default_windows.go +0 -5 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_external.go +0 -26 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_sha1_windows.go +0 -109 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/call.go +0 -66 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn.go +0 -1009 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_darwin.go +0 -36 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_other.go +0 -83 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_unix.go +0 -40 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_windows.go +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/dbus.go +0 -427 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/decoder.go +0 -376 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/default_handler.go +0 -338 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/doc.go +0 -70 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/encoder.go +0 -235 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/escape.go +0 -84 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/export.go +0 -484 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/match.go +0 -89 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/message.go +0 -393 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/object.go +0 -181 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sequence.go +0 -24 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sequential_handler.go +0 -125 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/server_interfaces.go +0 -107 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sig.go +0 -298 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_darwin.go +0 -6 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_generic.go +0 -52 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_nonce_tcp.go +0 -41 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_tcp.go +0 -41 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unix.go +0 -291 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_dragonfly.go +0 -95 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go +0 -94 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_linux.go +0 -25 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_openbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_zos.go +0 -6 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant.go +0 -169 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant_lexer.go +0 -284 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant_parser.go +0 -815 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/LICENSE +0 -201 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/README.md +0 -23 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/trap_others.go +0 -16 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/trap_windows.go +0 -42 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/.gitignore +0 -101 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/CHANGELOG.md +0 -72 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/LICENSE +0 -7 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/README.md +0 -490 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/colorgens.go +0 -67 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/colors.go +0 -1156 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/happy_palettegen.go +0 -29 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hexcolor.go +0 -91 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hsluv-snapshot-rev4.json +0 -1 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hsluv.go +0 -208 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/rand.go +0 -22 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/soft_palettegen.go +0 -192 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/sort.go +0 -191 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/warm_palettegen.go +0 -29 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/widegamut.go +0 -290 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/README.md +0 -48 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/colorable_others.go +0 -38 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/colorable_windows.go +0 -1047 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/go.test.sh +0 -12 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/noncolorable.go +0 -57 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/LICENSE +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/README.md +0 -50 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/doc.go +0 -2 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/go.test.sh +0 -12 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_bsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_others.go +0 -17 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_plan9.go +0 -23 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_solaris.go +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_tcgets.go +0 -20 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_windows.go +0 -136 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/README.md +0 -23 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader.go +0 -19 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader_unix.go +0 -11 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader_windows.go +0 -85 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/README.md +0 -27 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/benchstat.txt +0 -43 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/new.txt +0 -54 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/old.txt +0 -54 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth.go +0 -420 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_appengine.go +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_js.go +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_posix.go +0 -81 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_table.go +0 -488 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_windows.go +0 -34 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/LICENSE.txt +0 -24 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/README.md +0 -85 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/env.go +0 -53 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/interpolate.go +0 -213 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/parser.go +0 -281 collapsed to keep the page light
D vendor/github.com/muesli/ansi/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/ansi/.golangci.yml +0 -27 collapsed to keep the page light
D vendor/github.com/muesli/ansi/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/ansi/README.md +0 -31 collapsed to keep the page light
D vendor/github.com/muesli/ansi/ansi.go +0 -7 collapsed to keep the page light
D vendor/github.com/muesli/ansi/buffer.go +0 -40 collapsed to keep the page light
D vendor/github.com/muesli/ansi/compressor/writer.go +0 -132 collapsed to keep the page light
D vendor/github.com/muesli/ansi/writer.go +0 -76 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.golangci-soft.yml +0 -47 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.golangci.yml +0 -29 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/README.md +0 -64 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader.go +0 -93 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_bsd.go +0 -146 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_default.go +0 -12 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_linux.go +0 -154 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_select.go +0 -136 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_unix.go +0 -18 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_windows.go +0 -244 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.golangci-soft.yml +0 -43 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.golangci.yml +0 -28 collapsed to keep the page light
D vendor/github.com/muesli/termenv/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/termenv/README.md +0 -431 collapsed to keep the page light
D vendor/github.com/muesli/termenv/ansi_compat.md +0 -65 collapsed to keep the page light
D vendor/github.com/muesli/termenv/ansicolors.go +0 -281 collapsed to keep the page light
D vendor/github.com/muesli/termenv/color.go +0 -205 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_linux.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_solaris.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_unix.go +0 -13 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_zos.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/copy.go +0 -37 collapsed to keep the page light
D vendor/github.com/muesli/termenv/hyperlink.go +0 -11 collapsed to keep the page light
D vendor/github.com/muesli/termenv/notification.go +0 -11 collapsed to keep the page light
D vendor/github.com/muesli/termenv/output.go +0 -205 collapsed to keep the page light
D vendor/github.com/muesli/termenv/profile.go +0 -112 collapsed to keep the page light
D vendor/github.com/muesli/termenv/screen.go +0 -590 collapsed to keep the page light
D vendor/github.com/muesli/termenv/style.go +0 -126 collapsed to keep the page light
D vendor/github.com/muesli/termenv/templatehelper.go +0 -88 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv.go +0 -115 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_other.go +0 -30 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_posix.go +0 -17 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_solaris.go +0 -22 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_unix.go +0 -301 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_windows.go +0 -140 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/.gitignore +0 -24 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/README.md +0 -35 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/atomic.go +0 -73 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/file_unix.go +0 -14 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/file_windows.go +0 -33 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/zfile_windows.go +0 -27 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.dockerignore +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.gitattributes +0 -4 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.golangci.toml +0 -76 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.goreleaser.yaml +0 -128 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/AGENTS.md +0 -73 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/CONTRIBUTING.md +0 -254 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/Dockerfile +0 -6 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/README.md +0 -327 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/SECURITY.md +0 -16 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/capability_baseline.txt +0 -1 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/caps.sh +0 -101 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/ci.sh +0 -293 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/decode.go +0 -538 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/decode_fused.go +0 -362 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/doc.go +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/errors.go +0 -233 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/parserbridge/parserbridge.go +0 -37 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/key.go +0 -49 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/seen.go +0 -450 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/localtime.go +0 -121 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/marshaler.go +0 -1697 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/strict.go +0 -108 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/test-go-versions.sh +0 -597 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/toml.abnf +0 -246 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/types.go +0 -24 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unmarshaler.go +0 -2396 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/ast.go +0 -124 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/bridge.go +0 -21 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/doc.go +0 -3 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/kind.go +0 -83 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/marshaler.go +0 -29 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/parser.go +0 -1686 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go +0 -43 collapsed to keep the page light
D vendor/github.com/pmezard/go-difflib/LICENSE +0 -27 collapsed to keep the page light
D vendor/github.com/pmezard/go-difflib/difflib/difflib.go +0 -772 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.gitignore +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.golangci.yaml +0 -31 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.goreleaser.yaml +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/CHANGELOG.md +0 -350 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/Makefile +0 -150 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/README.md +0 -500 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/create.go +0 -116 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialect/querier.go +0 -25 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialect/querier_extended.go +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialects.go +0 -214 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/doc.go +0 -14 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/sql_extended.go +0 -23 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/store.go +0 -66 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/store_extended.go +0 -33 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/db.go +0 -48 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/dialect.go +0 -74 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/down.go +0 -107 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/fix.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/globals.go +0 -104 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/goose.go +0 -141 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/helpers.go +0 -84 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/install.sh +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/controller/store.go +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/clickhouse.go +0 -53 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/dsql.go +0 -66 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/mysql.go +0 -62 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/postgres.go +0 -70 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/redshift.go +0 -52 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/spanner.go +0 -50 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/sqlite3.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/sqlserver.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/starrocks.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/tidb.go +0 -52 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/turso.go +0 -14 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/vertica.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/ydb.go +0 -72 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/gooseutil/resolve.go +0 -118 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/legacystore/legacystore.go +0 -173 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/sqlparser/parse.go +0 -59 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/sqlparser/parser.go +0 -394 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/store/postgres.go +0 -282 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/store/store.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/table/config.go +0 -28 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/table/locker.go +0 -237 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/locker.go +0 -32 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/postgres.go +0 -165 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/session_locker_options.go +0 -98 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/table_locker_options.go +0 -136 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/log.go +0 -36 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migrate.go +0 -379 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migration.go +0 -398 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migration_sql.go +0 -115 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/osfs.go +0 -28 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider.go +0 -669 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_collect.go +0 -196 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_errors.go +0 -48 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_options.go +0 -280 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_run.go +0 -535 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_types.go +0 -91 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/redo.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/register.go +0 -133 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/reset.go +0 -64 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/status.go +0 -64 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/up.go +0 -221 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/version.go +0 -52 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/LICENSE.txt +0 -21 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/README.md +0 -137 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/doc.go +0 -108 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/eastasianwidth.go +0 -2588 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/emojipresentation.go +0 -295 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/gen_breaktest.go +0 -215 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/gen_properties.go +0 -261 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/grapheme.go +0 -331 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/graphemeproperties.go +0 -1915 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/graphemerules.go +0 -176 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/line.go +0 -134 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/lineproperties.go +0 -3554 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/linerules.go +0 -626 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/properties.go +0 -208 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentence.go +0 -90 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentenceproperties.go +0 -2845 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentencerules.go +0 -276 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/step.go +0 -242 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/width.go +0 -61 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/word.go +0 -89 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/wordproperties.go +0 -1883 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/wordrules.go +0 -282 collapsed to keep the page light
D vendor/github.com/rs/zerolog/.gitignore +0 -27 collapsed to keep the page light
D vendor/github.com/rs/zerolog/CONTRIBUTING.md +0 -43 collapsed to keep the page light
D vendor/github.com/rs/zerolog/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/rs/zerolog/README.md +0 -858 collapsed to keep the page light
D vendor/github.com/rs/zerolog/array.go +0 -276 collapsed to keep the page light
D vendor/github.com/rs/zerolog/console.go +0 -535 collapsed to keep the page light
D vendor/github.com/rs/zerolog/context.go +0 -535 collapsed to keep the page light
D vendor/github.com/rs/zerolog/ctx.go +0 -51 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder.go +0 -56 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder_cbor.go +0 -45 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder_json.go +0 -51 collapsed to keep the page light
D vendor/github.com/rs/zerolog/event.go +0 -919 collapsed to keep the page light
D vendor/github.com/rs/zerolog/example.jsonl +0 -7 collapsed to keep the page light
D vendor/github.com/rs/zerolog/fields.go +0 -312 collapsed to keep the page light
D vendor/github.com/rs/zerolog/globals.go +0 -208 collapsed to keep the page light
D vendor/github.com/rs/zerolog/globals_118.go +0 -30 collapsed to keep the page light
D vendor/github.com/rs/zerolog/go112.go +0 -7 collapsed to keep the page light
D vendor/github.com/rs/zerolog/hook.go +0 -64 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/README.md +0 -56 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/base.go +0 -19 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/cbor.go +0 -102 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +0 -654 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/string.go +0 -117 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/time.go +0 -111 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/types.go +0 -524 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/base.go +0 -19 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/bytes.go +0 -85 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/string.go +0 -149 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/time.go +0 -124 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/types.go +0 -466 collapsed to keep the page light
D vendor/github.com/rs/zerolog/log.go +0 -528 collapsed to keep the page light
D vendor/github.com/rs/zerolog/not_go112.go +0 -5 collapsed to keep the page light
D vendor/github.com/rs/zerolog/pretty.png +0 -0 binary file: no text diff
binary file: no text diff
D vendor/github.com/rs/zerolog/sampler.go +0 -137 collapsed to keep the page light
D vendor/github.com/rs/zerolog/slog.go +0 -247 collapsed to keep the page light
D vendor/github.com/rs/zerolog/syslog.go +0 -89 collapsed to keep the page light
D vendor/github.com/rs/zerolog/writer.go +0 -355 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/.travis.yml +0 -17 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/LICENSE.txt +0 -29 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/README.md +0 -335 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/block.go +0 -1612 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/doc.go +0 -46 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/entities.go +0 -2236 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/esc.go +0 -70 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/html.go +0 -952 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/inline.go +0 -1228 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/markdown.go +0 -950 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/node.go +0 -360 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/smartypants.go +0 -457 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.editorconfig +0 -21 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.envrc +0 -4 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.gitignore +0 -5 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.golangci.yaml +0 -37 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/LICENSE +0 -19 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/README.md +0 -37 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.lock +0 -103 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.nix +0 -17 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/file_type.go +0 -32 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/finder.go +0 -171 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/glob.go +0 -5 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/glob_windows.go +0 -8 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/helpers.go +0 -41 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/internal/queue/eager.go +0 -53 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go +0 -8 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/justfile +0 -14 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/.editorconfig +0 -18 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/CONTRIBUTING.md +0 -1 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/Makefile +0 -59 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/README.md +0 -186 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/fuzzy.go +0 -263 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/LICENSE +0 -202 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/README.md +0 -185 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff.go +0 -134 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_constant.go +0 -25 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_exponential.go +0 -47 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_fibonacci.go +0 -56 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/rand.go +0 -54 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/retry.go +0 -104 collapsed to keep the page light
D vendor/github.com/spf13/afero/.editorconfig +0 -15 collapsed to keep the page light
D vendor/github.com/spf13/afero/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/afero/.golangci.yaml +0 -48 collapsed to keep the page light
D vendor/github.com/spf13/afero/LICENSE.txt +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/afero/README.md +0 -474 collapsed to keep the page light
D vendor/github.com/spf13/afero/afero.go +0 -111 collapsed to keep the page light
D vendor/github.com/spf13/afero/appveyor.yml +0 -10 collapsed to keep the page light
D vendor/github.com/spf13/afero/basepath.go +0 -222 collapsed to keep the page light
D vendor/github.com/spf13/afero/cacheOnReadFs.go +0 -315 collapsed to keep the page light
D vendor/github.com/spf13/afero/const_bsds.go +0 -23 collapsed to keep the page light
D vendor/github.com/spf13/afero/const_win_unix.go +0 -22 collapsed to keep the page light
D vendor/github.com/spf13/afero/copyOnWriteFs.go +0 -332 collapsed to keep the page light
D vendor/github.com/spf13/afero/httpFs.go +0 -114 collapsed to keep the page light
D vendor/github.com/spf13/afero/internal/common/adapters.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/afero/iofs.go +0 -302 collapsed to keep the page light
D vendor/github.com/spf13/afero/ioutil.go +0 -243 collapsed to keep the page light
D vendor/github.com/spf13/afero/lstater.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/afero/match.go +0 -110 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/dir.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/dirmap.go +0 -43 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/file.go +0 -373 collapsed to keep the page light
D vendor/github.com/spf13/afero/memmap.go +0 -463 collapsed to keep the page light
D vendor/github.com/spf13/afero/os.go +0 -113 collapsed to keep the page light
D vendor/github.com/spf13/afero/path.go +0 -106 collapsed to keep the page light
D vendor/github.com/spf13/afero/readonlyfs.go +0 -96 collapsed to keep the page light
D vendor/github.com/spf13/afero/regexpfs.go +0 -223 collapsed to keep the page light
D vendor/github.com/spf13/afero/symlink.go +0 -55 collapsed to keep the page light
D vendor/github.com/spf13/afero/unionFile.go +0 -331 collapsed to keep the page light
D vendor/github.com/spf13/afero/util.go +0 -329 collapsed to keep the page light
D vendor/github.com/spf13/cast/.editorconfig +0 -15 collapsed to keep the page light
D vendor/github.com/spf13/cast/.gitignore +0 -25 collapsed to keep the page light
D vendor/github.com/spf13/cast/.golangci.yaml +0 -39 collapsed to keep the page light
D vendor/github.com/spf13/cast/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/cast/Makefile +0 -40 collapsed to keep the page light
D vendor/github.com/spf13/cast/README.md +0 -79 collapsed to keep the page light
D vendor/github.com/spf13/cast/alias.go +0 -69 collapsed to keep the page light
D vendor/github.com/spf13/cast/basic.go +0 -131 collapsed to keep the page light
D vendor/github.com/spf13/cast/cast.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/cast/indirect.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/cast/internal/time.go +0 -79 collapsed to keep the page light
D vendor/github.com/spf13/cast/internal/timeformattype_string.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/cast/map.go +0 -212 collapsed to keep the page light
D vendor/github.com/spf13/cast/number.go +0 -549 collapsed to keep the page light
D vendor/github.com/spf13/cast/slice.go +0 -106 collapsed to keep the page light
D vendor/github.com/spf13/cast/time.go +0 -116 collapsed to keep the page light
D vendor/github.com/spf13/cast/zz_generated.go +0 -261 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.gitignore +0 -39 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.golangci.yml +0 -66 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.mailmap +0 -3 collapsed to keep the page light
D vendor/github.com/spf13/cobra/CONDUCT.md +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/cobra/CONTRIBUTING.md +0 -50 collapsed to keep the page light
D vendor/github.com/spf13/cobra/LICENSE.txt +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/cobra/MAINTAINERS +0 -13 collapsed to keep the page light
D vendor/github.com/spf13/cobra/Makefile +0 -35 collapsed to keep the page light
D vendor/github.com/spf13/cobra/README.md +0 -133 collapsed to keep the page light
D vendor/github.com/spf13/cobra/SECURITY.md +0 -105 collapsed to keep the page light
D vendor/github.com/spf13/cobra/active_help.go +0 -60 collapsed to keep the page light
D vendor/github.com/spf13/cobra/args.go +0 -131 collapsed to keep the page light
D vendor/github.com/spf13/cobra/bash_completions.go +0 -709 collapsed to keep the page light
D vendor/github.com/spf13/cobra/bash_completionsV2.go +0 -484 collapsed to keep the page light
D vendor/github.com/spf13/cobra/cobra.go +0 -246 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command.go +0 -2072 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command_notwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command_win.go +0 -41 collapsed to keep the page light
D vendor/github.com/spf13/cobra/completions.go +0 -1020 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/man_docs.go +0 -246 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/md_docs.go +0 -158 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/rest_docs.go +0 -186 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/util.go +0 -52 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/yaml_docs.go +0 -175 collapsed to keep the page light
D vendor/github.com/spf13/cobra/fish_completions.go +0 -292 collapsed to keep the page light
D vendor/github.com/spf13/cobra/flag_groups.go +0 -290 collapsed to keep the page light
D vendor/github.com/spf13/cobra/powershell_completions.go +0 -350 collapsed to keep the page light
D vendor/github.com/spf13/cobra/shell_completions.go +0 -98 collapsed to keep the page light
D vendor/github.com/spf13/cobra/zsh_completions.go +0 -308 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.editorconfig +0 -12 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.golangci.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.travis.yml +0 -22 collapsed to keep the page light
D vendor/github.com/spf13/pflag/LICENSE +0 -28 collapsed to keep the page light
D vendor/github.com/spf13/pflag/README.md +0 -323 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool.go +0 -94 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool_func.go +0 -40 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool_slice.go +0 -185 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bytes.go +0 -209 collapsed to keep the page light
D vendor/github.com/spf13/pflag/count.go +0 -96 collapsed to keep the page light
D vendor/github.com/spf13/pflag/duration.go +0 -86 collapsed to keep the page light
D vendor/github.com/spf13/pflag/duration_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/errors.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/flag.go +0 -1289 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float32_slice.go +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float64.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float64_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/func.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/pflag/golangflag.go +0 -161 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int16.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int32_slice.go +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int64.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int64_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int8.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int_slice.go +0 -158 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ip.go +0 -97 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ip_slice.go +0 -186 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipmask.go +0 -122 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipnet.go +0 -98 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipnet_slice.go +0 -147 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string.go +0 -80 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_array.go +0 -125 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_slice.go +0 -163 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_int.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_int64.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_string.go +0 -168 collapsed to keep the page light
D vendor/github.com/spf13/pflag/text.go +0 -81 collapsed to keep the page light
D vendor/github.com/spf13/pflag/time.go +0 -124 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint16.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint64.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint8.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint_slice.go +0 -168 collapsed to keep the page light
D vendor/github.com/spf13/viper/.editorconfig +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/viper/.envrc +0 -4 collapsed to keep the page light
D vendor/github.com/spf13/viper/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/spf13/viper/.golangci.yaml +0 -118 collapsed to keep the page light
D vendor/github.com/spf13/viper/.yamlignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/viper/.yamllint.yaml +0 -6 collapsed to keep the page light
D vendor/github.com/spf13/viper/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/viper/Makefile +0 -87 collapsed to keep the page light
D vendor/github.com/spf13/viper/README.md +0 -931 collapsed to keep the page light
D vendor/github.com/spf13/viper/TROUBLESHOOTING.md +0 -32 collapsed to keep the page light
D vendor/github.com/spf13/viper/UPGRADE.md +0 -147 collapsed to keep the page light
D vendor/github.com/spf13/viper/encoding.go +0 -181 collapsed to keep the page light
D vendor/github.com/spf13/viper/experimental.go +0 -8 collapsed to keep the page light
D vendor/github.com/spf13/viper/file.go +0 -104 collapsed to keep the page light
D vendor/github.com/spf13/viper/finder.go +0 -55 collapsed to keep the page light
D vendor/github.com/spf13/viper/flags.go +0 -57 collapsed to keep the page light
D vendor/github.com/spf13/viper/flake.lock +0 -255 collapsed to keep the page light
D vendor/github.com/spf13/viper/flake.nix +0 -61 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/dotenv/codec.go +0 -61 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/dotenv/map_utils.go +0 -41 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/json/codec.go +0 -17 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/toml/codec.go +0 -16 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go +0 -14 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/bind_struct.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/bind_struct_default.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/finder.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/finder_default.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/logger.go +0 -31 collapsed to keep the page light
D vendor/github.com/spf13/viper/remote.go +0 -259 collapsed to keep the page light
D vendor/github.com/spf13/viper/util.go +0 -211 collapsed to keep the page light
D vendor/github.com/spf13/viper/viper.go +0 -2077 collapsed to keep the page light
D vendor/github.com/stretchr/objx/.codeclimate.yml +0 -21 collapsed to keep the page light
D vendor/github.com/stretchr/objx/.gitignore +0 -11 collapsed to keep the page light
D vendor/github.com/stretchr/objx/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/stretchr/objx/README.md +0 -91 collapsed to keep the page light
D vendor/github.com/stretchr/objx/Taskfile.yml +0 -27 collapsed to keep the page light
D vendor/github.com/stretchr/objx/accessors.go +0 -197 collapsed to keep the page light
D vendor/github.com/stretchr/objx/conversions.go +0 -280 collapsed to keep the page light
D vendor/github.com/stretchr/objx/doc.go +0 -66 collapsed to keep the page light
D vendor/github.com/stretchr/objx/map.go +0 -214 collapsed to keep the page light
D vendor/github.com/stretchr/objx/mutations.go +0 -77 collapsed to keep the page light
D vendor/github.com/stretchr/objx/security.go +0 -12 collapsed to keep the page light
D vendor/github.com/stretchr/objx/tests.go +0 -17 collapsed to keep the page light
D vendor/github.com/stretchr/objx/type_specific.go +0 -346 collapsed to keep the page light
D vendor/github.com/stretchr/objx/type_specific_codegen.go +0 -2261 collapsed to keep the page light
D vendor/github.com/stretchr/objx/value.go +0 -159 collapsed to keep the page light
D vendor/github.com/stretchr/testify/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_compare.go +0 -495 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_format.go +0 -866 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_forward.go +0 -1723 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_order.go +0 -81 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertions.go +0 -2295 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/doc.go +0 -50 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/errors.go +0 -10 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/forward_assertions.go +0 -16 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/http_assertions.go +0 -165 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_custom.go +0 -24 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_default.go +0 -36 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_fail.go +0 -17 collapsed to keep the page light
D vendor/github.com/stretchr/testify/mock/doc.go +0 -44 collapsed to keep the page light
D vendor/github.com/stretchr/testify/mock/mock.go +0 -1298 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/doc.go +0 -31 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/forward_requirements.go +0 -16 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require.go +0 -2180 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require.go.tmpl +0 -6 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require_forward.go +0 -1724 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require_forward.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/requirements.go +0 -29 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.env +0 -1 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.env.invalid +0 -1 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.gitignore +0 -4 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.golangci.yaml +0 -7 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/CHANGELOG.md +0 -105 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/README.md +0 -129 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/gotenv.go +0 -409 collapsed to keep the page light
D vendor/github.com/xo/terminfo/.gitignore +0 -9 collapsed to keep the page light
D vendor/github.com/xo/terminfo/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/xo/terminfo/README.md +0 -139 collapsed to keep the page light
D vendor/github.com/xo/terminfo/caps.go +0 -31 collapsed to keep the page light
D vendor/github.com/xo/terminfo/capvals.go +0 -1525 collapsed to keep the page light
D vendor/github.com/xo/terminfo/color.go +0 -88 collapsed to keep the page light
D vendor/github.com/xo/terminfo/dec.go +0 -245 collapsed to keep the page light
D vendor/github.com/xo/terminfo/load.go +0 -64 collapsed to keep the page light
D vendor/github.com/xo/terminfo/param.go +0 -405 collapsed to keep the page light
D vendor/github.com/xo/terminfo/stack.go +0 -48 collapsed to keep the page light
D vendor/github.com/xo/terminfo/terminfo.go +0 -479 collapsed to keep the page light
D vendor/go.uber.org/multierr/.codecov.yml +0 -15 collapsed to keep the page light
D vendor/go.uber.org/multierr/.gitignore +0 -4 collapsed to keep the page light
D vendor/go.uber.org/multierr/CHANGELOG.md +0 -95 collapsed to keep the page light
D vendor/go.uber.org/multierr/LICENSE.txt +0 -19 collapsed to keep the page light
D vendor/go.uber.org/multierr/Makefile +0 -38 collapsed to keep the page light
D vendor/go.uber.org/multierr/README.md +0 -43 collapsed to keep the page light
D vendor/go.uber.org/multierr/error.go +0 -646 collapsed to keep the page light
D vendor/go.uber.org/multierr/error_post_go120.go +0 -48 collapsed to keep the page light
D vendor/go.uber.org/multierr/error_pre_go120.go +0 -79 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/LICENSE +0 -50 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/NOTICE +0 -13 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/README.md +0 -171 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/apic.go +0 -747 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/decode.go +0 -1018 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/emitterc.go +0 -2054 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/encode.go +0 -577 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/parserc.go +0 -1274 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/readerc.go +0 -434 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/resolve.go +0 -326 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/scannerc.go +0 -3040 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/sorter.go +0 -134 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/writerc.go +0 -48 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yaml.go +0 -703 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yamlh.go +0 -811 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yamlprivateh.go +0 -198 collapsed to keep the page light
D vendor/golang.org/x/image/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/image/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/image/draw/draw.go +0 -67 collapsed to keep the page light
D vendor/golang.org/x/image/draw/impl.go +0 -8426 collapsed to keep the page light
D vendor/golang.org/x/image/draw/scale.go +0 -525 collapsed to keep the page light
D vendor/golang.org/x/image/math/f64/f64.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/mod/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/mod/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/print.go +0 -184 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/read.go +0 -962 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/rule.go +0 -1951 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/work.go +0 -333 collapsed to keep the page light
D vendor/golang.org/x/mod/module/module.go +0 -840 collapsed to keep the page light
D vendor/golang.org/x/mod/module/pseudo.go +0 -250 collapsed to keep the page light
D vendor/golang.org/x/mod/semver/semver.go +0 -407 collapsed to keep the page light
D vendor/golang.org/x/net/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/net/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/net/html/atom/atom.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/net/html/atom/table.go +0 -785 collapsed to keep the page light
D vendor/golang.org/x/net/html/const.go +0 -111 collapsed to keep the page light
D vendor/golang.org/x/net/html/doc.go +0 -122 collapsed to keep the page light
D vendor/golang.org/x/net/html/doctype.go +0 -156 collapsed to keep the page light
D vendor/golang.org/x/net/html/entity.go +0 -2252 collapsed to keep the page light
D vendor/golang.org/x/net/html/escape.go +0 -379 collapsed to keep the page light
D vendor/golang.org/x/net/html/foreign.go +0 -221 collapsed to keep the page light
D vendor/golang.org/x/net/html/iter.go +0 -54 collapsed to keep the page light
D vendor/golang.org/x/net/html/node.go +0 -230 collapsed to keep the page light
D vendor/golang.org/x/net/html/nodetype_string.go +0 -31 collapsed to keep the page light
D vendor/golang.org/x/net/html/parse.go +0 -2378 collapsed to keep the page light
D vendor/golang.org/x/net/html/render.go +0 -316 collapsed to keep the page light
D vendor/golang.org/x/net/html/token.go +0 -1322 collapsed to keep the page light
D vendor/golang.org/x/net/idna/idna.go +0 -880 collapsed to keep the page light
D vendor/golang.org/x/net/idna/punycode.go +0 -220 collapsed to keep the page light
D vendor/golang.org/x/net/idna/tables15.0.0.go +0 -5144 collapsed to keep the page light
D vendor/golang.org/x/net/idna/tables17.0.0.go +0 -5302 collapsed to keep the page light
D vendor/golang.org/x/net/idna/trie.go +0 -51 collapsed to keep the page light
D vendor/golang.org/x/net/idna/trieval.go +0 -119 collapsed to keep the page light
D vendor/golang.org/x/net/publicsuffix/data/children +0 -0 binary file: no text diff
binary file: no text diff
D vendor/golang.org/x/net/publicsuffix/data/nodes +0 -0 binary file: no text diff
binary file: no text diff