chore(build): repair vendored baseline
- commit
- d4952b41d17da47c4f9870c27e97820adf5202e5
- author
- brice · · 2026-07-14 05:44 UTC
- parent
- ae333bf
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3316 files · +1391338 -4
M Makefile +2 -2
| @@ -239,13 +239,13 @@ flatpak-deps: ## Install Flatpak build dependencies (Arch) | |||
| 239 | 239 | ||
| 240 | 240 | flatpak-build: ## Build Flatpak bundle locally | |
| 241 | 241 | @echo "Building Flatpak bundle..." | |
| 242 | - | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build dev.bnema.Dumber.yml | |
| 242 | + | flatpak-builder --force-clean --user --repo=flatpak-repo flatpak-build flatpak/dev.bnema.Dumber.yml | |
| 243 | 243 | flatpak build-bundle flatpak-repo dumber.flatpak dev.bnema.Dumber | |
| 244 | 244 | @echo "Flatpak bundle created: dumber.flatpak" | |
| 245 | 245 | ||
| 246 | 246 | flatpak-install: ## Install Flatpak locally for testing | |
| 247 | 247 | @echo "Installing Flatpak locally..." | |
| 248 | - | flatpak-builder --force-clean --user --install flatpak-build dev.bnema.Dumber.yml | |
| 248 | + | flatpak-builder --force-clean --user --install flatpak-build flatpak/dev.bnema.Dumber.yml | |
| 249 | 249 | @echo "Flatpak installed! Run with: make flatpak-run" | |
| 250 | 250 | ||
| 251 | 251 | flatpak-run: ## Run the installed Flatpak | |
M flatpak/dev.bnema.Dumber.yml +2 -2
| @@ -53,10 +53,10 @@ modules: | |||
| 53 | 53 | path: dev.bnema.Dumber.desktop | |
| 54 | 54 | # Icons | |
| 55 | 55 | - type: file | |
| 56 | - | path: assets/logo.svg | |
| 56 | + | path: ../assets/logo.svg | |
| 57 | 57 | dest-filename: logo.svg | |
| 58 | 58 | - type: file | |
| 59 | - | path: assets/logo-512.png | |
| 59 | + | path: ../assets/logo-512.png | |
| 60 | 60 | dest-filename: logo-512.png | |
| 61 | 61 | # Metainfo | |
| 62 | 62 | - type: file | |
A vendor/github.com/a-h/parse/.gitignore +1 -0 generated file: collapsed
A vendor/github.com/a-h/parse/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/a-h/parse/README.md +145 -0 generated file: collapsed
A vendor/github.com/a-h/parse/all.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/parse/any.go +22 -0 generated file: collapsed
A vendor/github.com/a-h/parse/convert.go +14 -0 generated file: collapsed
A vendor/github.com/a-h/parse/digits.go +4 -0 generated file: collapsed
A vendor/github.com/a-h/parse/eof.go +15 -0 generated file: collapsed
A vendor/github.com/a-h/parse/error.go +21 -0 generated file: collapsed
A vendor/github.com/a-h/parse/input.go +79 -0 generated file: collapsed
A vendor/github.com/a-h/parse/optional.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/parse/or.go +37 -0 generated file: collapsed
A vendor/github.com/a-h/parse/regexp.go +46 -0 generated file: collapsed
A vendor/github.com/a-h/parse/rune.go +58 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof2.go +27 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof3.go +35 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof4.go +41 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof5.go +48 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof6.go +55 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof7.go +62 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof8.go +69 -0 generated file: collapsed
A vendor/github.com/a-h/parse/sequenceof9.go +76 -0 generated file: collapsed
A vendor/github.com/a-h/parse/string.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/parse/stringfrom.go +30 -0 generated file: collapsed
A vendor/github.com/a-h/parse/stringuntil.go +49 -0 generated file: collapsed
A vendor/github.com/a-h/parse/then.go +9 -0 generated file: collapsed
A vendor/github.com/a-h/parse/times.go +83 -0 generated file: collapsed
A vendor/github.com/a-h/parse/tuples.go +69 -0 generated file: collapsed
A vendor/github.com/a-h/parse/types.go +33 -0 generated file: collapsed
A vendor/github.com/a-h/parse/until.go +68 -0 generated file: collapsed
A vendor/github.com/a-h/parse/whitespace.go +29 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.dockerignore +3 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.envrc +1 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.gitignore +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.goreleaser.yaml +72 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.ignore +9 -0 generated file: collapsed
A vendor/github.com/a-h/templ/.version +1 -0 generated file: collapsed
A vendor/github.com/a-h/templ/CODE_OF_CONDUCT.md +128 -0 generated file: collapsed
A vendor/github.com/a-h/templ/CONTRIBUTING.md +247 -0 generated file: collapsed
A vendor/github.com/a-h/templ/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/a-h/templ/README.md +194 -0 generated file: collapsed
A vendor/github.com/a-h/templ/SECURITY.md +9 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/fmtcmd/main.go +132 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/fmtcmd/testdata.txtar +66 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/cmd.go +452 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/eventhandler.go +349 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/fatalerror.go +23 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/main.go +237 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/modcheck/modcheck.go +82 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/proxy.go +385 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/script.js +10 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_unix.go +88 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_windows.go +75 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/sse/server.go +84 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/generatecmd/watcher/watch.go +166 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/infocmd/main.go +195 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/handler.go +130 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list.templ +22 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list_templ.go +114 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/main.go +145 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/pls/main.go +128 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/client.go +146 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/diagnosticcache.go +61 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/documentcontents.go +215 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/rewrite.go +24 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/server.go +1464 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/snippets.go +111 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/sourcemapcache.go +60 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/lspcmd/stdrwc.go +50 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/main.go +280 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/processor/processor.go +66 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/sloghandler/handler.go +120 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation.templ +68 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation_templ.go +295 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cmd/templ/visualize/types.go +87 -0 generated file: collapsed
A vendor/github.com/a-h/templ/cosign.pub +4 -0 generated file: collapsed
A vendor/github.com/a-h/templ/flake.lock +87 -0 generated file: collapsed
A vendor/github.com/a-h/templ/flake.nix +99 -0 generated file: collapsed
A vendor/github.com/a-h/templ/flush.go +36 -0 generated file: collapsed
A vendor/github.com/a-h/templ/fragment.go +73 -0 generated file: collapsed
A vendor/github.com/a-h/templ/generator/generator.go +1829 -0 generated file: collapsed
A vendor/github.com/a-h/templ/generator/rangewriter.go +122 -0 generated file: collapsed
A vendor/github.com/a-h/templ/handler.go +163 -0 generated file: collapsed
A vendor/github.com/a-h/templ/ide-demo.gif +0 -0 binary file: no text diff
binary file: no text diff
A vendor/github.com/a-h/templ/internal/format/scriptelement.go +96 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/format/styleelement.go +25 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/format/templ.go +102 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/htmlfind/htmlfind.go +67 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/imports/process.go +218 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/docheader.go +27 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/docheaderparser.go +53 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/pkgloader.go +55 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/pkgtraverser.go +110 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/lazyloader/templdoclazyloader.go +161 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/prettier/prettier.go +133 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/prettier/testdata.txtar +12 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/skipdir/skipdir.go +20 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/syncmap/map.go +49 -0 generated file: collapsed
A vendor/github.com/a-h/templ/internal/syncset/set.go +42 -0 generated file: collapsed
A vendor/github.com/a-h/templ/join.go +19 -0 generated file: collapsed
A vendor/github.com/a-h/templ/js.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/jsonscript.go +85 -0 generated file: collapsed
A vendor/github.com/a-h/templ/jsonstring.go +14 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/LICENSE +29 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/codes.go +86 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/conn.go +244 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/errors.go +70 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/handler.go +120 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/jsonrpc2.go +7 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/message.go +354 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/serve.go +131 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/stream.go +225 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/jsonrpc2/wire.go +140 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/base.go +95 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/basic.go +705 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/callhierarchy.go +103 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/capabilities_client.go +1068 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/capabilities_server.go +523 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/client.go +412 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/context.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/deprecated.go +264 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/diagnostics.go +149 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/doc.go +23 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/errors.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/general.go +461 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/handler.go +88 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/language.go +1401 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/progress.go +119 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/protocol.go +41 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/registration.go +44 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/selectionrange.go +110 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/semantic_token.go +179 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/server.go +1893 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/text.go +111 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/util.go +9 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/version.go +7 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/window.go +111 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/protocol/workspace.go +213 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/uri/uri.go +245 -0 generated file: collapsed
A vendor/github.com/a-h/templ/lsp/xcontext/xcontext.go +22 -0 generated file: collapsed
A vendor/github.com/a-h/templ/once.go +63 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/calltemplateparser.go +37 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/childrenparser.go +25 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/conditionalattributeparser.go +103 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/cssparser.go +200 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/diagnostics.go +64 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/doctypeparser.go +33 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/elementparser.go +605 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/expressionparser.go +246 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/fallthroughparser.go +26 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/forexpressionparser.go +57 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/fuzz.sh +5 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/gocodeparser.go +64 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/gocommentparser.go +66 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goexpression/fuzz.sh +19 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goexpression/parse.go +343 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goexpression/scanner.go +180 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/goparser.go +70 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/htmlcommentparser.go +40 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/ifexpressionparser.go +144 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/packageparser.go +32 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/parser.go +55 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/raw.go +67 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/scriptparser.go +336 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/scripttemplateparser.go +91 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/sourcemap.go +134 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/stringexpressionparser.go +44 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/structure.go +43 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/switchexpressionparser.go +171 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/templatefile.go +195 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/templateparser.go +154 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/templelementparser.go +59 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/textparser.go +53 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/types.go +1537 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/visitor.go +36 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/visitor/visitor.go +357 -0 generated file: collapsed
A vendor/github.com/a-h/templ/parser/v2/whitespaceparser.go +14 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime.go +736 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/buffer.go +62 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/bufferpool.go +38 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/builder.go +8 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/runtime.go +21 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/scriptelement.go +107 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/styleattribute.go +217 -0 generated file: collapsed
A vendor/github.com/a-h/templ/runtime/watchmode.go +181 -0 generated file: collapsed
A vendor/github.com/a-h/templ/safehtml/style.go +199 -0 generated file: collapsed
A vendor/github.com/a-h/templ/scripttemplate.go +150 -0 generated file: collapsed
A vendor/github.com/a-h/templ/templ.png +0 -0 binary file: no text diff
binary file: no text diff
A vendor/github.com/a-h/templ/url.go +31 -0 generated file: collapsed
A vendor/github.com/a-h/templ/version.go +10 -0 generated file: collapsed
A vendor/github.com/a-h/templ/watchmode.go +105 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/.gitignore +2 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/LICENSE +19 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/README.md +19 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/backward_references.go +185 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/backward_references_hq.go +796 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/bit_cost.go +436 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/bit_reader.go +266 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/bitwriter.go +56 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter.go +144 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter_command.go +434 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter_distance.go +433 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/block_splitter_literal.go +433 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/brotli_bit_stream.go +1435 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster.go +30 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster_command.go +164 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster_distance.go +326 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/cluster_literal.go +326 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/command.go +254 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/compress_fragment.go +834 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go +775 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/constants.go +77 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/context.go +2176 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/decode.go +2570 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/dictionary.go +122890 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/dictionary_hash.go +32779 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encode.go +1220 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encoder.go +177 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encoder_dict.go +22 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/encoder_fast.go +197 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/entropy_encode.go +592 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/entropy_encode_static.go +4399 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/fast_log.go +290 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/find_match_length.go +45 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/LICENSE +27 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/README.md +2 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/gzip.go +65 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/huffman_bit_writer.go +517 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/huffman_code.go +346 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/token.go +80 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/flate/writer.go +66 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/h10.go +287 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/h5.go +214 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/h6.go +216 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash.go +342 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_composite.go +93 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go +252 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go +214 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/hash_rolling.go +168 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/histogram.go +226 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/http.go +189 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/huffman.go +653 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/literal_cost.go +182 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/bargain1.go +212 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/bargain2.go +248 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/bargain3.go +278 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/emitter.go +34 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/m0.go +175 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/m4.go +339 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/matchfinder.go +103 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/pathfinder.go +328 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/textencoder.go +53 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/trio.go +326 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/zdfast.go +258 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/zfast.go +206 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/matchfinder/zm.go +301 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/memory.go +66 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock.go +574 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock_command.go +165 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock_distance.go +165 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/metablock_literal.go +165 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/params.go +37 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/platform.go +103 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/prefix.go +30 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/prefix_dec.go +723 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/quality.go +196 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/reader.go +126 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/ringbuffer.go +134 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/state.go +313 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/static_dict.go +662 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/static_dict_lut.go +75094 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/symbol_list.go +22 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/transform.go +641 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/utf8_util.go +70 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/util.go +7 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/write_bits.go +52 -0 generated file: collapsed
A vendor/github.com/andybalholm/brotli/writer.go +162 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/.travis.yml +22 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/LICENSE +27 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/README.md +48 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard.go +20 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_darwin.go +52 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_plan9.go +42 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_unix.go +149 -0 generated file: collapsed
A vendor/github.com/atotto/clipboard/clipboard_windows.go +157 -0 generated file: collapsed
A vendor/github.com/aymanbagabas/go-osc52/v2/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/aymanbagabas/go-osc52/v2/README.md +83 -0 generated file: collapsed
A vendor/github.com/aymanbagabas/go-osc52/v2/osc52.go +305 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/LICENSE +21 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/bridge.go +779 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_accessibility_handler_gen.go +135 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_app_gen.go +255 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_audio_handler_gen.go +222 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_auth_callback_gen.go +80 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_base_gen.go +13 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_browser_gen.go +1327 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_browser_process_handler_gen.go +280 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_callback_gen.go +173 -0 generated file: collapsed
A vendor/github.com/bnema/purego-cef/cef/cef_client_gen.go +691 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_command_handler_gen.go +228 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_command_line_gen.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_context_menu_handler_gen.go +633 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_cookie_gen.go +417 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_crash_util_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_devtools_message_observer_gen.go +219 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_dialog_handler_gen.go +186 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_display_handler_gen.go +440 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_dom_gen.go +578 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_download_handler_gen.go +308 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_download_item_gen.go +255 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_drag_data_gen.go +316 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_drag_handler_gen.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_file_util_gen.go +74 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_find_handler_gen.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_focus_handler_gen.go +162 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_frame_gen.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_frame_handler_gen.go +214 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_i18n_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_image_gen.go +228 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_jsdialog_handler_gen.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_keyboard_handler_gen.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_life_span_handler_gen.go +261 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_load_handler_gen.go +198 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_media_router_gen.go +788 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_menu_model_delegate_gen.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_menu_model_gen.go +594 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_navigation_entry_gen.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_origin_whitelist_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_parser_gen.go +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_path_util_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_permission_handler_gen.go +303 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_preference_gen.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_print_handler_gen.go +364 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_print_settings_gen.go +270 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_process_message_gen.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_process_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_registration_gen.go +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_render_handler_gen.go +562 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_render_process_handler_gen.go +325 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_context_gen.go +502 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_context_handler_gen.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_gen.go +537 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_request_handler_gen.go +490 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_gen.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_handler_gen.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_handler_gen.go +392 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_resource_request_handler_gen.go +469 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_response_filter_gen.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_response_gen.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_scheme_gen.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_server_gen.go +470 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_shared_memory_region_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_shared_process_message_builder_gen.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_ssl_info_gen.go +84 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_ssl_status_gen.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_stream_gen.go +669 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_string_visitor_gen.go +113 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_task_gen.go +237 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_task_manager_gen.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_thread_gen.go +103 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_trace_gen.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_color_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_content_settings_gen.go +162 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_gen.go +1624 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_geometry_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_linux_gen.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_osr_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_types_runtime_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_unresponsive_process_callback_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_urlrequest_gen.go +350 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_v8_gen.go +1678 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_values_gen.go +1084 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_waitable_event_gen.go +113 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_x509_certificate_gen.go +300 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_xml_reader_gen.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/cef_zip_reader_gen.go +188 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/doc.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/init.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/.gitkeep +0 -0
no textual change.
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_app.go +261 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser.go +929 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser_process_handler.go +345 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_client.go +934 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_context_menu_handler.go +487 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_dialog_handler.go +130 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_display_handler.go +743 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_focus_handler.go +180 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_frame.go +1093 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_keyboard_handler.go +169 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_life_span_handler.go +407 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_load_handler.go +263 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_process_message.go +307 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_client.go +934 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_life_span_handler.go +409 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_handler.go +959 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_process_handler.go +491 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_request.go +1010 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_context.go +1167 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_handler.go +760 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/mocks/mock_response.go +768 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/opaque_types.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/string_list.go +46 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_api_version_test__gen.go +2176 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_test_helpers_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_test_server_gen.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/test_cef_translator_test__gen.go +1492 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_box_layout_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_delegate_gen.go +348 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_gen.go +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_button_delegate_gen.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_button_gen.go +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_display_gen.go +182 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_fill_layout_gen.go +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_label_button_gen.go +163 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_layout_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_delegate_gen.go +160 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_gen.go +84 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_overlay_controller_gen.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_panel_delegate_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_panel_gen.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_scroll_view_gen.go +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_delegate_gen.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_gen.go +338 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_view_delegate_gen.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_view_gen.go +515 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_window_delegate_gen.go +682 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/views_cef_window_gen.go +423 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/cef/window_info_helpers.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/bridge.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_accessibility_handler_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_app_gen.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_audio_handler_gen.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_auth_callback_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_base_gen.go +77 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_gen.go +1091 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_process_handler_gen.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_callback_gen.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_client_gen.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_command_handler_gen.go +80 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_command_line_gen.go +255 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_context_menu_handler_gen.go +381 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_cookie_gen.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_crash_util_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_devtools_message_observer_gen.go +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_dialog_handler_gen.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_display_handler_gen.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_dom_gen.go +478 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_download_handler_gen.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_download_item_gen.go +237 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_data_gen.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_handler_gen.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_file_util_gen.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_find_handler_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_focus_handler_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_gen.go +303 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_handler_gen.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_i18n_util_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_image_gen.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_jsdialog_handler_gen.go +77 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_keyboard_handler_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_life_span_handler_gen.go +83 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_load_handler_gen.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_media_router_gen.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_delegate_gen.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_gen.go +637 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_navigation_entry_gen.go +127 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_origin_whitelist_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_parser_gen.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_path_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_permission_handler_gen.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_preference_gen.go +127 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_print_handler_gen.go +126 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_print_settings_gen.go +265 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_process_message_gen.go +87 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_process_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_registration_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_render_handler_gen.go +212 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_render_process_handler_gen.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_gen.go +326 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_handler_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_gen.go +444 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_request_handler_gen.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_handler_gen.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_handler_gen.go +126 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_request_handler_gen.go +148 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_response_filter_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_response_gen.go +208 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_scheme_gen.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_server_gen.go +257 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_memory_region_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_process_message_builder_gen.go +65 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_info_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_status_gen.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_stream_gen.go +268 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_string_visitor_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_task_gen.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_task_manager_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_thread_gen.go +65 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_trace_gen.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_color_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_content_settings_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_gen.go +482 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_geometry_gen.go +37 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_linux_gen.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_osr_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_types_runtime_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_unresponsive_process_callback_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_urlrequest_gen.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_v8_gen.go +1093 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_values_gen.go +1002 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_waitable_event_gen.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_x509_certificate_gen.go +217 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_xml_reader_gen.go +340 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/cef_zip_reader_gen.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/doc.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_gen.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_darwin_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_default_gen.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_linux_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/register_platform_windows_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_api_version_test__gen.go +1231 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_helpers_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_server_gen.go +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/test_cef_translator_test__gen.go +967 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_box_layout_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_delegate_gen.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_gen.go +68 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_delegate_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_gen.go +83 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_display_gen.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_fill_layout_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_label_button_gen.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_layout_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_delegate_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_overlay_controller_gen.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_delegate_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_gen.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_scroll_view_gen.go +102 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_delegate_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_gen.go +366 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_delegate_gen.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_gen.go +589 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_delegate_gen.go +278 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_gen.go +485 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/engine.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/helpers.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/init.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/marshal.go +146 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/core/refcount.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/loader/loader.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_accessibility_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_app_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_audio_handler_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_auth_callback_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_base_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_gen.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_process_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_client_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_handler_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_line_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_context_menu_handler_gen.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_cookie_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_devtools_message_observer_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dialog_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_display_handler_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dom_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_handler_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_item_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_data_gen.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_find_handler_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_focus_handler_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_handler_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_image_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_jsdialog_handler_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_keyboard_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_life_span_handler_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_load_handler_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_media_router_gen.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_delegate_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_gen.go +63 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_navigation_entry_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_permission_handler_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_preference_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_handler_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_settings_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_process_message_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_registration_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_handler_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_process_handler_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_gen.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_handler_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_handler_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_handler_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_request_handler_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_filter_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_scheme_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_server_gen.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_memory_region_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_process_message_builder_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_info_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_status_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_stream_gen.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_string_visitor_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_manager_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_thread_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_trace_gen.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_color_gen.go +5 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_content_settings_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_gen.go +256 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_geometry_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_linux_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_osr_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_runtime_gen.go +5 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_unresponsive_process_callback_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_urlrequest_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_v8_gen.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_values_gen.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_waitable_event_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_x509_certificate_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_xml_reader_gen.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/cef_zip_reader_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/opaque_types.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_api_version_test__gen.go +160 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_test_server_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_translator_test__gen.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_box_layout_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_delegate_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_delegate_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_display_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_fill_layout_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_label_button_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_layout_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_delegate_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_overlay_controller_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_delegate_gen.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_scroll_view_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_delegate_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_gen.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_delegate_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_gen.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_delegate_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_gen.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/capi.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_app_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_auth_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_browser_gen.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_command_line_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_context_menu_handler_gen.go +44 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_cookie_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_crash_util_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dialog_handler_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dom_gen.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_handler_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_item_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_drag_data_gen.go +44 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_file_util_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_frame_gen.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_i18n_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_image_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_jsdialog_handler_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_media_router_gen.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_menu_model_gen.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_navigation_entry_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_origin_whitelist_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_parser_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_path_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_permission_handler_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_preference_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_handler_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_settings_gen.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_message_gen.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_util_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_registration_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_context_gen.go +42 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_gen.go +64 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_handler_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_bundle_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_handler_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_response_gen.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_scheme_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_server_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_memory_region_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_process_message_builder_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_info_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_status_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_stream_gen.go +35 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_gen.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_manager_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_thread_gen.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_trace_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_types_linux_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_unresponsive_process_callback_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_urlrequest_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_v8_gen.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_values_gen.go +119 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_waitable_event_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_x509_certificate_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_xml_reader_gen.go +46 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/cef_zip_reader_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_api_version_test__gen.go +146 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_helpers_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_server_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_translator_test__gen.go +119 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_box_layout_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_browser_view_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_button_gen.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_display_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_fill_layout_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_label_button_gen.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_layout_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_delegate_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_overlay_controller_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_panel_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_scroll_view_gen.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_textfield_gen.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_view_gen.go +64 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_window_gen.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/.gitignore +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/Makefile +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/README.md +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/browser_settings.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/command_line.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/diagnostics.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/doc.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/handlers.go +197 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/input.go +277 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/accelerated_paint.go +85 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/command_line.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/window_info.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/cutil/cstring.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/format.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/frame.go +125 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/modifier.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/attrs.go +82 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/display.go +70 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/extensions.go +47 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/importer.go +165 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/loader.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/egl/types.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gl/copy.go +513 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gl/loader.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gl/timer_query.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgdk/renderer.go +922 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/accelerated_renderer.go +470 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/context.go +172 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/gl.go +95 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/glib.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/input_bridge.go +1037 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/main_thread.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/render_signal.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/internal/profile/recorder.go +352 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/options.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/osr_backing_scale.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/profile.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/refresh_rate.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/render_stack.go +68 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/size_observation.go +88 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/view.go +966 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-cef2gtk/window_info.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/.gitkeep +0 -0
no textual change.
A vendor/github.com/bnema/purego-pipewire/internal/capi/adapters_gen.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/init_gen.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/loop_gen.go +53 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/loop_lock.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/register.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/register_all.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/stream_ops.go +272 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/stream_params.go +172 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/capi/stream_playback_gen.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/context.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/core.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/loop.go +35 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/player.go +435 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/player_rt.go +203 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/player_state.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/pwbuffer.go +139 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/registry.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/runtime.go +82 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/core/stream.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/loader/loader.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/.gitkeep +0 -0
no textual change.
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi.go +5 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi_gen.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/init_gen.go +9 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/loop_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_ops.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_playback_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/context.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/core.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/interfaces.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/player.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/registry.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/runtime.go +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-pipewire/pipewire/stream.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/driver/driver.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/driver/register.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/bridge.go +1461 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/enums_gen.go +863 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/functions_gen.go +358 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/register_gen.go +377 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/capi/variadic_gen.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/db.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/errors.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/rows.go +181 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/core/stmt.go +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/loader/loader.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/in/ports_gen.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/auth_gen.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/backup_gen.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/bind_gen.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/blob_gen.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/capi_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/column_gen.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/config_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/context_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/exec_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/func_gen.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/hook_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/lifecycle_gen.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/memory_gen.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/metadata_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/misc_gen.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/prepare_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/result_gen.go +31 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/serialize_gen.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/str_gen.go +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/trace_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/value_gen.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/vfs_gen.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/vtab_gen.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/internal/ports/out/wal_gen.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego-sqlite/sqlite/sqlite_gen.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/.gitignore +1 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/LICENSE +201 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/README.md +147 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/abi_amd64.h +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/abi_arm64.h +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/abi_loong64.h +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/cgo.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlerror.go +17 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_android.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_darwin.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_freebsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_linux.go +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_netbsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_nocgo_freebsd.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_nocgo_linux.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_nocgo_netbsd.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_playground.go +24 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/dlfcn_stubs.s +22 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/func.go +677 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/gen.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/go_runtime.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/hostlayout_go123.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/hostlayout_nogo123.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/cgo/dlfcn_cgo_unix.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/cgo/empty.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/cgo/syscall_cgo_unix.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_amd64.h +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_arm64.h +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_loong64.h +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_ppc64x.h +195 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/abi_riscv64.h +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_386.s +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_amd64.s +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_arm.s +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_arm64.s +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_loong64.s +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_ppc64le.s +82 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_riscv64.s +37 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/asm_s390x.s +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/callbacks.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/doc.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/fakecgo.go +14 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/freebsd.go +27 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_darwin.go +88 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_freebsd.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_libinit.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_linux.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_netbsd.go +85 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_setenv.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/go_util.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/iscgo.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo.go +39 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_darwin.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_freebsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_linux.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/libcgo_netbsd.go +26 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/linux.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/netbsd.go +23 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/setenv.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_386.s +121 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_amd64.s +107 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm.s +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm64.s +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_386.s +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_amd64.s +69 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm.s +69 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm64.s +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_loong64.s +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_ppc64le.s +69 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_riscv64.s +60 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_loong64.s +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_ppc64le.s +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/trampolines_riscv64.s +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols.go +165 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_darwin.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_freebsd.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_linux.go +158 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_netbsd.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_darwin.s +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_freebsd.s +16 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_linux.s +46 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_netbsd.s +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_stubs.s +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/strings/strings.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/xreflect/reflect_go124.go +15 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/internal/xreflect/reflect_go125.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/is_ios.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/nocgo.go +25 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_386.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_abi_helpers.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_amd64.go +443 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_arm.go +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_arm64.go +759 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_loong64.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_ppc64le.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_riscv64.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/struct_s390x.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_386.s +147 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_amd64.s +170 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_arm.s +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_arm64.s +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_loong64.s +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_ppc64le.s +120 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_riscv64.s +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_s390x.s +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_386.s +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_arm.s +89 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_arm64.s +75 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_loong64.s +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_ppc64le.s +114 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_riscv64.s +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/sys_unix_s390x.s +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_32bit.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_cgo_linux.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_notstackargs.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_stackargs.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_unix.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/syscall_windows.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_386.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_amd64.s +2014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_arm.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_arm64.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_loong64.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_ppc64le.s +4014 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_riscv64.s +4051 -0 collapsed to keep the page light
A vendor/github.com/bnema/purego/zcallback_s390x.s +4015 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/internal/core/core.go +322 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/pkg/core/core.go +20 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +2021 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +2050 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +88 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +808 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +1195 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +330 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +390 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +977 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +505 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +596 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +707 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +393 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +1010 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +532 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +566 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +572 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +580 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +410 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +409 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +861 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +264 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +610 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +553 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +815 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +947 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +154 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +1070 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +309 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +784 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +1036 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +812 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +572 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +389 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +157 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +1283 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +70 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +49 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +1199 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +565 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +21 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +855 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +1895 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +989 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +701 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +522 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +588 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +667 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +607 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +713 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +488 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +452 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +287 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +255 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +553 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +389 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +1142 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +1112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +300 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +392 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +884 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +473 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +179 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +966 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +563 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +423 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +516 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +275 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +501 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +799 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +540 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +962 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +2291 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +385 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +452 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +712 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +1183 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +933 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +1874 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +479 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +554 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +603 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +490 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +451 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +925 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +676 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/cairo/main.go +990 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +160 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +78 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +334 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +412 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +279 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +248 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +522 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +280 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +340 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +616 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +168 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +733 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +309 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +613 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder_extra.go +41 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +374 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +58 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +178 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +297 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +876 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +1447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +476 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +165 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +420 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +329 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +502 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkkeysyms.go +4904 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +315 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +453 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +382 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +545 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +72 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +67 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +193 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +307 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +192 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +272 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +704 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +720 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +660 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +197 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +830 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +752 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +107 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-features.go +19 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +547 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +561 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +1760 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gaction.go +635 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +795 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +422 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +2114 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +2189 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +711 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +559 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +321 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +197 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +618 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +239 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +263 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +360 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +244 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +481 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +678 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +425 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +209 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +1898 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +541 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +581 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +729 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +387 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +136 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +272 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +383 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +726 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +275 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +181 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +273 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +1098 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +317 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +211 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +371 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +1327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +176 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +914 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +186 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +206 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfile.go +6341 -0
| @@ -0,0 +1,6341 @@ | |||
| 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) 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) uintptr | |
| 645 | + | purego.RegisterFunc(&rawCallback, x.xGetChildForDisplayName) | |
| 646 | + | return func(FileVar File, DisplayNameVar string) *FileBase { | |
| 647 | + | rawRet := rawCallback(FileVar.GoPointer(), DisplayNameVar) | |
| 648 | + | if rawRet == 0 { | |
| 649 | + | return nil | |
| 650 | + | } | |
| 651 | + | ret := &FileBase{} | |
| 652 | + | ret.Ptr = rawRet | |
| 653 | + | return ret | |
| 654 | + | } | |
| 655 | + | } | |
| 656 | + | ||
| 657 | + | // OverrideEnumerateChildren sets the "enumerate_children" callback function. | |
| 658 | + | // Gets a #GFileEnumerator with the children of a #GFile. | |
| 659 | + | func (x *FileIface) OverrideEnumerateChildren(cb func(File, string, FileQueryInfoFlags, *Cancellable) *FileEnumerator) { | |
| 660 | + | if cb == nil { | |
| 661 | + | x.xEnumerateChildren = 0 | |
| 662 | + | } else { | |
| 663 | + | x.xEnumerateChildren = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr) uintptr { | |
| 664 | + | ret := cb(&FileBase{Ptr: FileVarp}, AttributesVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 665 | + | if ret == nil { | |
| 666 | + | return 0 | |
| 667 | + | } | |
| 668 | + | return ret.GoPointer() | |
| 669 | + | }) | |
| 670 | + | } | |
| 671 | + | } | |
| 672 | + | ||
| 673 | + | // GetEnumerateChildren gets the "enumerate_children" callback function. | |
| 674 | + | // Gets a #GFileEnumerator with the children of a #GFile. | |
| 675 | + | func (x *FileIface) GetEnumerateChildren() func(File, string, FileQueryInfoFlags, *Cancellable) *FileEnumerator { | |
| 676 | + | if x.xEnumerateChildren == 0 { | |
| 677 | + | return nil | |
| 678 | + | } | |
| 679 | + | var rawCallback func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr) uintptr | |
| 680 | + | purego.RegisterFunc(&rawCallback, x.xEnumerateChildren) | |
| 681 | + | return func(FileVar File, AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) *FileEnumerator { | |
| 682 | + | rawRet := rawCallback(FileVar.GoPointer(), AttributesVar, FlagsVar, CancellableVar.GoPointer()) | |
| 683 | + | if rawRet == 0 { | |
| 684 | + | return nil | |
| 685 | + | } | |
| 686 | + | ret := &FileEnumerator{} | |
| 687 | + | ret.Ptr = rawRet | |
| 688 | + | return ret | |
| 689 | + | } | |
| 690 | + | } | |
| 691 | + | ||
| 692 | + | // OverrideEnumerateChildrenAsync sets the "enumerate_children_async" callback function. | |
| 693 | + | // Asynchronously gets a #GFileEnumerator with the children of a #GFile. | |
| 694 | + | func (x *FileIface) OverrideEnumerateChildrenAsync(cb func(File, string, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 695 | + | if cb == nil { | |
| 696 | + | x.xEnumerateChildrenAsync = 0 | |
| 697 | + | } else { | |
| 698 | + | x.xEnumerateChildrenAsync = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 699 | + | cb(&FileBase{Ptr: FileVarp}, AttributesVarp, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 700 | + | }) | |
| 701 | + | } | |
| 702 | + | } | |
| 703 | + | ||
| 704 | + | // GetEnumerateChildrenAsync gets the "enumerate_children_async" callback function. | |
| 705 | + | // Asynchronously gets a #GFileEnumerator with the children of a #GFile. | |
| 706 | + | func (x *FileIface) GetEnumerateChildrenAsync() func(File, string, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 707 | + | if x.xEnumerateChildrenAsync == 0 { | |
| 708 | + | return nil | |
| 709 | + | } | |
| 710 | + | var rawCallback func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 711 | + | purego.RegisterFunc(&rawCallback, x.xEnumerateChildrenAsync) | |
| 712 | + | return func(FileVar File, AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 713 | + | rawCallback(FileVar.GoPointer(), AttributesVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 714 | + | } | |
| 715 | + | } | |
| 716 | + | ||
| 717 | + | // OverrideEnumerateChildrenFinish sets the "enumerate_children_finish" callback function. | |
| 718 | + | // Finishes asynchronously enumerating the children. | |
| 719 | + | func (x *FileIface) OverrideEnumerateChildrenFinish(cb func(File, AsyncResult) *FileEnumerator) { | |
| 720 | + | if cb == nil { | |
| 721 | + | x.xEnumerateChildrenFinish = 0 | |
| 722 | + | } else { | |
| 723 | + | x.xEnumerateChildrenFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 724 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 725 | + | if ret == nil { | |
| 726 | + | return 0 | |
| 727 | + | } | |
| 728 | + | return ret.GoPointer() | |
| 729 | + | }) | |
| 730 | + | } | |
| 731 | + | } | |
| 732 | + | ||
| 733 | + | // GetEnumerateChildrenFinish gets the "enumerate_children_finish" callback function. | |
| 734 | + | // Finishes asynchronously enumerating the children. | |
| 735 | + | func (x *FileIface) GetEnumerateChildrenFinish() func(File, AsyncResult) *FileEnumerator { | |
| 736 | + | if x.xEnumerateChildrenFinish == 0 { | |
| 737 | + | return nil | |
| 738 | + | } | |
| 739 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 740 | + | purego.RegisterFunc(&rawCallback, x.xEnumerateChildrenFinish) | |
| 741 | + | return func(FileVar File, ResVar AsyncResult) *FileEnumerator { | |
| 742 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 743 | + | if rawRet == 0 { | |
| 744 | + | return nil | |
| 745 | + | } | |
| 746 | + | ret := &FileEnumerator{} | |
| 747 | + | ret.Ptr = rawRet | |
| 748 | + | return ret | |
| 749 | + | } | |
| 750 | + | } | |
| 751 | + | ||
| 752 | + | // OverrideQueryInfo sets the "query_info" callback function. | |
| 753 | + | // Gets the #GFileInfo for a #GFile. | |
| 754 | + | func (x *FileIface) OverrideQueryInfo(cb func(File, string, FileQueryInfoFlags, *Cancellable) *FileInfo) { | |
| 755 | + | if cb == nil { | |
| 756 | + | x.xQueryInfo = 0 | |
| 757 | + | } else { | |
| 758 | + | x.xQueryInfo = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr) uintptr { | |
| 759 | + | ret := cb(&FileBase{Ptr: FileVarp}, AttributesVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 760 | + | if ret == nil { | |
| 761 | + | return 0 | |
| 762 | + | } | |
| 763 | + | return ret.GoPointer() | |
| 764 | + | }) | |
| 765 | + | } | |
| 766 | + | } | |
| 767 | + | ||
| 768 | + | // GetQueryInfo gets the "query_info" callback function. | |
| 769 | + | // Gets the #GFileInfo for a #GFile. | |
| 770 | + | func (x *FileIface) GetQueryInfo() func(File, string, FileQueryInfoFlags, *Cancellable) *FileInfo { | |
| 771 | + | if x.xQueryInfo == 0 { | |
| 772 | + | return nil | |
| 773 | + | } | |
| 774 | + | var rawCallback func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr) uintptr | |
| 775 | + | purego.RegisterFunc(&rawCallback, x.xQueryInfo) | |
| 776 | + | return func(FileVar File, AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) *FileInfo { | |
| 777 | + | rawRet := rawCallback(FileVar.GoPointer(), AttributesVar, FlagsVar, CancellableVar.GoPointer()) | |
| 778 | + | if rawRet == 0 { | |
| 779 | + | return nil | |
| 780 | + | } | |
| 781 | + | ret := &FileInfo{} | |
| 782 | + | ret.Ptr = rawRet | |
| 783 | + | return ret | |
| 784 | + | } | |
| 785 | + | } | |
| 786 | + | ||
| 787 | + | // OverrideQueryInfoAsync sets the "query_info_async" callback function. | |
| 788 | + | // Asynchronously gets the #GFileInfo for a #GFile. | |
| 789 | + | func (x *FileIface) OverrideQueryInfoAsync(cb func(File, string, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 790 | + | if cb == nil { | |
| 791 | + | x.xQueryInfoAsync = 0 | |
| 792 | + | } else { | |
| 793 | + | x.xQueryInfoAsync = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 794 | + | cb(&FileBase{Ptr: FileVarp}, AttributesVarp, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 795 | + | }) | |
| 796 | + | } | |
| 797 | + | } | |
| 798 | + | ||
| 799 | + | // GetQueryInfoAsync gets the "query_info_async" callback function. | |
| 800 | + | // Asynchronously gets the #GFileInfo for a #GFile. | |
| 801 | + | func (x *FileIface) GetQueryInfoAsync() func(File, string, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 802 | + | if x.xQueryInfoAsync == 0 { | |
| 803 | + | return nil | |
| 804 | + | } | |
| 805 | + | var rawCallback func(FileVarp uintptr, AttributesVarp string, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 806 | + | purego.RegisterFunc(&rawCallback, x.xQueryInfoAsync) | |
| 807 | + | return func(FileVar File, AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 808 | + | rawCallback(FileVar.GoPointer(), AttributesVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 809 | + | } | |
| 810 | + | } | |
| 811 | + | ||
| 812 | + | // OverrideQueryInfoFinish sets the "query_info_finish" callback function. | |
| 813 | + | // Finishes an asynchronous query info operation. | |
| 814 | + | func (x *FileIface) OverrideQueryInfoFinish(cb func(File, AsyncResult) *FileInfo) { | |
| 815 | + | if cb == nil { | |
| 816 | + | x.xQueryInfoFinish = 0 | |
| 817 | + | } else { | |
| 818 | + | x.xQueryInfoFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 819 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 820 | + | if ret == nil { | |
| 821 | + | return 0 | |
| 822 | + | } | |
| 823 | + | return ret.GoPointer() | |
| 824 | + | }) | |
| 825 | + | } | |
| 826 | + | } | |
| 827 | + | ||
| 828 | + | // GetQueryInfoFinish gets the "query_info_finish" callback function. | |
| 829 | + | // Finishes an asynchronous query info operation. | |
| 830 | + | func (x *FileIface) GetQueryInfoFinish() func(File, AsyncResult) *FileInfo { | |
| 831 | + | if x.xQueryInfoFinish == 0 { | |
| 832 | + | return nil | |
| 833 | + | } | |
| 834 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 835 | + | purego.RegisterFunc(&rawCallback, x.xQueryInfoFinish) | |
| 836 | + | return func(FileVar File, ResVar AsyncResult) *FileInfo { | |
| 837 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 838 | + | if rawRet == 0 { | |
| 839 | + | return nil | |
| 840 | + | } | |
| 841 | + | ret := &FileInfo{} | |
| 842 | + | ret.Ptr = rawRet | |
| 843 | + | return ret | |
| 844 | + | } | |
| 845 | + | } | |
| 846 | + | ||
| 847 | + | // OverrideQueryFilesystemInfo sets the "query_filesystem_info" callback function. | |
| 848 | + | // Gets a #GFileInfo for the file system #GFile is on. | |
| 849 | + | func (x *FileIface) OverrideQueryFilesystemInfo(cb func(File, string, *Cancellable) *FileInfo) { | |
| 850 | + | if cb == nil { | |
| 851 | + | x.xQueryFilesystemInfo = 0 | |
| 852 | + | } else { | |
| 853 | + | x.xQueryFilesystemInfo = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, CancellableVarp uintptr) uintptr { | |
| 854 | + | ret := cb(&FileBase{Ptr: FileVarp}, AttributesVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 855 | + | if ret == nil { | |
| 856 | + | return 0 | |
| 857 | + | } | |
| 858 | + | return ret.GoPointer() | |
| 859 | + | }) | |
| 860 | + | } | |
| 861 | + | } | |
| 862 | + | ||
| 863 | + | // GetQueryFilesystemInfo gets the "query_filesystem_info" callback function. | |
| 864 | + | // Gets a #GFileInfo for the file system #GFile is on. | |
| 865 | + | func (x *FileIface) GetQueryFilesystemInfo() func(File, string, *Cancellable) *FileInfo { | |
| 866 | + | if x.xQueryFilesystemInfo == 0 { | |
| 867 | + | return nil | |
| 868 | + | } | |
| 869 | + | var rawCallback func(FileVarp uintptr, AttributesVarp string, CancellableVarp uintptr) uintptr | |
| 870 | + | purego.RegisterFunc(&rawCallback, x.xQueryFilesystemInfo) | |
| 871 | + | return func(FileVar File, AttributesVar string, CancellableVar *Cancellable) *FileInfo { | |
| 872 | + | rawRet := rawCallback(FileVar.GoPointer(), AttributesVar, CancellableVar.GoPointer()) | |
| 873 | + | if rawRet == 0 { | |
| 874 | + | return nil | |
| 875 | + | } | |
| 876 | + | ret := &FileInfo{} | |
| 877 | + | ret.Ptr = rawRet | |
| 878 | + | return ret | |
| 879 | + | } | |
| 880 | + | } | |
| 881 | + | ||
| 882 | + | // OverrideQueryFilesystemInfoAsync sets the "query_filesystem_info_async" callback function. | |
| 883 | + | // Asynchronously gets a #GFileInfo for the file system #GFile is on. | |
| 884 | + | func (x *FileIface) OverrideQueryFilesystemInfoAsync(cb func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 885 | + | if cb == nil { | |
| 886 | + | x.xQueryFilesystemInfoAsync = 0 | |
| 887 | + | } else { | |
| 888 | + | x.xQueryFilesystemInfoAsync = purego.NewCallback(func(FileVarp uintptr, AttributesVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 889 | + | cb(&FileBase{Ptr: FileVarp}, AttributesVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 890 | + | }) | |
| 891 | + | } | |
| 892 | + | } | |
| 893 | + | ||
| 894 | + | // GetQueryFilesystemInfoAsync gets the "query_filesystem_info_async" callback function. | |
| 895 | + | // Asynchronously gets a #GFileInfo for the file system #GFile is on. | |
| 896 | + | func (x *FileIface) GetQueryFilesystemInfoAsync() func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 897 | + | if x.xQueryFilesystemInfoAsync == 0 { | |
| 898 | + | return nil | |
| 899 | + | } | |
| 900 | + | var rawCallback func(FileVarp uintptr, AttributesVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 901 | + | purego.RegisterFunc(&rawCallback, x.xQueryFilesystemInfoAsync) | |
| 902 | + | return func(FileVar File, AttributesVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 903 | + | rawCallback(FileVar.GoPointer(), AttributesVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 904 | + | } | |
| 905 | + | } | |
| 906 | + | ||
| 907 | + | // OverrideQueryFilesystemInfoFinish sets the "query_filesystem_info_finish" callback function. | |
| 908 | + | // Finishes asynchronously getting the file system info. | |
| 909 | + | func (x *FileIface) OverrideQueryFilesystemInfoFinish(cb func(File, AsyncResult) *FileInfo) { | |
| 910 | + | if cb == nil { | |
| 911 | + | x.xQueryFilesystemInfoFinish = 0 | |
| 912 | + | } else { | |
| 913 | + | x.xQueryFilesystemInfoFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 914 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 915 | + | if ret == nil { | |
| 916 | + | return 0 | |
| 917 | + | } | |
| 918 | + | return ret.GoPointer() | |
| 919 | + | }) | |
| 920 | + | } | |
| 921 | + | } | |
| 922 | + | ||
| 923 | + | // GetQueryFilesystemInfoFinish gets the "query_filesystem_info_finish" callback function. | |
| 924 | + | // Finishes asynchronously getting the file system info. | |
| 925 | + | func (x *FileIface) GetQueryFilesystemInfoFinish() func(File, AsyncResult) *FileInfo { | |
| 926 | + | if x.xQueryFilesystemInfoFinish == 0 { | |
| 927 | + | return nil | |
| 928 | + | } | |
| 929 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 930 | + | purego.RegisterFunc(&rawCallback, x.xQueryFilesystemInfoFinish) | |
| 931 | + | return func(FileVar File, ResVar AsyncResult) *FileInfo { | |
| 932 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 933 | + | if rawRet == 0 { | |
| 934 | + | return nil | |
| 935 | + | } | |
| 936 | + | ret := &FileInfo{} | |
| 937 | + | ret.Ptr = rawRet | |
| 938 | + | return ret | |
| 939 | + | } | |
| 940 | + | } | |
| 941 | + | ||
| 942 | + | // OverrideFindEnclosingMount sets the "find_enclosing_mount" callback function. | |
| 943 | + | // Gets a #GMount for the #GFile. | |
| 944 | + | func (x *FileIface) OverrideFindEnclosingMount(cb func(File, *Cancellable) *MountBase) { | |
| 945 | + | if cb == nil { | |
| 946 | + | x.xFindEnclosingMount = 0 | |
| 947 | + | } else { | |
| 948 | + | x.xFindEnclosingMount = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) uintptr { | |
| 949 | + | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 950 | + | if ret == nil { | |
| 951 | + | return 0 | |
| 952 | + | } | |
| 953 | + | return ret.GoPointer() | |
| 954 | + | }) | |
| 955 | + | } | |
| 956 | + | } | |
| 957 | + | ||
| 958 | + | // GetFindEnclosingMount gets the "find_enclosing_mount" callback function. | |
| 959 | + | // Gets a #GMount for the #GFile. | |
| 960 | + | func (x *FileIface) GetFindEnclosingMount() func(File, *Cancellable) *MountBase { | |
| 961 | + | if x.xFindEnclosingMount == 0 { | |
| 962 | + | return nil | |
| 963 | + | } | |
| 964 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) uintptr | |
| 965 | + | purego.RegisterFunc(&rawCallback, x.xFindEnclosingMount) | |
| 966 | + | return func(FileVar File, CancellableVar *Cancellable) *MountBase { | |
| 967 | + | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 968 | + | if rawRet == 0 { | |
| 969 | + | return nil | |
| 970 | + | } | |
| 971 | + | ret := &MountBase{} | |
| 972 | + | ret.Ptr = rawRet | |
| 973 | + | return ret | |
| 974 | + | } | |
| 975 | + | } | |
| 976 | + | ||
| 977 | + | // OverrideFindEnclosingMountAsync sets the "find_enclosing_mount_async" callback function. | |
| 978 | + | // Asynchronously gets the #GMount for a #GFile. | |
| 979 | + | func (x *FileIface) OverrideFindEnclosingMountAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 980 | + | if cb == nil { | |
| 981 | + | x.xFindEnclosingMountAsync = 0 | |
| 982 | + | } else { | |
| 983 | + | x.xFindEnclosingMountAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 984 | + | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 985 | + | }) | |
| 986 | + | } | |
| 987 | + | } | |
| 988 | + | ||
| 989 | + | // GetFindEnclosingMountAsync gets the "find_enclosing_mount_async" callback function. | |
| 990 | + | // Asynchronously gets the #GMount for a #GFile. | |
| 991 | + | func (x *FileIface) GetFindEnclosingMountAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 992 | + | if x.xFindEnclosingMountAsync == 0 { | |
| 993 | + | return nil | |
| 994 | + | } | |
| 995 | + | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 996 | + | purego.RegisterFunc(&rawCallback, x.xFindEnclosingMountAsync) | |
| 997 | + | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 998 | + | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 999 | + | } | |
| 1000 | + | } | |
| 1001 | + | ||
| 1002 | + | // OverrideFindEnclosingMountFinish sets the "find_enclosing_mount_finish" callback function. | |
| 1003 | + | // Finishes asynchronously getting the volume. | |
| 1004 | + | func (x *FileIface) OverrideFindEnclosingMountFinish(cb func(File, AsyncResult) *MountBase) { | |
| 1005 | + | if cb == nil { | |
| 1006 | + | x.xFindEnclosingMountFinish = 0 | |
| 1007 | + | } else { | |
| 1008 | + | x.xFindEnclosingMountFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 1009 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1010 | + | if ret == nil { | |
| 1011 | + | return 0 | |
| 1012 | + | } | |
| 1013 | + | return ret.GoPointer() | |
| 1014 | + | }) | |
| 1015 | + | } | |
| 1016 | + | } | |
| 1017 | + | ||
| 1018 | + | // GetFindEnclosingMountFinish gets the "find_enclosing_mount_finish" callback function. | |
| 1019 | + | // Finishes asynchronously getting the volume. | |
| 1020 | + | func (x *FileIface) GetFindEnclosingMountFinish() func(File, AsyncResult) *MountBase { | |
| 1021 | + | if x.xFindEnclosingMountFinish == 0 { | |
| 1022 | + | return nil | |
| 1023 | + | } | |
| 1024 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 1025 | + | purego.RegisterFunc(&rawCallback, x.xFindEnclosingMountFinish) | |
| 1026 | + | return func(FileVar File, ResVar AsyncResult) *MountBase { | |
| 1027 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 1028 | + | if rawRet == 0 { | |
| 1029 | + | return nil | |
| 1030 | + | } | |
| 1031 | + | ret := &MountBase{} | |
| 1032 | + | ret.Ptr = rawRet | |
| 1033 | + | return ret | |
| 1034 | + | } | |
| 1035 | + | } | |
| 1036 | + | ||
| 1037 | + | // OverrideSetDisplayName sets the "set_display_name" callback function. | |
| 1038 | + | // Sets the display name for a #GFile. | |
| 1039 | + | func (x *FileIface) OverrideSetDisplayName(cb func(File, string, *Cancellable) *FileBase) { | |
| 1040 | + | if cb == nil { | |
| 1041 | + | x.xSetDisplayName = 0 | |
| 1042 | + | } else { | |
| 1043 | + | x.xSetDisplayName = purego.NewCallback(func(FileVarp uintptr, DisplayNameVarp string, CancellableVarp uintptr) uintptr { | |
| 1044 | + | ret := cb(&FileBase{Ptr: FileVarp}, DisplayNameVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1045 | + | if ret == nil { | |
| 1046 | + | return 0 | |
| 1047 | + | } | |
| 1048 | + | return ret.GoPointer() | |
| 1049 | + | }) | |
| 1050 | + | } | |
| 1051 | + | } | |
| 1052 | + | ||
| 1053 | + | // GetSetDisplayName gets the "set_display_name" callback function. | |
| 1054 | + | // Sets the display name for a #GFile. | |
| 1055 | + | func (x *FileIface) GetSetDisplayName() func(File, string, *Cancellable) *FileBase { | |
| 1056 | + | if x.xSetDisplayName == 0 { | |
| 1057 | + | return nil | |
| 1058 | + | } | |
| 1059 | + | var rawCallback func(FileVarp uintptr, DisplayNameVarp string, CancellableVarp uintptr) uintptr | |
| 1060 | + | purego.RegisterFunc(&rawCallback, x.xSetDisplayName) | |
| 1061 | + | return func(FileVar File, DisplayNameVar string, CancellableVar *Cancellable) *FileBase { | |
| 1062 | + | rawRet := rawCallback(FileVar.GoPointer(), DisplayNameVar, CancellableVar.GoPointer()) | |
| 1063 | + | if rawRet == 0 { | |
| 1064 | + | return nil | |
| 1065 | + | } | |
| 1066 | + | ret := &FileBase{} | |
| 1067 | + | ret.Ptr = rawRet | |
| 1068 | + | return ret | |
| 1069 | + | } | |
| 1070 | + | } | |
| 1071 | + | ||
| 1072 | + | // OverrideSetDisplayNameAsync sets the "set_display_name_async" callback function. | |
| 1073 | + | // Asynchronously sets a #GFile's display name. | |
| 1074 | + | func (x *FileIface) OverrideSetDisplayNameAsync(cb func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1075 | + | if cb == nil { | |
| 1076 | + | x.xSetDisplayNameAsync = 0 | |
| 1077 | + | } else { | |
| 1078 | + | x.xSetDisplayNameAsync = purego.NewCallback(func(FileVarp uintptr, DisplayNameVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1079 | + | cb(&FileBase{Ptr: FileVarp}, DisplayNameVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1080 | + | }) | |
| 1081 | + | } | |
| 1082 | + | } | |
| 1083 | + | ||
| 1084 | + | // GetSetDisplayNameAsync gets the "set_display_name_async" callback function. | |
| 1085 | + | // Asynchronously sets a #GFile's display name. | |
| 1086 | + | func (x *FileIface) GetSetDisplayNameAsync() func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1087 | + | if x.xSetDisplayNameAsync == 0 { | |
| 1088 | + | return nil | |
| 1089 | + | } | |
| 1090 | + | var rawCallback func(FileVarp uintptr, DisplayNameVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1091 | + | purego.RegisterFunc(&rawCallback, x.xSetDisplayNameAsync) | |
| 1092 | + | return func(FileVar File, DisplayNameVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1093 | + | rawCallback(FileVar.GoPointer(), DisplayNameVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1094 | + | } | |
| 1095 | + | } | |
| 1096 | + | ||
| 1097 | + | // OverrideSetDisplayNameFinish sets the "set_display_name_finish" callback function. | |
| 1098 | + | // Finishes asynchronously setting a #GFile's display name. | |
| 1099 | + | func (x *FileIface) OverrideSetDisplayNameFinish(cb func(File, AsyncResult) *FileBase) { | |
| 1100 | + | if cb == nil { | |
| 1101 | + | x.xSetDisplayNameFinish = 0 | |
| 1102 | + | } else { | |
| 1103 | + | x.xSetDisplayNameFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 1104 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1105 | + | if ret == nil { | |
| 1106 | + | return 0 | |
| 1107 | + | } | |
| 1108 | + | return ret.GoPointer() | |
| 1109 | + | }) | |
| 1110 | + | } | |
| 1111 | + | } | |
| 1112 | + | ||
| 1113 | + | // GetSetDisplayNameFinish gets the "set_display_name_finish" callback function. | |
| 1114 | + | // Finishes asynchronously setting a #GFile's display name. | |
| 1115 | + | func (x *FileIface) GetSetDisplayNameFinish() func(File, AsyncResult) *FileBase { | |
| 1116 | + | if x.xSetDisplayNameFinish == 0 { | |
| 1117 | + | return nil | |
| 1118 | + | } | |
| 1119 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 1120 | + | purego.RegisterFunc(&rawCallback, x.xSetDisplayNameFinish) | |
| 1121 | + | return func(FileVar File, ResVar AsyncResult) *FileBase { | |
| 1122 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 1123 | + | if rawRet == 0 { | |
| 1124 | + | return nil | |
| 1125 | + | } | |
| 1126 | + | ret := &FileBase{} | |
| 1127 | + | ret.Ptr = rawRet | |
| 1128 | + | return ret | |
| 1129 | + | } | |
| 1130 | + | } | |
| 1131 | + | ||
| 1132 | + | // OverrideQuerySettableAttributes sets the "query_settable_attributes" callback function. | |
| 1133 | + | // Returns a list of #GFileAttributeInfos that can be set. | |
| 1134 | + | func (x *FileIface) OverrideQuerySettableAttributes(cb func(File, *Cancellable) *FileAttributeInfoList) { | |
| 1135 | + | if cb == nil { | |
| 1136 | + | x.xQuerySettableAttributes = 0 | |
| 1137 | + | } else { | |
| 1138 | + | x.xQuerySettableAttributes = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) uintptr { | |
| 1139 | + | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1140 | + | if ret == nil { | |
| 1141 | + | return 0 | |
| 1142 | + | } | |
| 1143 | + | return uintptr(unsafe.Pointer(ret)) | |
| 1144 | + | }) | |
| 1145 | + | } | |
| 1146 | + | } | |
| 1147 | + | ||
| 1148 | + | // GetQuerySettableAttributes gets the "query_settable_attributes" callback function. | |
| 1149 | + | // Returns a list of #GFileAttributeInfos that can be set. | |
| 1150 | + | func (x *FileIface) GetQuerySettableAttributes() func(File, *Cancellable) *FileAttributeInfoList { | |
| 1151 | + | if x.xQuerySettableAttributes == 0 { | |
| 1152 | + | return nil | |
| 1153 | + | } | |
| 1154 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) uintptr | |
| 1155 | + | purego.RegisterFunc(&rawCallback, x.xQuerySettableAttributes) | |
| 1156 | + | return func(FileVar File, CancellableVar *Cancellable) *FileAttributeInfoList { | |
| 1157 | + | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 1158 | + | if rawRet == 0 { | |
| 1159 | + | return nil | |
| 1160 | + | } | |
| 1161 | + | return (*FileAttributeInfoList)(unsafe.Pointer(rawRet)) | |
| 1162 | + | } | |
| 1163 | + | } | |
| 1164 | + | ||
| 1165 | + | // OverrideQuerySettableAttributesAsync sets the "_query_settable_attributes_async" callback function. | |
| 1166 | + | // Asynchronously gets a list of #GFileAttributeInfos that can be set. | |
| 1167 | + | func (x *FileIface) OverrideQuerySettableAttributesAsync(cb func()) { | |
| 1168 | + | if cb == nil { | |
| 1169 | + | x.xQuerySettableAttributesAsync = 0 | |
| 1170 | + | } else { | |
| 1171 | + | x.xQuerySettableAttributesAsync = purego.NewCallback(func() { | |
| 1172 | + | cb() | |
| 1173 | + | }) | |
| 1174 | + | } | |
| 1175 | + | } | |
| 1176 | + | ||
| 1177 | + | // GetQuerySettableAttributesAsync gets the "_query_settable_attributes_async" callback function. | |
| 1178 | + | // Asynchronously gets a list of #GFileAttributeInfos that can be set. | |
| 1179 | + | func (x *FileIface) GetQuerySettableAttributesAsync() func() { | |
| 1180 | + | if x.xQuerySettableAttributesAsync == 0 { | |
| 1181 | + | return nil | |
| 1182 | + | } | |
| 1183 | + | var rawCallback func() | |
| 1184 | + | purego.RegisterFunc(&rawCallback, x.xQuerySettableAttributesAsync) | |
| 1185 | + | return func() { | |
| 1186 | + | rawCallback() | |
| 1187 | + | } | |
| 1188 | + | } | |
| 1189 | + | ||
| 1190 | + | // OverrideQuerySettableAttributesFinish sets the "_query_settable_attributes_finish" callback function. | |
| 1191 | + | // Finishes asynchronously querying settable attributes. | |
| 1192 | + | func (x *FileIface) OverrideQuerySettableAttributesFinish(cb func()) { | |
| 1193 | + | if cb == nil { | |
| 1194 | + | x.xQuerySettableAttributesFinish = 0 | |
| 1195 | + | } else { | |
| 1196 | + | x.xQuerySettableAttributesFinish = purego.NewCallback(func() { | |
| 1197 | + | cb() | |
| 1198 | + | }) | |
| 1199 | + | } | |
| 1200 | + | } | |
| 1201 | + | ||
| 1202 | + | // GetQuerySettableAttributesFinish gets the "_query_settable_attributes_finish" callback function. | |
| 1203 | + | // Finishes asynchronously querying settable attributes. | |
| 1204 | + | func (x *FileIface) GetQuerySettableAttributesFinish() func() { | |
| 1205 | + | if x.xQuerySettableAttributesFinish == 0 { | |
| 1206 | + | return nil | |
| 1207 | + | } | |
| 1208 | + | var rawCallback func() | |
| 1209 | + | purego.RegisterFunc(&rawCallback, x.xQuerySettableAttributesFinish) | |
| 1210 | + | return func() { | |
| 1211 | + | rawCallback() | |
| 1212 | + | } | |
| 1213 | + | } | |
| 1214 | + | ||
| 1215 | + | // OverrideQueryWritableNamespaces sets the "query_writable_namespaces" callback function. | |
| 1216 | + | // Returns a list of #GFileAttributeInfo namespaces that are writable. | |
| 1217 | + | func (x *FileIface) OverrideQueryWritableNamespaces(cb func(File, *Cancellable) *FileAttributeInfoList) { | |
| 1218 | + | if cb == nil { | |
| 1219 | + | x.xQueryWritableNamespaces = 0 | |
| 1220 | + | } else { | |
| 1221 | + | x.xQueryWritableNamespaces = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) uintptr { | |
| 1222 | + | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1223 | + | if ret == nil { | |
| 1224 | + | return 0 | |
| 1225 | + | } | |
| 1226 | + | return uintptr(unsafe.Pointer(ret)) | |
| 1227 | + | }) | |
| 1228 | + | } | |
| 1229 | + | } | |
| 1230 | + | ||
| 1231 | + | // GetQueryWritableNamespaces gets the "query_writable_namespaces" callback function. | |
| 1232 | + | // Returns a list of #GFileAttributeInfo namespaces that are writable. | |
| 1233 | + | func (x *FileIface) GetQueryWritableNamespaces() func(File, *Cancellable) *FileAttributeInfoList { | |
| 1234 | + | if x.xQueryWritableNamespaces == 0 { | |
| 1235 | + | return nil | |
| 1236 | + | } | |
| 1237 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) uintptr | |
| 1238 | + | purego.RegisterFunc(&rawCallback, x.xQueryWritableNamespaces) | |
| 1239 | + | return func(FileVar File, CancellableVar *Cancellable) *FileAttributeInfoList { | |
| 1240 | + | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 1241 | + | if rawRet == 0 { | |
| 1242 | + | return nil | |
| 1243 | + | } | |
| 1244 | + | return (*FileAttributeInfoList)(unsafe.Pointer(rawRet)) | |
| 1245 | + | } | |
| 1246 | + | } | |
| 1247 | + | ||
| 1248 | + | // OverrideQueryWritableNamespacesAsync sets the "_query_writable_namespaces_async" callback function. | |
| 1249 | + | // Asynchronously gets a list of #GFileAttributeInfo namespaces that are writable. | |
| 1250 | + | func (x *FileIface) OverrideQueryWritableNamespacesAsync(cb func()) { | |
| 1251 | + | if cb == nil { | |
| 1252 | + | x.xQueryWritableNamespacesAsync = 0 | |
| 1253 | + | } else { | |
| 1254 | + | x.xQueryWritableNamespacesAsync = purego.NewCallback(func() { | |
| 1255 | + | cb() | |
| 1256 | + | }) | |
| 1257 | + | } | |
| 1258 | + | } | |
| 1259 | + | ||
| 1260 | + | // GetQueryWritableNamespacesAsync gets the "_query_writable_namespaces_async" callback function. | |
| 1261 | + | // Asynchronously gets a list of #GFileAttributeInfo namespaces that are writable. | |
| 1262 | + | func (x *FileIface) GetQueryWritableNamespacesAsync() func() { | |
| 1263 | + | if x.xQueryWritableNamespacesAsync == 0 { | |
| 1264 | + | return nil | |
| 1265 | + | } | |
| 1266 | + | var rawCallback func() | |
| 1267 | + | purego.RegisterFunc(&rawCallback, x.xQueryWritableNamespacesAsync) | |
| 1268 | + | return func() { | |
| 1269 | + | rawCallback() | |
| 1270 | + | } | |
| 1271 | + | } | |
| 1272 | + | ||
| 1273 | + | // OverrideQueryWritableNamespacesFinish sets the "_query_writable_namespaces_finish" callback function. | |
| 1274 | + | // Finishes asynchronously querying the writable namespaces. | |
| 1275 | + | func (x *FileIface) OverrideQueryWritableNamespacesFinish(cb func()) { | |
| 1276 | + | if cb == nil { | |
| 1277 | + | x.xQueryWritableNamespacesFinish = 0 | |
| 1278 | + | } else { | |
| 1279 | + | x.xQueryWritableNamespacesFinish = purego.NewCallback(func() { | |
| 1280 | + | cb() | |
| 1281 | + | }) | |
| 1282 | + | } | |
| 1283 | + | } | |
| 1284 | + | ||
| 1285 | + | // GetQueryWritableNamespacesFinish gets the "_query_writable_namespaces_finish" callback function. | |
| 1286 | + | // Finishes asynchronously querying the writable namespaces. | |
| 1287 | + | func (x *FileIface) GetQueryWritableNamespacesFinish() func() { | |
| 1288 | + | if x.xQueryWritableNamespacesFinish == 0 { | |
| 1289 | + | return nil | |
| 1290 | + | } | |
| 1291 | + | var rawCallback func() | |
| 1292 | + | purego.RegisterFunc(&rawCallback, x.xQueryWritableNamespacesFinish) | |
| 1293 | + | return func() { | |
| 1294 | + | rawCallback() | |
| 1295 | + | } | |
| 1296 | + | } | |
| 1297 | + | ||
| 1298 | + | // OverrideSetAttribute sets the "set_attribute" callback function. | |
| 1299 | + | // Sets a #GFileAttributeInfo. | |
| 1300 | + | func (x *FileIface) OverrideSetAttribute(cb func(File, string, FileAttributeType, uintptr, FileQueryInfoFlags, *Cancellable) bool) { | |
| 1301 | + | if cb == nil { | |
| 1302 | + | x.xSetAttribute = 0 | |
| 1303 | + | } else { | |
| 1304 | + | x.xSetAttribute = purego.NewCallback(func(FileVarp uintptr, AttributeVarp string, TypeVarp FileAttributeType, ValuePVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr) bool { | |
| 1305 | + | return cb(&FileBase{Ptr: FileVarp}, AttributeVarp, TypeVarp, ValuePVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1306 | + | }) | |
| 1307 | + | } | |
| 1308 | + | } | |
| 1309 | + | ||
| 1310 | + | // GetSetAttribute gets the "set_attribute" callback function. | |
| 1311 | + | // Sets a #GFileAttributeInfo. | |
| 1312 | + | func (x *FileIface) GetSetAttribute() func(File, string, FileAttributeType, uintptr, FileQueryInfoFlags, *Cancellable) bool { | |
| 1313 | + | if x.xSetAttribute == 0 { | |
| 1314 | + | return nil | |
| 1315 | + | } | |
| 1316 | + | var rawCallback func(FileVarp uintptr, AttributeVarp string, TypeVarp FileAttributeType, ValuePVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr) bool | |
| 1317 | + | purego.RegisterFunc(&rawCallback, x.xSetAttribute) | |
| 1318 | + | return func(FileVar File, AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) bool { | |
| 1319 | + | return rawCallback(FileVar.GoPointer(), AttributeVar, TypeVar, ValuePVar, FlagsVar, CancellableVar.GoPointer()) | |
| 1320 | + | } | |
| 1321 | + | } | |
| 1322 | + | ||
| 1323 | + | // OverrideSetAttributesFromInfo sets the "set_attributes_from_info" callback function. | |
| 1324 | + | // Sets a #GFileAttributeInfo with information from a #GFileInfo. | |
| 1325 | + | func (x *FileIface) OverrideSetAttributesFromInfo(cb func(File, *FileInfo, FileQueryInfoFlags, *Cancellable) bool) { | |
| 1326 | + | if cb == nil { | |
| 1327 | + | x.xSetAttributesFromInfo = 0 | |
| 1328 | + | } else { | |
| 1329 | + | x.xSetAttributesFromInfo = purego.NewCallback(func(FileVarp uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr) bool { | |
| 1330 | + | return cb(&FileBase{Ptr: FileVarp}, FileInfoNewFromInternalPtr(InfoVarp), FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1331 | + | }) | |
| 1332 | + | } | |
| 1333 | + | } | |
| 1334 | + | ||
| 1335 | + | // GetSetAttributesFromInfo gets the "set_attributes_from_info" callback function. | |
| 1336 | + | // Sets a #GFileAttributeInfo with information from a #GFileInfo. | |
| 1337 | + | func (x *FileIface) GetSetAttributesFromInfo() func(File, *FileInfo, FileQueryInfoFlags, *Cancellable) bool { | |
| 1338 | + | if x.xSetAttributesFromInfo == 0 { | |
| 1339 | + | return nil | |
| 1340 | + | } | |
| 1341 | + | var rawCallback func(FileVarp uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, CancellableVarp uintptr) bool | |
| 1342 | + | purego.RegisterFunc(&rawCallback, x.xSetAttributesFromInfo) | |
| 1343 | + | return func(FileVar File, InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) bool { | |
| 1344 | + | return rawCallback(FileVar.GoPointer(), InfoVar.GoPointer(), FlagsVar, CancellableVar.GoPointer()) | |
| 1345 | + | } | |
| 1346 | + | } | |
| 1347 | + | ||
| 1348 | + | // OverrideSetAttributesAsync sets the "set_attributes_async" callback function. | |
| 1349 | + | // Asynchronously sets a file's attributes. | |
| 1350 | + | func (x *FileIface) OverrideSetAttributesAsync(cb func(File, *FileInfo, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1351 | + | if cb == nil { | |
| 1352 | + | x.xSetAttributesAsync = 0 | |
| 1353 | + | } else { | |
| 1354 | + | x.xSetAttributesAsync = purego.NewCallback(func(FileVarp uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1355 | + | cb(&FileBase{Ptr: FileVarp}, FileInfoNewFromInternalPtr(InfoVarp), FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1356 | + | }) | |
| 1357 | + | } | |
| 1358 | + | } | |
| 1359 | + | ||
| 1360 | + | // GetSetAttributesAsync gets the "set_attributes_async" callback function. | |
| 1361 | + | // Asynchronously sets a file's attributes. | |
| 1362 | + | func (x *FileIface) GetSetAttributesAsync() func(File, *FileInfo, FileQueryInfoFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1363 | + | if x.xSetAttributesAsync == 0 { | |
| 1364 | + | return nil | |
| 1365 | + | } | |
| 1366 | + | var rawCallback func(FileVarp uintptr, InfoVarp uintptr, FlagsVarp FileQueryInfoFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1367 | + | purego.RegisterFunc(&rawCallback, x.xSetAttributesAsync) | |
| 1368 | + | return func(FileVar File, InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1369 | + | rawCallback(FileVar.GoPointer(), InfoVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1370 | + | } | |
| 1371 | + | } | |
| 1372 | + | ||
| 1373 | + | // OverrideSetAttributesFinish sets the "set_attributes_finish" callback function. | |
| 1374 | + | // Finishes setting a file's attributes asynchronously. | |
| 1375 | + | func (x *FileIface) OverrideSetAttributesFinish(cb func(File, AsyncResult, **FileInfo) bool) { | |
| 1376 | + | if cb == nil { | |
| 1377 | + | x.xSetAttributesFinish = 0 | |
| 1378 | + | } else { | |
| 1379 | + | x.xSetAttributesFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, InfoVarp **FileInfo) bool { | |
| 1380 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}, InfoVarp) | |
| 1381 | + | }) | |
| 1382 | + | } | |
| 1383 | + | } | |
| 1384 | + | ||
| 1385 | + | // GetSetAttributesFinish gets the "set_attributes_finish" callback function. | |
| 1386 | + | // Finishes setting a file's attributes asynchronously. | |
| 1387 | + | func (x *FileIface) GetSetAttributesFinish() func(File, AsyncResult, **FileInfo) bool { | |
| 1388 | + | if x.xSetAttributesFinish == 0 { | |
| 1389 | + | return nil | |
| 1390 | + | } | |
| 1391 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, InfoVarp **FileInfo) bool | |
| 1392 | + | purego.RegisterFunc(&rawCallback, x.xSetAttributesFinish) | |
| 1393 | + | return func(FileVar File, ResultVar AsyncResult, InfoVar **FileInfo) bool { | |
| 1394 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), InfoVar) | |
| 1395 | + | } | |
| 1396 | + | } | |
| 1397 | + | ||
| 1398 | + | // OverrideReadFn sets the "read_fn" callback function. | |
| 1399 | + | // Reads a file asynchronously. | |
| 1400 | + | func (x *FileIface) OverrideReadFn(cb func(File, *Cancellable) *FileInputStream) { | |
| 1401 | + | if cb == nil { | |
| 1402 | + | x.xReadFn = 0 | |
| 1403 | + | } else { | |
| 1404 | + | x.xReadFn = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) uintptr { | |
| 1405 | + | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1406 | + | if ret == nil { | |
| 1407 | + | return 0 | |
| 1408 | + | } | |
| 1409 | + | return ret.GoPointer() | |
| 1410 | + | }) | |
| 1411 | + | } | |
| 1412 | + | } | |
| 1413 | + | ||
| 1414 | + | // GetReadFn gets the "read_fn" callback function. | |
| 1415 | + | // Reads a file asynchronously. | |
| 1416 | + | func (x *FileIface) GetReadFn() func(File, *Cancellable) *FileInputStream { | |
| 1417 | + | if x.xReadFn == 0 { | |
| 1418 | + | return nil | |
| 1419 | + | } | |
| 1420 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) uintptr | |
| 1421 | + | purego.RegisterFunc(&rawCallback, x.xReadFn) | |
| 1422 | + | return func(FileVar File, CancellableVar *Cancellable) *FileInputStream { | |
| 1423 | + | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 1424 | + | if rawRet == 0 { | |
| 1425 | + | return nil | |
| 1426 | + | } | |
| 1427 | + | ret := &FileInputStream{} | |
| 1428 | + | ret.Ptr = rawRet | |
| 1429 | + | return ret | |
| 1430 | + | } | |
| 1431 | + | } | |
| 1432 | + | ||
| 1433 | + | // OverrideReadAsync sets the "read_async" callback function. | |
| 1434 | + | // Asynchronously reads a file. | |
| 1435 | + | func (x *FileIface) OverrideReadAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1436 | + | if cb == nil { | |
| 1437 | + | x.xReadAsync = 0 | |
| 1438 | + | } else { | |
| 1439 | + | x.xReadAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1440 | + | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1441 | + | }) | |
| 1442 | + | } | |
| 1443 | + | } | |
| 1444 | + | ||
| 1445 | + | // GetReadAsync gets the "read_async" callback function. | |
| 1446 | + | // Asynchronously reads a file. | |
| 1447 | + | func (x *FileIface) GetReadAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1448 | + | if x.xReadAsync == 0 { | |
| 1449 | + | return nil | |
| 1450 | + | } | |
| 1451 | + | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1452 | + | purego.RegisterFunc(&rawCallback, x.xReadAsync) | |
| 1453 | + | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1454 | + | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1455 | + | } | |
| 1456 | + | } | |
| 1457 | + | ||
| 1458 | + | // OverrideReadFinish sets the "read_finish" callback function. | |
| 1459 | + | // Finishes asynchronously reading a file. | |
| 1460 | + | func (x *FileIface) OverrideReadFinish(cb func(File, AsyncResult) *FileInputStream) { | |
| 1461 | + | if cb == nil { | |
| 1462 | + | x.xReadFinish = 0 | |
| 1463 | + | } else { | |
| 1464 | + | x.xReadFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 1465 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1466 | + | if ret == nil { | |
| 1467 | + | return 0 | |
| 1468 | + | } | |
| 1469 | + | return ret.GoPointer() | |
| 1470 | + | }) | |
| 1471 | + | } | |
| 1472 | + | } | |
| 1473 | + | ||
| 1474 | + | // GetReadFinish gets the "read_finish" callback function. | |
| 1475 | + | // Finishes asynchronously reading a file. | |
| 1476 | + | func (x *FileIface) GetReadFinish() func(File, AsyncResult) *FileInputStream { | |
| 1477 | + | if x.xReadFinish == 0 { | |
| 1478 | + | return nil | |
| 1479 | + | } | |
| 1480 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 1481 | + | purego.RegisterFunc(&rawCallback, x.xReadFinish) | |
| 1482 | + | return func(FileVar File, ResVar AsyncResult) *FileInputStream { | |
| 1483 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 1484 | + | if rawRet == 0 { | |
| 1485 | + | return nil | |
| 1486 | + | } | |
| 1487 | + | ret := &FileInputStream{} | |
| 1488 | + | ret.Ptr = rawRet | |
| 1489 | + | return ret | |
| 1490 | + | } | |
| 1491 | + | } | |
| 1492 | + | ||
| 1493 | + | // OverrideAppendTo sets the "append_to" callback function. | |
| 1494 | + | // Writes to the end of a file. | |
| 1495 | + | func (x *FileIface) OverrideAppendTo(cb func(File, FileCreateFlags, *Cancellable) *FileOutputStream) { | |
| 1496 | + | if cb == nil { | |
| 1497 | + | x.xAppendTo = 0 | |
| 1498 | + | } else { | |
| 1499 | + | x.xAppendTo = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr { | |
| 1500 | + | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1501 | + | if ret == nil { | |
| 1502 | + | return 0 | |
| 1503 | + | } | |
| 1504 | + | return ret.GoPointer() | |
| 1505 | + | }) | |
| 1506 | + | } | |
| 1507 | + | } | |
| 1508 | + | ||
| 1509 | + | // GetAppendTo gets the "append_to" callback function. | |
| 1510 | + | // Writes to the end of a file. | |
| 1511 | + | func (x *FileIface) GetAppendTo() func(File, FileCreateFlags, *Cancellable) *FileOutputStream { | |
| 1512 | + | if x.xAppendTo == 0 { | |
| 1513 | + | return nil | |
| 1514 | + | } | |
| 1515 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr | |
| 1516 | + | purego.RegisterFunc(&rawCallback, x.xAppendTo) | |
| 1517 | + | return func(FileVar File, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileOutputStream { | |
| 1518 | + | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer()) | |
| 1519 | + | if rawRet == 0 { | |
| 1520 | + | return nil | |
| 1521 | + | } | |
| 1522 | + | ret := &FileOutputStream{} | |
| 1523 | + | ret.Ptr = rawRet | |
| 1524 | + | return ret | |
| 1525 | + | } | |
| 1526 | + | } | |
| 1527 | + | ||
| 1528 | + | // OverrideAppendToAsync sets the "append_to_async" callback function. | |
| 1529 | + | // Asynchronously writes to the end of a file. | |
| 1530 | + | func (x *FileIface) OverrideAppendToAsync(cb func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1531 | + | if cb == nil { | |
| 1532 | + | x.xAppendToAsync = 0 | |
| 1533 | + | } else { | |
| 1534 | + | x.xAppendToAsync = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1535 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1536 | + | }) | |
| 1537 | + | } | |
| 1538 | + | } | |
| 1539 | + | ||
| 1540 | + | // GetAppendToAsync gets the "append_to_async" callback function. | |
| 1541 | + | // Asynchronously writes to the end of a file. | |
| 1542 | + | func (x *FileIface) GetAppendToAsync() func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1543 | + | if x.xAppendToAsync == 0 { | |
| 1544 | + | return nil | |
| 1545 | + | } | |
| 1546 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1547 | + | purego.RegisterFunc(&rawCallback, x.xAppendToAsync) | |
| 1548 | + | return func(FileVar File, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1549 | + | rawCallback(FileVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1550 | + | } | |
| 1551 | + | } | |
| 1552 | + | ||
| 1553 | + | // OverrideAppendToFinish sets the "append_to_finish" callback function. | |
| 1554 | + | // Finishes an asynchronous file append operation. | |
| 1555 | + | func (x *FileIface) OverrideAppendToFinish(cb func(File, AsyncResult) *FileOutputStream) { | |
| 1556 | + | if cb == nil { | |
| 1557 | + | x.xAppendToFinish = 0 | |
| 1558 | + | } else { | |
| 1559 | + | x.xAppendToFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 1560 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1561 | + | if ret == nil { | |
| 1562 | + | return 0 | |
| 1563 | + | } | |
| 1564 | + | return ret.GoPointer() | |
| 1565 | + | }) | |
| 1566 | + | } | |
| 1567 | + | } | |
| 1568 | + | ||
| 1569 | + | // GetAppendToFinish gets the "append_to_finish" callback function. | |
| 1570 | + | // Finishes an asynchronous file append operation. | |
| 1571 | + | func (x *FileIface) GetAppendToFinish() func(File, AsyncResult) *FileOutputStream { | |
| 1572 | + | if x.xAppendToFinish == 0 { | |
| 1573 | + | return nil | |
| 1574 | + | } | |
| 1575 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 1576 | + | purego.RegisterFunc(&rawCallback, x.xAppendToFinish) | |
| 1577 | + | return func(FileVar File, ResVar AsyncResult) *FileOutputStream { | |
| 1578 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 1579 | + | if rawRet == 0 { | |
| 1580 | + | return nil | |
| 1581 | + | } | |
| 1582 | + | ret := &FileOutputStream{} | |
| 1583 | + | ret.Ptr = rawRet | |
| 1584 | + | return ret | |
| 1585 | + | } | |
| 1586 | + | } | |
| 1587 | + | ||
| 1588 | + | // OverrideCreate sets the "create" callback function. | |
| 1589 | + | // Creates a new file. | |
| 1590 | + | func (x *FileIface) OverrideCreate(cb func(File, FileCreateFlags, *Cancellable) *FileOutputStream) { | |
| 1591 | + | if cb == nil { | |
| 1592 | + | x.xCreate = 0 | |
| 1593 | + | } else { | |
| 1594 | + | x.xCreate = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr { | |
| 1595 | + | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1596 | + | if ret == nil { | |
| 1597 | + | return 0 | |
| 1598 | + | } | |
| 1599 | + | return ret.GoPointer() | |
| 1600 | + | }) | |
| 1601 | + | } | |
| 1602 | + | } | |
| 1603 | + | ||
| 1604 | + | // GetCreate gets the "create" callback function. | |
| 1605 | + | // Creates a new file. | |
| 1606 | + | func (x *FileIface) GetCreate() func(File, FileCreateFlags, *Cancellable) *FileOutputStream { | |
| 1607 | + | if x.xCreate == 0 { | |
| 1608 | + | return nil | |
| 1609 | + | } | |
| 1610 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr | |
| 1611 | + | purego.RegisterFunc(&rawCallback, x.xCreate) | |
| 1612 | + | return func(FileVar File, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileOutputStream { | |
| 1613 | + | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer()) | |
| 1614 | + | if rawRet == 0 { | |
| 1615 | + | return nil | |
| 1616 | + | } | |
| 1617 | + | ret := &FileOutputStream{} | |
| 1618 | + | ret.Ptr = rawRet | |
| 1619 | + | return ret | |
| 1620 | + | } | |
| 1621 | + | } | |
| 1622 | + | ||
| 1623 | + | // OverrideCreateAsync sets the "create_async" callback function. | |
| 1624 | + | // Asynchronously creates a file. | |
| 1625 | + | func (x *FileIface) OverrideCreateAsync(cb func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1626 | + | if cb == nil { | |
| 1627 | + | x.xCreateAsync = 0 | |
| 1628 | + | } else { | |
| 1629 | + | x.xCreateAsync = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1630 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1631 | + | }) | |
| 1632 | + | } | |
| 1633 | + | } | |
| 1634 | + | ||
| 1635 | + | // GetCreateAsync gets the "create_async" callback function. | |
| 1636 | + | // Asynchronously creates a file. | |
| 1637 | + | func (x *FileIface) GetCreateAsync() func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1638 | + | if x.xCreateAsync == 0 { | |
| 1639 | + | return nil | |
| 1640 | + | } | |
| 1641 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1642 | + | purego.RegisterFunc(&rawCallback, x.xCreateAsync) | |
| 1643 | + | return func(FileVar File, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1644 | + | rawCallback(FileVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1645 | + | } | |
| 1646 | + | } | |
| 1647 | + | ||
| 1648 | + | // OverrideCreateFinish sets the "create_finish" callback function. | |
| 1649 | + | // Finishes asynchronously creating a file. | |
| 1650 | + | func (x *FileIface) OverrideCreateFinish(cb func(File, AsyncResult) *FileOutputStream) { | |
| 1651 | + | if cb == nil { | |
| 1652 | + | x.xCreateFinish = 0 | |
| 1653 | + | } else { | |
| 1654 | + | x.xCreateFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 1655 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1656 | + | if ret == nil { | |
| 1657 | + | return 0 | |
| 1658 | + | } | |
| 1659 | + | return ret.GoPointer() | |
| 1660 | + | }) | |
| 1661 | + | } | |
| 1662 | + | } | |
| 1663 | + | ||
| 1664 | + | // GetCreateFinish gets the "create_finish" callback function. | |
| 1665 | + | // Finishes asynchronously creating a file. | |
| 1666 | + | func (x *FileIface) GetCreateFinish() func(File, AsyncResult) *FileOutputStream { | |
| 1667 | + | if x.xCreateFinish == 0 { | |
| 1668 | + | return nil | |
| 1669 | + | } | |
| 1670 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 1671 | + | purego.RegisterFunc(&rawCallback, x.xCreateFinish) | |
| 1672 | + | return func(FileVar File, ResVar AsyncResult) *FileOutputStream { | |
| 1673 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 1674 | + | if rawRet == 0 { | |
| 1675 | + | return nil | |
| 1676 | + | } | |
| 1677 | + | ret := &FileOutputStream{} | |
| 1678 | + | ret.Ptr = rawRet | |
| 1679 | + | return ret | |
| 1680 | + | } | |
| 1681 | + | } | |
| 1682 | + | ||
| 1683 | + | // OverrideReplace sets the "replace" callback function. | |
| 1684 | + | // Replaces the contents of a file. | |
| 1685 | + | func (x *FileIface) OverrideReplace(cb func(File, string, bool, FileCreateFlags, *Cancellable) *FileOutputStream) { | |
| 1686 | + | if cb == nil { | |
| 1687 | + | x.xReplace = 0 | |
| 1688 | + | } else { | |
| 1689 | + | x.xReplace = purego.NewCallback(func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr { | |
| 1690 | + | ret := cb(&FileBase{Ptr: FileVarp}, EtagVarp, MakeBackupVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1691 | + | if ret == nil { | |
| 1692 | + | return 0 | |
| 1693 | + | } | |
| 1694 | + | return ret.GoPointer() | |
| 1695 | + | }) | |
| 1696 | + | } | |
| 1697 | + | } | |
| 1698 | + | ||
| 1699 | + | // GetReplace gets the "replace" callback function. | |
| 1700 | + | // Replaces the contents of a file. | |
| 1701 | + | func (x *FileIface) GetReplace() func(File, string, bool, FileCreateFlags, *Cancellable) *FileOutputStream { | |
| 1702 | + | if x.xReplace == 0 { | |
| 1703 | + | return nil | |
| 1704 | + | } | |
| 1705 | + | var rawCallback func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr | |
| 1706 | + | purego.RegisterFunc(&rawCallback, x.xReplace) | |
| 1707 | + | return func(FileVar File, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileOutputStream { | |
| 1708 | + | rawRet := rawCallback(FileVar.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, CancellableVar.GoPointer()) | |
| 1709 | + | if rawRet == 0 { | |
| 1710 | + | return nil | |
| 1711 | + | } | |
| 1712 | + | ret := &FileOutputStream{} | |
| 1713 | + | ret.Ptr = rawRet | |
| 1714 | + | return ret | |
| 1715 | + | } | |
| 1716 | + | } | |
| 1717 | + | ||
| 1718 | + | // OverrideReplaceAsync sets the "replace_async" callback function. | |
| 1719 | + | // Asynchronously replaces the contents of a file. | |
| 1720 | + | func (x *FileIface) OverrideReplaceAsync(cb func(File, string, bool, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1721 | + | if cb == nil { | |
| 1722 | + | x.xReplaceAsync = 0 | |
| 1723 | + | } else { | |
| 1724 | + | x.xReplaceAsync = purego.NewCallback(func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1725 | + | cb(&FileBase{Ptr: FileVarp}, EtagVarp, MakeBackupVarp, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1726 | + | }) | |
| 1727 | + | } | |
| 1728 | + | } | |
| 1729 | + | ||
| 1730 | + | // GetReplaceAsync gets the "replace_async" callback function. | |
| 1731 | + | // Asynchronously replaces the contents of a file. | |
| 1732 | + | func (x *FileIface) GetReplaceAsync() func(File, string, bool, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1733 | + | if x.xReplaceAsync == 0 { | |
| 1734 | + | return nil | |
| 1735 | + | } | |
| 1736 | + | var rawCallback func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1737 | + | purego.RegisterFunc(&rawCallback, x.xReplaceAsync) | |
| 1738 | + | return func(FileVar File, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1739 | + | rawCallback(FileVar.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1740 | + | } | |
| 1741 | + | } | |
| 1742 | + | ||
| 1743 | + | // OverrideReplaceFinish sets the "replace_finish" callback function. | |
| 1744 | + | // Finishes asynchronously replacing a file. | |
| 1745 | + | func (x *FileIface) OverrideReplaceFinish(cb func(File, AsyncResult) *FileOutputStream) { | |
| 1746 | + | if cb == nil { | |
| 1747 | + | x.xReplaceFinish = 0 | |
| 1748 | + | } else { | |
| 1749 | + | x.xReplaceFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 1750 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 1751 | + | if ret == nil { | |
| 1752 | + | return 0 | |
| 1753 | + | } | |
| 1754 | + | return ret.GoPointer() | |
| 1755 | + | }) | |
| 1756 | + | } | |
| 1757 | + | } | |
| 1758 | + | ||
| 1759 | + | // GetReplaceFinish gets the "replace_finish" callback function. | |
| 1760 | + | // Finishes asynchronously replacing a file. | |
| 1761 | + | func (x *FileIface) GetReplaceFinish() func(File, AsyncResult) *FileOutputStream { | |
| 1762 | + | if x.xReplaceFinish == 0 { | |
| 1763 | + | return nil | |
| 1764 | + | } | |
| 1765 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 1766 | + | purego.RegisterFunc(&rawCallback, x.xReplaceFinish) | |
| 1767 | + | return func(FileVar File, ResVar AsyncResult) *FileOutputStream { | |
| 1768 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 1769 | + | if rawRet == 0 { | |
| 1770 | + | return nil | |
| 1771 | + | } | |
| 1772 | + | ret := &FileOutputStream{} | |
| 1773 | + | ret.Ptr = rawRet | |
| 1774 | + | return ret | |
| 1775 | + | } | |
| 1776 | + | } | |
| 1777 | + | ||
| 1778 | + | // OverrideDeleteFile sets the "delete_file" callback function. | |
| 1779 | + | // Deletes a file. | |
| 1780 | + | func (x *FileIface) OverrideDeleteFile(cb func(File, *Cancellable) bool) { | |
| 1781 | + | if cb == nil { | |
| 1782 | + | x.xDeleteFile = 0 | |
| 1783 | + | } else { | |
| 1784 | + | x.xDeleteFile = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) bool { | |
| 1785 | + | return cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1786 | + | }) | |
| 1787 | + | } | |
| 1788 | + | } | |
| 1789 | + | ||
| 1790 | + | // GetDeleteFile gets the "delete_file" callback function. | |
| 1791 | + | // Deletes a file. | |
| 1792 | + | func (x *FileIface) GetDeleteFile() func(File, *Cancellable) bool { | |
| 1793 | + | if x.xDeleteFile == 0 { | |
| 1794 | + | return nil | |
| 1795 | + | } | |
| 1796 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) bool | |
| 1797 | + | purego.RegisterFunc(&rawCallback, x.xDeleteFile) | |
| 1798 | + | return func(FileVar File, CancellableVar *Cancellable) bool { | |
| 1799 | + | return rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 1800 | + | } | |
| 1801 | + | } | |
| 1802 | + | ||
| 1803 | + | // OverrideDeleteFileAsync sets the "delete_file_async" callback function. | |
| 1804 | + | // Asynchronously deletes a file. | |
| 1805 | + | func (x *FileIface) OverrideDeleteFileAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1806 | + | if cb == nil { | |
| 1807 | + | x.xDeleteFileAsync = 0 | |
| 1808 | + | } else { | |
| 1809 | + | x.xDeleteFileAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1810 | + | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1811 | + | }) | |
| 1812 | + | } | |
| 1813 | + | } | |
| 1814 | + | ||
| 1815 | + | // GetDeleteFileAsync gets the "delete_file_async" callback function. | |
| 1816 | + | // Asynchronously deletes a file. | |
| 1817 | + | func (x *FileIface) GetDeleteFileAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1818 | + | if x.xDeleteFileAsync == 0 { | |
| 1819 | + | return nil | |
| 1820 | + | } | |
| 1821 | + | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1822 | + | purego.RegisterFunc(&rawCallback, x.xDeleteFileAsync) | |
| 1823 | + | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1824 | + | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1825 | + | } | |
| 1826 | + | } | |
| 1827 | + | ||
| 1828 | + | // OverrideDeleteFileFinish sets the "delete_file_finish" callback function. | |
| 1829 | + | // Finishes an asynchronous delete. | |
| 1830 | + | func (x *FileIface) OverrideDeleteFileFinish(cb func(File, AsyncResult) bool) { | |
| 1831 | + | if cb == nil { | |
| 1832 | + | x.xDeleteFileFinish = 0 | |
| 1833 | + | } else { | |
| 1834 | + | x.xDeleteFileFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 1835 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 1836 | + | }) | |
| 1837 | + | } | |
| 1838 | + | } | |
| 1839 | + | ||
| 1840 | + | // GetDeleteFileFinish gets the "delete_file_finish" callback function. | |
| 1841 | + | // Finishes an asynchronous delete. | |
| 1842 | + | func (x *FileIface) GetDeleteFileFinish() func(File, AsyncResult) bool { | |
| 1843 | + | if x.xDeleteFileFinish == 0 { | |
| 1844 | + | return nil | |
| 1845 | + | } | |
| 1846 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 1847 | + | purego.RegisterFunc(&rawCallback, x.xDeleteFileFinish) | |
| 1848 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 1849 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 1850 | + | } | |
| 1851 | + | } | |
| 1852 | + | ||
| 1853 | + | // OverrideTrash sets the "trash" callback function. | |
| 1854 | + | // Sends a #GFile to the Trash location. | |
| 1855 | + | func (x *FileIface) OverrideTrash(cb func(File, *Cancellable) bool) { | |
| 1856 | + | if cb == nil { | |
| 1857 | + | x.xTrash = 0 | |
| 1858 | + | } else { | |
| 1859 | + | x.xTrash = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) bool { | |
| 1860 | + | return cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1861 | + | }) | |
| 1862 | + | } | |
| 1863 | + | } | |
| 1864 | + | ||
| 1865 | + | // GetTrash gets the "trash" callback function. | |
| 1866 | + | // Sends a #GFile to the Trash location. | |
| 1867 | + | func (x *FileIface) GetTrash() func(File, *Cancellable) bool { | |
| 1868 | + | if x.xTrash == 0 { | |
| 1869 | + | return nil | |
| 1870 | + | } | |
| 1871 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) bool | |
| 1872 | + | purego.RegisterFunc(&rawCallback, x.xTrash) | |
| 1873 | + | return func(FileVar File, CancellableVar *Cancellable) bool { | |
| 1874 | + | return rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 1875 | + | } | |
| 1876 | + | } | |
| 1877 | + | ||
| 1878 | + | // OverrideTrashAsync sets the "trash_async" callback function. | |
| 1879 | + | // Asynchronously sends a #GFile to the Trash location. | |
| 1880 | + | func (x *FileIface) OverrideTrashAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1881 | + | if cb == nil { | |
| 1882 | + | x.xTrashAsync = 0 | |
| 1883 | + | } else { | |
| 1884 | + | x.xTrashAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1885 | + | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1886 | + | }) | |
| 1887 | + | } | |
| 1888 | + | } | |
| 1889 | + | ||
| 1890 | + | // GetTrashAsync gets the "trash_async" callback function. | |
| 1891 | + | // Asynchronously sends a #GFile to the Trash location. | |
| 1892 | + | func (x *FileIface) GetTrashAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1893 | + | if x.xTrashAsync == 0 { | |
| 1894 | + | return nil | |
| 1895 | + | } | |
| 1896 | + | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1897 | + | purego.RegisterFunc(&rawCallback, x.xTrashAsync) | |
| 1898 | + | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1899 | + | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1900 | + | } | |
| 1901 | + | } | |
| 1902 | + | ||
| 1903 | + | // OverrideTrashFinish sets the "trash_finish" callback function. | |
| 1904 | + | // Finishes an asynchronous file trashing operation. | |
| 1905 | + | func (x *FileIface) OverrideTrashFinish(cb func(File, AsyncResult) bool) { | |
| 1906 | + | if cb == nil { | |
| 1907 | + | x.xTrashFinish = 0 | |
| 1908 | + | } else { | |
| 1909 | + | x.xTrashFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 1910 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 1911 | + | }) | |
| 1912 | + | } | |
| 1913 | + | } | |
| 1914 | + | ||
| 1915 | + | // GetTrashFinish gets the "trash_finish" callback function. | |
| 1916 | + | // Finishes an asynchronous file trashing operation. | |
| 1917 | + | func (x *FileIface) GetTrashFinish() func(File, AsyncResult) bool { | |
| 1918 | + | if x.xTrashFinish == 0 { | |
| 1919 | + | return nil | |
| 1920 | + | } | |
| 1921 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 1922 | + | purego.RegisterFunc(&rawCallback, x.xTrashFinish) | |
| 1923 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 1924 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 1925 | + | } | |
| 1926 | + | } | |
| 1927 | + | ||
| 1928 | + | // OverrideMakeDirectory sets the "make_directory" callback function. | |
| 1929 | + | // Makes a directory. | |
| 1930 | + | func (x *FileIface) OverrideMakeDirectory(cb func(File, *Cancellable) bool) { | |
| 1931 | + | if cb == nil { | |
| 1932 | + | x.xMakeDirectory = 0 | |
| 1933 | + | } else { | |
| 1934 | + | x.xMakeDirectory = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) bool { | |
| 1935 | + | return cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 1936 | + | }) | |
| 1937 | + | } | |
| 1938 | + | } | |
| 1939 | + | ||
| 1940 | + | // GetMakeDirectory gets the "make_directory" callback function. | |
| 1941 | + | // Makes a directory. | |
| 1942 | + | func (x *FileIface) GetMakeDirectory() func(File, *Cancellable) bool { | |
| 1943 | + | if x.xMakeDirectory == 0 { | |
| 1944 | + | return nil | |
| 1945 | + | } | |
| 1946 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) bool | |
| 1947 | + | purego.RegisterFunc(&rawCallback, x.xMakeDirectory) | |
| 1948 | + | return func(FileVar File, CancellableVar *Cancellable) bool { | |
| 1949 | + | return rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 1950 | + | } | |
| 1951 | + | } | |
| 1952 | + | ||
| 1953 | + | // OverrideMakeDirectoryAsync sets the "make_directory_async" callback function. | |
| 1954 | + | // Asynchronously makes a directory. | |
| 1955 | + | func (x *FileIface) OverrideMakeDirectoryAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 1956 | + | if cb == nil { | |
| 1957 | + | x.xMakeDirectoryAsync = 0 | |
| 1958 | + | } else { | |
| 1959 | + | x.xMakeDirectoryAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 1960 | + | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 1961 | + | }) | |
| 1962 | + | } | |
| 1963 | + | } | |
| 1964 | + | ||
| 1965 | + | // GetMakeDirectoryAsync gets the "make_directory_async" callback function. | |
| 1966 | + | // Asynchronously makes a directory. | |
| 1967 | + | func (x *FileIface) GetMakeDirectoryAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 1968 | + | if x.xMakeDirectoryAsync == 0 { | |
| 1969 | + | return nil | |
| 1970 | + | } | |
| 1971 | + | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 1972 | + | purego.RegisterFunc(&rawCallback, x.xMakeDirectoryAsync) | |
| 1973 | + | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 1974 | + | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1975 | + | } | |
| 1976 | + | } | |
| 1977 | + | ||
| 1978 | + | // OverrideMakeDirectoryFinish sets the "make_directory_finish" callback function. | |
| 1979 | + | // Finishes making a directory asynchronously. | |
| 1980 | + | func (x *FileIface) OverrideMakeDirectoryFinish(cb func(File, AsyncResult) bool) { | |
| 1981 | + | if cb == nil { | |
| 1982 | + | x.xMakeDirectoryFinish = 0 | |
| 1983 | + | } else { | |
| 1984 | + | x.xMakeDirectoryFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 1985 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 1986 | + | }) | |
| 1987 | + | } | |
| 1988 | + | } | |
| 1989 | + | ||
| 1990 | + | // GetMakeDirectoryFinish gets the "make_directory_finish" callback function. | |
| 1991 | + | // Finishes making a directory asynchronously. | |
| 1992 | + | func (x *FileIface) GetMakeDirectoryFinish() func(File, AsyncResult) bool { | |
| 1993 | + | if x.xMakeDirectoryFinish == 0 { | |
| 1994 | + | return nil | |
| 1995 | + | } | |
| 1996 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 1997 | + | purego.RegisterFunc(&rawCallback, x.xMakeDirectoryFinish) | |
| 1998 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 1999 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 2000 | + | } | |
| 2001 | + | } | |
| 2002 | + | ||
| 2003 | + | // OverrideMakeSymbolicLink sets the "make_symbolic_link" callback function. | |
| 2004 | + | // Makes a symbolic link. %NULL if symbolic | |
| 2005 | + | // | |
| 2006 | + | // links are unsupported. | |
| 2007 | + | func (x *FileIface) OverrideMakeSymbolicLink(cb func(File, string, *Cancellable) bool) { | |
| 2008 | + | if cb == nil { | |
| 2009 | + | x.xMakeSymbolicLink = 0 | |
| 2010 | + | } else { | |
| 2011 | + | x.xMakeSymbolicLink = purego.NewCallback(func(FileVarp uintptr, SymlinkValueVarp string, CancellableVarp uintptr) bool { | |
| 2012 | + | return cb(&FileBase{Ptr: FileVarp}, SymlinkValueVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2013 | + | }) | |
| 2014 | + | } | |
| 2015 | + | } | |
| 2016 | + | ||
| 2017 | + | // GetMakeSymbolicLink gets the "make_symbolic_link" callback function. | |
| 2018 | + | // Makes a symbolic link. %NULL if symbolic | |
| 2019 | + | // | |
| 2020 | + | // links are unsupported. | |
| 2021 | + | func (x *FileIface) GetMakeSymbolicLink() func(File, string, *Cancellable) bool { | |
| 2022 | + | if x.xMakeSymbolicLink == 0 { | |
| 2023 | + | return nil | |
| 2024 | + | } | |
| 2025 | + | var rawCallback func(FileVarp uintptr, SymlinkValueVarp string, CancellableVarp uintptr) bool | |
| 2026 | + | purego.RegisterFunc(&rawCallback, x.xMakeSymbolicLink) | |
| 2027 | + | return func(FileVar File, SymlinkValueVar string, CancellableVar *Cancellable) bool { | |
| 2028 | + | return rawCallback(FileVar.GoPointer(), SymlinkValueVar, CancellableVar.GoPointer()) | |
| 2029 | + | } | |
| 2030 | + | } | |
| 2031 | + | ||
| 2032 | + | // OverrideMakeSymbolicLinkAsync sets the "make_symbolic_link_async" callback function. | |
| 2033 | + | // Asynchronously makes a symbolic link | |
| 2034 | + | func (x *FileIface) OverrideMakeSymbolicLinkAsync(cb func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2035 | + | if cb == nil { | |
| 2036 | + | x.xMakeSymbolicLinkAsync = 0 | |
| 2037 | + | } else { | |
| 2038 | + | x.xMakeSymbolicLinkAsync = purego.NewCallback(func(FileVarp uintptr, SymlinkValueVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2039 | + | cb(&FileBase{Ptr: FileVarp}, SymlinkValueVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2040 | + | }) | |
| 2041 | + | } | |
| 2042 | + | } | |
| 2043 | + | ||
| 2044 | + | // GetMakeSymbolicLinkAsync gets the "make_symbolic_link_async" callback function. | |
| 2045 | + | // Asynchronously makes a symbolic link | |
| 2046 | + | func (x *FileIface) GetMakeSymbolicLinkAsync() func(File, string, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2047 | + | if x.xMakeSymbolicLinkAsync == 0 { | |
| 2048 | + | return nil | |
| 2049 | + | } | |
| 2050 | + | var rawCallback func(FileVarp uintptr, SymlinkValueVarp string, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2051 | + | purego.RegisterFunc(&rawCallback, x.xMakeSymbolicLinkAsync) | |
| 2052 | + | return func(FileVar File, SymlinkValueVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2053 | + | rawCallback(FileVar.GoPointer(), SymlinkValueVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2054 | + | } | |
| 2055 | + | } | |
| 2056 | + | ||
| 2057 | + | // OverrideMakeSymbolicLinkFinish sets the "make_symbolic_link_finish" callback function. | |
| 2058 | + | // Finishes making a symbolic link asynchronously. | |
| 2059 | + | func (x *FileIface) OverrideMakeSymbolicLinkFinish(cb func(File, AsyncResult) bool) { | |
| 2060 | + | if cb == nil { | |
| 2061 | + | x.xMakeSymbolicLinkFinish = 0 | |
| 2062 | + | } else { | |
| 2063 | + | x.xMakeSymbolicLinkFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 2064 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2065 | + | }) | |
| 2066 | + | } | |
| 2067 | + | } | |
| 2068 | + | ||
| 2069 | + | // GetMakeSymbolicLinkFinish gets the "make_symbolic_link_finish" callback function. | |
| 2070 | + | // Finishes making a symbolic link asynchronously. | |
| 2071 | + | func (x *FileIface) GetMakeSymbolicLinkFinish() func(File, AsyncResult) bool { | |
| 2072 | + | if x.xMakeSymbolicLinkFinish == 0 { | |
| 2073 | + | return nil | |
| 2074 | + | } | |
| 2075 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 2076 | + | purego.RegisterFunc(&rawCallback, x.xMakeSymbolicLinkFinish) | |
| 2077 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2078 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 2079 | + | } | |
| 2080 | + | } | |
| 2081 | + | ||
| 2082 | + | // OverrideCopy sets the "copy" callback function. | |
| 2083 | + | // Copies a file. %NULL if copying is unsupported, which will | |
| 2084 | + | // | |
| 2085 | + | // cause `GFile` to use a fallback copy method where it reads from the | |
| 2086 | + | // source and writes to the destination. | |
| 2087 | + | func (x *FileIface) OverrideCopy(cb func(File, File, FileCopyFlags, *Cancellable, *FileProgressCallback, uintptr) bool) { | |
| 2088 | + | if cb == nil { | |
| 2089 | + | x.xCopy = 0 | |
| 2090 | + | } else { | |
| 2091 | + | x.xCopy = purego.NewCallback(func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr) bool { | |
| 2092 | + | return cb(&FileBase{Ptr: SourceVarp}, &FileBase{Ptr: DestinationVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressCallbackDataVarp) | |
| 2093 | + | }) | |
| 2094 | + | } | |
| 2095 | + | } | |
| 2096 | + | ||
| 2097 | + | // GetCopy gets the "copy" callback function. | |
| 2098 | + | // Copies a file. %NULL if copying is unsupported, which will | |
| 2099 | + | // | |
| 2100 | + | // cause `GFile` to use a fallback copy method where it reads from the | |
| 2101 | + | // source and writes to the destination. | |
| 2102 | + | func (x *FileIface) GetCopy() func(File, File, FileCopyFlags, *Cancellable, *FileProgressCallback, uintptr) bool { | |
| 2103 | + | if x.xCopy == 0 { | |
| 2104 | + | return nil | |
| 2105 | + | } | |
| 2106 | + | var rawCallback func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr) bool | |
| 2107 | + | purego.RegisterFunc(&rawCallback, x.xCopy) | |
| 2108 | + | return func(SourceVar File, DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) bool { | |
| 2109 | + | return rawCallback(SourceVar.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar) | |
| 2110 | + | } | |
| 2111 | + | } | |
| 2112 | + | ||
| 2113 | + | // OverrideCopyAsync sets the "copy_async" callback function. | |
| 2114 | + | // Asynchronously copies a file. | |
| 2115 | + | func (x *FileIface) OverrideCopyAsync(cb func(File, File, FileCopyFlags, int, *Cancellable, *FileProgressCallback, uintptr, *AsyncReadyCallback, uintptr)) { | |
| 2116 | + | if cb == nil { | |
| 2117 | + | x.xCopyAsync = 0 | |
| 2118 | + | } else { | |
| 2119 | + | x.xCopyAsync = purego.NewCallback(func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2120 | + | cb(&FileBase{Ptr: SourceVarp}, &FileBase{Ptr: DestinationVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressCallbackDataVarp, (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2121 | + | }) | |
| 2122 | + | } | |
| 2123 | + | } | |
| 2124 | + | ||
| 2125 | + | // GetCopyAsync gets the "copy_async" callback function. | |
| 2126 | + | // Asynchronously copies a file. | |
| 2127 | + | func (x *FileIface) GetCopyAsync() func(File, File, FileCopyFlags, int, *Cancellable, *FileProgressCallback, uintptr, *AsyncReadyCallback, uintptr) { | |
| 2128 | + | if x.xCopyAsync == 0 { | |
| 2129 | + | return nil | |
| 2130 | + | } | |
| 2131 | + | var rawCallback func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2132 | + | purego.RegisterFunc(&rawCallback, x.xCopyAsync) | |
| 2133 | + | return func(SourceVar File, DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2134 | + | rawCallback(SourceVar.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2135 | + | } | |
| 2136 | + | } | |
| 2137 | + | ||
| 2138 | + | // OverrideCopyFinish sets the "copy_finish" callback function. | |
| 2139 | + | // Finishes an asynchronous copy operation. | |
| 2140 | + | func (x *FileIface) OverrideCopyFinish(cb func(File, AsyncResult) bool) { | |
| 2141 | + | if cb == nil { | |
| 2142 | + | x.xCopyFinish = 0 | |
| 2143 | + | } else { | |
| 2144 | + | x.xCopyFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) bool { | |
| 2145 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 2146 | + | }) | |
| 2147 | + | } | |
| 2148 | + | } | |
| 2149 | + | ||
| 2150 | + | // GetCopyFinish gets the "copy_finish" callback function. | |
| 2151 | + | // Finishes an asynchronous copy operation. | |
| 2152 | + | func (x *FileIface) GetCopyFinish() func(File, AsyncResult) bool { | |
| 2153 | + | if x.xCopyFinish == 0 { | |
| 2154 | + | return nil | |
| 2155 | + | } | |
| 2156 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) bool | |
| 2157 | + | purego.RegisterFunc(&rawCallback, x.xCopyFinish) | |
| 2158 | + | return func(FileVar File, ResVar AsyncResult) bool { | |
| 2159 | + | return rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 2160 | + | } | |
| 2161 | + | } | |
| 2162 | + | ||
| 2163 | + | // OverrideMove sets the "move" callback function. | |
| 2164 | + | // Moves a file. | |
| 2165 | + | func (x *FileIface) OverrideMove(cb func(File, File, FileCopyFlags, *Cancellable, *FileProgressCallback, uintptr) bool) { | |
| 2166 | + | if cb == nil { | |
| 2167 | + | x.xMove = 0 | |
| 2168 | + | } else { | |
| 2169 | + | x.xMove = purego.NewCallback(func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr) bool { | |
| 2170 | + | return cb(&FileBase{Ptr: SourceVarp}, &FileBase{Ptr: DestinationVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressCallbackDataVarp) | |
| 2171 | + | }) | |
| 2172 | + | } | |
| 2173 | + | } | |
| 2174 | + | ||
| 2175 | + | // GetMove gets the "move" callback function. | |
| 2176 | + | // Moves a file. | |
| 2177 | + | func (x *FileIface) GetMove() func(File, File, FileCopyFlags, *Cancellable, *FileProgressCallback, uintptr) bool { | |
| 2178 | + | if x.xMove == 0 { | |
| 2179 | + | return nil | |
| 2180 | + | } | |
| 2181 | + | var rawCallback func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr) bool | |
| 2182 | + | purego.RegisterFunc(&rawCallback, x.xMove) | |
| 2183 | + | return func(SourceVar File, DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) bool { | |
| 2184 | + | return rawCallback(SourceVar.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar) | |
| 2185 | + | } | |
| 2186 | + | } | |
| 2187 | + | ||
| 2188 | + | // OverrideMoveAsync sets the "move_async" callback function. | |
| 2189 | + | // Asynchronously moves a file. Since: 2.72 | |
| 2190 | + | func (x *FileIface) OverrideMoveAsync(cb func(File, File, FileCopyFlags, int, *Cancellable, *FileProgressCallback, uintptr, *AsyncReadyCallback, uintptr)) { | |
| 2191 | + | if cb == nil { | |
| 2192 | + | x.xMoveAsync = 0 | |
| 2193 | + | } else { | |
| 2194 | + | x.xMoveAsync = purego.NewCallback(func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2195 | + | cb(&FileBase{Ptr: SourceVarp}, &FileBase{Ptr: DestinationVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressCallbackDataVarp, (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2196 | + | }) | |
| 2197 | + | } | |
| 2198 | + | } | |
| 2199 | + | ||
| 2200 | + | // GetMoveAsync gets the "move_async" callback function. | |
| 2201 | + | // Asynchronously moves a file. Since: 2.72 | |
| 2202 | + | func (x *FileIface) GetMoveAsync() func(File, File, FileCopyFlags, int, *Cancellable, *FileProgressCallback, uintptr, *AsyncReadyCallback, uintptr) { | |
| 2203 | + | if x.xMoveAsync == 0 { | |
| 2204 | + | return nil | |
| 2205 | + | } | |
| 2206 | + | var rawCallback func(SourceVarp uintptr, DestinationVarp uintptr, FlagsVarp FileCopyFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressCallbackDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2207 | + | purego.RegisterFunc(&rawCallback, x.xMoveAsync) | |
| 2208 | + | return func(SourceVar File, DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2209 | + | rawCallback(SourceVar.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2210 | + | } | |
| 2211 | + | } | |
| 2212 | + | ||
| 2213 | + | // OverrideMoveFinish sets the "move_finish" callback function. | |
| 2214 | + | // Finishes an asynchronous move operation. Since: 2.72 | |
| 2215 | + | func (x *FileIface) OverrideMoveFinish(cb func(File, AsyncResult) bool) { | |
| 2216 | + | if cb == nil { | |
| 2217 | + | x.xMoveFinish = 0 | |
| 2218 | + | } else { | |
| 2219 | + | x.xMoveFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 2220 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2221 | + | }) | |
| 2222 | + | } | |
| 2223 | + | } | |
| 2224 | + | ||
| 2225 | + | // GetMoveFinish gets the "move_finish" callback function. | |
| 2226 | + | // Finishes an asynchronous move operation. Since: 2.72 | |
| 2227 | + | func (x *FileIface) GetMoveFinish() func(File, AsyncResult) bool { | |
| 2228 | + | if x.xMoveFinish == 0 { | |
| 2229 | + | return nil | |
| 2230 | + | } | |
| 2231 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 2232 | + | purego.RegisterFunc(&rawCallback, x.xMoveFinish) | |
| 2233 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2234 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 2235 | + | } | |
| 2236 | + | } | |
| 2237 | + | ||
| 2238 | + | // OverrideMountMountable sets the "mount_mountable" callback function. | |
| 2239 | + | // Mounts a mountable object. | |
| 2240 | + | func (x *FileIface) OverrideMountMountable(cb func(File, MountMountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2241 | + | if cb == nil { | |
| 2242 | + | x.xMountMountable = 0 | |
| 2243 | + | } else { | |
| 2244 | + | x.xMountMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2245 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, MountOperationNewFromInternalPtr(MountOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2246 | + | }) | |
| 2247 | + | } | |
| 2248 | + | } | |
| 2249 | + | ||
| 2250 | + | // GetMountMountable gets the "mount_mountable" callback function. | |
| 2251 | + | // Mounts a mountable object. | |
| 2252 | + | func (x *FileIface) GetMountMountable() func(File, MountMountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2253 | + | if x.xMountMountable == 0 { | |
| 2254 | + | return nil | |
| 2255 | + | } | |
| 2256 | + | var rawCallback func(FileVarp uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2257 | + | purego.RegisterFunc(&rawCallback, x.xMountMountable) | |
| 2258 | + | return func(FileVar File, FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2259 | + | rawCallback(FileVar.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2260 | + | } | |
| 2261 | + | } | |
| 2262 | + | ||
| 2263 | + | // OverrideMountMountableFinish sets the "mount_mountable_finish" callback function. | |
| 2264 | + | // Finishes a mounting operation. | |
| 2265 | + | func (x *FileIface) OverrideMountMountableFinish(cb func(File, AsyncResult) *FileBase) { | |
| 2266 | + | if cb == nil { | |
| 2267 | + | x.xMountMountableFinish = 0 | |
| 2268 | + | } else { | |
| 2269 | + | x.xMountMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) uintptr { | |
| 2270 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2271 | + | if ret == nil { | |
| 2272 | + | return 0 | |
| 2273 | + | } | |
| 2274 | + | return ret.GoPointer() | |
| 2275 | + | }) | |
| 2276 | + | } | |
| 2277 | + | } | |
| 2278 | + | ||
| 2279 | + | // GetMountMountableFinish gets the "mount_mountable_finish" callback function. | |
| 2280 | + | // Finishes a mounting operation. | |
| 2281 | + | func (x *FileIface) GetMountMountableFinish() func(File, AsyncResult) *FileBase { | |
| 2282 | + | if x.xMountMountableFinish == 0 { | |
| 2283 | + | return nil | |
| 2284 | + | } | |
| 2285 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) uintptr | |
| 2286 | + | purego.RegisterFunc(&rawCallback, x.xMountMountableFinish) | |
| 2287 | + | return func(FileVar File, ResultVar AsyncResult) *FileBase { | |
| 2288 | + | rawRet := rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 2289 | + | if rawRet == 0 { | |
| 2290 | + | return nil | |
| 2291 | + | } | |
| 2292 | + | ret := &FileBase{} | |
| 2293 | + | ret.Ptr = rawRet | |
| 2294 | + | return ret | |
| 2295 | + | } | |
| 2296 | + | } | |
| 2297 | + | ||
| 2298 | + | // OverrideUnmountMountable sets the "unmount_mountable" callback function. | |
| 2299 | + | // Unmounts a mountable object. | |
| 2300 | + | func (x *FileIface) OverrideUnmountMountable(cb func(File, MountUnmountFlags, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2301 | + | if cb == nil { | |
| 2302 | + | x.xUnmountMountable = 0 | |
| 2303 | + | } else { | |
| 2304 | + | x.xUnmountMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2305 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2306 | + | }) | |
| 2307 | + | } | |
| 2308 | + | } | |
| 2309 | + | ||
| 2310 | + | // GetUnmountMountable gets the "unmount_mountable" callback function. | |
| 2311 | + | // Unmounts a mountable object. | |
| 2312 | + | func (x *FileIface) GetUnmountMountable() func(File, MountUnmountFlags, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2313 | + | if x.xUnmountMountable == 0 { | |
| 2314 | + | return nil | |
| 2315 | + | } | |
| 2316 | + | var rawCallback func(FileVarp uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2317 | + | purego.RegisterFunc(&rawCallback, x.xUnmountMountable) | |
| 2318 | + | return func(FileVar File, FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2319 | + | rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2320 | + | } | |
| 2321 | + | } | |
| 2322 | + | ||
| 2323 | + | // OverrideUnmountMountableFinish sets the "unmount_mountable_finish" callback function. | |
| 2324 | + | // Finishes an unmount operation. | |
| 2325 | + | func (x *FileIface) OverrideUnmountMountableFinish(cb func(File, AsyncResult) bool) { | |
| 2326 | + | if cb == nil { | |
| 2327 | + | x.xUnmountMountableFinish = 0 | |
| 2328 | + | } else { | |
| 2329 | + | x.xUnmountMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 2330 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2331 | + | }) | |
| 2332 | + | } | |
| 2333 | + | } | |
| 2334 | + | ||
| 2335 | + | // GetUnmountMountableFinish gets the "unmount_mountable_finish" callback function. | |
| 2336 | + | // Finishes an unmount operation. | |
| 2337 | + | func (x *FileIface) GetUnmountMountableFinish() func(File, AsyncResult) bool { | |
| 2338 | + | if x.xUnmountMountableFinish == 0 { | |
| 2339 | + | return nil | |
| 2340 | + | } | |
| 2341 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 2342 | + | purego.RegisterFunc(&rawCallback, x.xUnmountMountableFinish) | |
| 2343 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2344 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 2345 | + | } | |
| 2346 | + | } | |
| 2347 | + | ||
| 2348 | + | // OverrideEjectMountable sets the "eject_mountable" callback function. | |
| 2349 | + | // Ejects a mountable. | |
| 2350 | + | func (x *FileIface) OverrideEjectMountable(cb func(File, MountUnmountFlags, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2351 | + | if cb == nil { | |
| 2352 | + | x.xEjectMountable = 0 | |
| 2353 | + | } else { | |
| 2354 | + | x.xEjectMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2355 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2356 | + | }) | |
| 2357 | + | } | |
| 2358 | + | } | |
| 2359 | + | ||
| 2360 | + | // GetEjectMountable gets the "eject_mountable" callback function. | |
| 2361 | + | // Ejects a mountable. | |
| 2362 | + | func (x *FileIface) GetEjectMountable() func(File, MountUnmountFlags, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2363 | + | if x.xEjectMountable == 0 { | |
| 2364 | + | return nil | |
| 2365 | + | } | |
| 2366 | + | var rawCallback func(FileVarp uintptr, FlagsVarp MountUnmountFlags, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2367 | + | purego.RegisterFunc(&rawCallback, x.xEjectMountable) | |
| 2368 | + | return func(FileVar File, FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2369 | + | rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2370 | + | } | |
| 2371 | + | } | |
| 2372 | + | ||
| 2373 | + | // OverrideEjectMountableFinish sets the "eject_mountable_finish" callback function. | |
| 2374 | + | // Finishes an eject operation. | |
| 2375 | + | func (x *FileIface) OverrideEjectMountableFinish(cb func(File, AsyncResult) bool) { | |
| 2376 | + | if cb == nil { | |
| 2377 | + | x.xEjectMountableFinish = 0 | |
| 2378 | + | } else { | |
| 2379 | + | x.xEjectMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 2380 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2381 | + | }) | |
| 2382 | + | } | |
| 2383 | + | } | |
| 2384 | + | ||
| 2385 | + | // GetEjectMountableFinish gets the "eject_mountable_finish" callback function. | |
| 2386 | + | // Finishes an eject operation. | |
| 2387 | + | func (x *FileIface) GetEjectMountableFinish() func(File, AsyncResult) bool { | |
| 2388 | + | if x.xEjectMountableFinish == 0 { | |
| 2389 | + | return nil | |
| 2390 | + | } | |
| 2391 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 2392 | + | purego.RegisterFunc(&rawCallback, x.xEjectMountableFinish) | |
| 2393 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2394 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 2395 | + | } | |
| 2396 | + | } | |
| 2397 | + | ||
| 2398 | + | // OverrideMountEnclosingVolume sets the "mount_enclosing_volume" callback function. | |
| 2399 | + | // Mounts a specified location. | |
| 2400 | + | func (x *FileIface) OverrideMountEnclosingVolume(cb func(File, MountMountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2401 | + | if cb == nil { | |
| 2402 | + | x.xMountEnclosingVolume = 0 | |
| 2403 | + | } else { | |
| 2404 | + | x.xMountEnclosingVolume = purego.NewCallback(func(LocationVarp uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2405 | + | cb(&FileBase{Ptr: LocationVarp}, FlagsVarp, MountOperationNewFromInternalPtr(MountOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2406 | + | }) | |
| 2407 | + | } | |
| 2408 | + | } | |
| 2409 | + | ||
| 2410 | + | // GetMountEnclosingVolume gets the "mount_enclosing_volume" callback function. | |
| 2411 | + | // Mounts a specified location. | |
| 2412 | + | func (x *FileIface) GetMountEnclosingVolume() func(File, MountMountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2413 | + | if x.xMountEnclosingVolume == 0 { | |
| 2414 | + | return nil | |
| 2415 | + | } | |
| 2416 | + | var rawCallback func(LocationVarp uintptr, FlagsVarp MountMountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2417 | + | purego.RegisterFunc(&rawCallback, x.xMountEnclosingVolume) | |
| 2418 | + | return func(LocationVar File, FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2419 | + | rawCallback(LocationVar.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2420 | + | } | |
| 2421 | + | } | |
| 2422 | + | ||
| 2423 | + | // OverrideMountEnclosingVolumeFinish sets the "mount_enclosing_volume_finish" callback function. | |
| 2424 | + | // Finishes mounting a specified location. | |
| 2425 | + | func (x *FileIface) OverrideMountEnclosingVolumeFinish(cb func(File, AsyncResult) bool) { | |
| 2426 | + | if cb == nil { | |
| 2427 | + | x.xMountEnclosingVolumeFinish = 0 | |
| 2428 | + | } else { | |
| 2429 | + | x.xMountEnclosingVolumeFinish = purego.NewCallback(func(LocationVarp uintptr, ResultVarp uintptr) bool { | |
| 2430 | + | return cb(&FileBase{Ptr: LocationVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2431 | + | }) | |
| 2432 | + | } | |
| 2433 | + | } | |
| 2434 | + | ||
| 2435 | + | // GetMountEnclosingVolumeFinish gets the "mount_enclosing_volume_finish" callback function. | |
| 2436 | + | // Finishes mounting a specified location. | |
| 2437 | + | func (x *FileIface) GetMountEnclosingVolumeFinish() func(File, AsyncResult) bool { | |
| 2438 | + | if x.xMountEnclosingVolumeFinish == 0 { | |
| 2439 | + | return nil | |
| 2440 | + | } | |
| 2441 | + | var rawCallback func(LocationVarp uintptr, ResultVarp uintptr) bool | |
| 2442 | + | purego.RegisterFunc(&rawCallback, x.xMountEnclosingVolumeFinish) | |
| 2443 | + | return func(LocationVar File, ResultVar AsyncResult) bool { | |
| 2444 | + | return rawCallback(LocationVar.GoPointer(), ResultVar.GoPointer()) | |
| 2445 | + | } | |
| 2446 | + | } | |
| 2447 | + | ||
| 2448 | + | // OverrideMonitorDir sets the "monitor_dir" callback function. | |
| 2449 | + | // Creates a #GFileMonitor for the location. | |
| 2450 | + | func (x *FileIface) OverrideMonitorDir(cb func(File, FileMonitorFlags, *Cancellable) *FileMonitor) { | |
| 2451 | + | if cb == nil { | |
| 2452 | + | x.xMonitorDir = 0 | |
| 2453 | + | } else { | |
| 2454 | + | x.xMonitorDir = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr) uintptr { | |
| 2455 | + | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2456 | + | if ret == nil { | |
| 2457 | + | return 0 | |
| 2458 | + | } | |
| 2459 | + | return ret.GoPointer() | |
| 2460 | + | }) | |
| 2461 | + | } | |
| 2462 | + | } | |
| 2463 | + | ||
| 2464 | + | // GetMonitorDir gets the "monitor_dir" callback function. | |
| 2465 | + | // Creates a #GFileMonitor for the location. | |
| 2466 | + | func (x *FileIface) GetMonitorDir() func(File, FileMonitorFlags, *Cancellable) *FileMonitor { | |
| 2467 | + | if x.xMonitorDir == 0 { | |
| 2468 | + | return nil | |
| 2469 | + | } | |
| 2470 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr) uintptr | |
| 2471 | + | purego.RegisterFunc(&rawCallback, x.xMonitorDir) | |
| 2472 | + | return func(FileVar File, FlagsVar FileMonitorFlags, CancellableVar *Cancellable) *FileMonitor { | |
| 2473 | + | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer()) | |
| 2474 | + | if rawRet == 0 { | |
| 2475 | + | return nil | |
| 2476 | + | } | |
| 2477 | + | ret := &FileMonitor{} | |
| 2478 | + | ret.Ptr = rawRet | |
| 2479 | + | return ret | |
| 2480 | + | } | |
| 2481 | + | } | |
| 2482 | + | ||
| 2483 | + | // OverrideMonitorFile sets the "monitor_file" callback function. | |
| 2484 | + | // Creates a #GFileMonitor for the location. | |
| 2485 | + | func (x *FileIface) OverrideMonitorFile(cb func(File, FileMonitorFlags, *Cancellable) *FileMonitor) { | |
| 2486 | + | if cb == nil { | |
| 2487 | + | x.xMonitorFile = 0 | |
| 2488 | + | } else { | |
| 2489 | + | x.xMonitorFile = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr) uintptr { | |
| 2490 | + | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2491 | + | if ret == nil { | |
| 2492 | + | return 0 | |
| 2493 | + | } | |
| 2494 | + | return ret.GoPointer() | |
| 2495 | + | }) | |
| 2496 | + | } | |
| 2497 | + | } | |
| 2498 | + | ||
| 2499 | + | // GetMonitorFile gets the "monitor_file" callback function. | |
| 2500 | + | // Creates a #GFileMonitor for the location. | |
| 2501 | + | func (x *FileIface) GetMonitorFile() func(File, FileMonitorFlags, *Cancellable) *FileMonitor { | |
| 2502 | + | if x.xMonitorFile == 0 { | |
| 2503 | + | return nil | |
| 2504 | + | } | |
| 2505 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileMonitorFlags, CancellableVarp uintptr) uintptr | |
| 2506 | + | purego.RegisterFunc(&rawCallback, x.xMonitorFile) | |
| 2507 | + | return func(FileVar File, FlagsVar FileMonitorFlags, CancellableVar *Cancellable) *FileMonitor { | |
| 2508 | + | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer()) | |
| 2509 | + | if rawRet == 0 { | |
| 2510 | + | return nil | |
| 2511 | + | } | |
| 2512 | + | ret := &FileMonitor{} | |
| 2513 | + | ret.Ptr = rawRet | |
| 2514 | + | return ret | |
| 2515 | + | } | |
| 2516 | + | } | |
| 2517 | + | ||
| 2518 | + | // OverrideOpenReadwrite sets the "open_readwrite" callback function. | |
| 2519 | + | // Open file read/write. Since 2.22. | |
| 2520 | + | func (x *FileIface) OverrideOpenReadwrite(cb func(File, *Cancellable) *FileIOStream) { | |
| 2521 | + | if cb == nil { | |
| 2522 | + | x.xOpenReadwrite = 0 | |
| 2523 | + | } else { | |
| 2524 | + | x.xOpenReadwrite = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) uintptr { | |
| 2525 | + | ret := cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2526 | + | if ret == nil { | |
| 2527 | + | return 0 | |
| 2528 | + | } | |
| 2529 | + | return ret.GoPointer() | |
| 2530 | + | }) | |
| 2531 | + | } | |
| 2532 | + | } | |
| 2533 | + | ||
| 2534 | + | // GetOpenReadwrite gets the "open_readwrite" callback function. | |
| 2535 | + | // Open file read/write. Since 2.22. | |
| 2536 | + | func (x *FileIface) GetOpenReadwrite() func(File, *Cancellable) *FileIOStream { | |
| 2537 | + | if x.xOpenReadwrite == 0 { | |
| 2538 | + | return nil | |
| 2539 | + | } | |
| 2540 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) uintptr | |
| 2541 | + | purego.RegisterFunc(&rawCallback, x.xOpenReadwrite) | |
| 2542 | + | return func(FileVar File, CancellableVar *Cancellable) *FileIOStream { | |
| 2543 | + | rawRet := rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 2544 | + | if rawRet == 0 { | |
| 2545 | + | return nil | |
| 2546 | + | } | |
| 2547 | + | ret := &FileIOStream{} | |
| 2548 | + | ret.Ptr = rawRet | |
| 2549 | + | return ret | |
| 2550 | + | } | |
| 2551 | + | } | |
| 2552 | + | ||
| 2553 | + | // OverrideOpenReadwriteAsync sets the "open_readwrite_async" callback function. | |
| 2554 | + | // Asynchronously opens file read/write. Since 2.22. | |
| 2555 | + | func (x *FileIface) OverrideOpenReadwriteAsync(cb func(File, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2556 | + | if cb == nil { | |
| 2557 | + | x.xOpenReadwriteAsync = 0 | |
| 2558 | + | } else { | |
| 2559 | + | x.xOpenReadwriteAsync = purego.NewCallback(func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2560 | + | cb(&FileBase{Ptr: FileVarp}, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2561 | + | }) | |
| 2562 | + | } | |
| 2563 | + | } | |
| 2564 | + | ||
| 2565 | + | // GetOpenReadwriteAsync gets the "open_readwrite_async" callback function. | |
| 2566 | + | // Asynchronously opens file read/write. Since 2.22. | |
| 2567 | + | func (x *FileIface) GetOpenReadwriteAsync() func(File, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2568 | + | if x.xOpenReadwriteAsync == 0 { | |
| 2569 | + | return nil | |
| 2570 | + | } | |
| 2571 | + | var rawCallback func(FileVarp uintptr, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2572 | + | purego.RegisterFunc(&rawCallback, x.xOpenReadwriteAsync) | |
| 2573 | + | return func(FileVar File, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2574 | + | rawCallback(FileVar.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2575 | + | } | |
| 2576 | + | } | |
| 2577 | + | ||
| 2578 | + | // OverrideOpenReadwriteFinish sets the "open_readwrite_finish" callback function. | |
| 2579 | + | // Finishes an asynchronous open read/write. Since 2.22. | |
| 2580 | + | func (x *FileIface) OverrideOpenReadwriteFinish(cb func(File, AsyncResult) *FileIOStream) { | |
| 2581 | + | if cb == nil { | |
| 2582 | + | x.xOpenReadwriteFinish = 0 | |
| 2583 | + | } else { | |
| 2584 | + | x.xOpenReadwriteFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 2585 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 2586 | + | if ret == nil { | |
| 2587 | + | return 0 | |
| 2588 | + | } | |
| 2589 | + | return ret.GoPointer() | |
| 2590 | + | }) | |
| 2591 | + | } | |
| 2592 | + | } | |
| 2593 | + | ||
| 2594 | + | // GetOpenReadwriteFinish gets the "open_readwrite_finish" callback function. | |
| 2595 | + | // Finishes an asynchronous open read/write. Since 2.22. | |
| 2596 | + | func (x *FileIface) GetOpenReadwriteFinish() func(File, AsyncResult) *FileIOStream { | |
| 2597 | + | if x.xOpenReadwriteFinish == 0 { | |
| 2598 | + | return nil | |
| 2599 | + | } | |
| 2600 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 2601 | + | purego.RegisterFunc(&rawCallback, x.xOpenReadwriteFinish) | |
| 2602 | + | return func(FileVar File, ResVar AsyncResult) *FileIOStream { | |
| 2603 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 2604 | + | if rawRet == 0 { | |
| 2605 | + | return nil | |
| 2606 | + | } | |
| 2607 | + | ret := &FileIOStream{} | |
| 2608 | + | ret.Ptr = rawRet | |
| 2609 | + | return ret | |
| 2610 | + | } | |
| 2611 | + | } | |
| 2612 | + | ||
| 2613 | + | // OverrideCreateReadwrite sets the "create_readwrite" callback function. | |
| 2614 | + | // Creates file read/write. Since 2.22. | |
| 2615 | + | func (x *FileIface) OverrideCreateReadwrite(cb func(File, FileCreateFlags, *Cancellable) *FileIOStream) { | |
| 2616 | + | if cb == nil { | |
| 2617 | + | x.xCreateReadwrite = 0 | |
| 2618 | + | } else { | |
| 2619 | + | x.xCreateReadwrite = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr { | |
| 2620 | + | ret := cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2621 | + | if ret == nil { | |
| 2622 | + | return 0 | |
| 2623 | + | } | |
| 2624 | + | return ret.GoPointer() | |
| 2625 | + | }) | |
| 2626 | + | } | |
| 2627 | + | } | |
| 2628 | + | ||
| 2629 | + | // GetCreateReadwrite gets the "create_readwrite" callback function. | |
| 2630 | + | // Creates file read/write. Since 2.22. | |
| 2631 | + | func (x *FileIface) GetCreateReadwrite() func(File, FileCreateFlags, *Cancellable) *FileIOStream { | |
| 2632 | + | if x.xCreateReadwrite == 0 { | |
| 2633 | + | return nil | |
| 2634 | + | } | |
| 2635 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr | |
| 2636 | + | purego.RegisterFunc(&rawCallback, x.xCreateReadwrite) | |
| 2637 | + | return func(FileVar File, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileIOStream { | |
| 2638 | + | rawRet := rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer()) | |
| 2639 | + | if rawRet == 0 { | |
| 2640 | + | return nil | |
| 2641 | + | } | |
| 2642 | + | ret := &FileIOStream{} | |
| 2643 | + | ret.Ptr = rawRet | |
| 2644 | + | return ret | |
| 2645 | + | } | |
| 2646 | + | } | |
| 2647 | + | ||
| 2648 | + | // OverrideCreateReadwriteAsync sets the "create_readwrite_async" callback function. | |
| 2649 | + | // Asynchronously creates file read/write. Since 2.22. | |
| 2650 | + | func (x *FileIface) OverrideCreateReadwriteAsync(cb func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2651 | + | if cb == nil { | |
| 2652 | + | x.xCreateReadwriteAsync = 0 | |
| 2653 | + | } else { | |
| 2654 | + | x.xCreateReadwriteAsync = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2655 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2656 | + | }) | |
| 2657 | + | } | |
| 2658 | + | } | |
| 2659 | + | ||
| 2660 | + | // GetCreateReadwriteAsync gets the "create_readwrite_async" callback function. | |
| 2661 | + | // Asynchronously creates file read/write. Since 2.22. | |
| 2662 | + | func (x *FileIface) GetCreateReadwriteAsync() func(File, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2663 | + | if x.xCreateReadwriteAsync == 0 { | |
| 2664 | + | return nil | |
| 2665 | + | } | |
| 2666 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2667 | + | purego.RegisterFunc(&rawCallback, x.xCreateReadwriteAsync) | |
| 2668 | + | return func(FileVar File, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2669 | + | rawCallback(FileVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2670 | + | } | |
| 2671 | + | } | |
| 2672 | + | ||
| 2673 | + | // OverrideCreateReadwriteFinish sets the "create_readwrite_finish" callback function. | |
| 2674 | + | // Finishes an asynchronous creates read/write. Since 2.22. | |
| 2675 | + | func (x *FileIface) OverrideCreateReadwriteFinish(cb func(File, AsyncResult) *FileIOStream) { | |
| 2676 | + | if cb == nil { | |
| 2677 | + | x.xCreateReadwriteFinish = 0 | |
| 2678 | + | } else { | |
| 2679 | + | x.xCreateReadwriteFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 2680 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 2681 | + | if ret == nil { | |
| 2682 | + | return 0 | |
| 2683 | + | } | |
| 2684 | + | return ret.GoPointer() | |
| 2685 | + | }) | |
| 2686 | + | } | |
| 2687 | + | } | |
| 2688 | + | ||
| 2689 | + | // GetCreateReadwriteFinish gets the "create_readwrite_finish" callback function. | |
| 2690 | + | // Finishes an asynchronous creates read/write. Since 2.22. | |
| 2691 | + | func (x *FileIface) GetCreateReadwriteFinish() func(File, AsyncResult) *FileIOStream { | |
| 2692 | + | if x.xCreateReadwriteFinish == 0 { | |
| 2693 | + | return nil | |
| 2694 | + | } | |
| 2695 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 2696 | + | purego.RegisterFunc(&rawCallback, x.xCreateReadwriteFinish) | |
| 2697 | + | return func(FileVar File, ResVar AsyncResult) *FileIOStream { | |
| 2698 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 2699 | + | if rawRet == 0 { | |
| 2700 | + | return nil | |
| 2701 | + | } | |
| 2702 | + | ret := &FileIOStream{} | |
| 2703 | + | ret.Ptr = rawRet | |
| 2704 | + | return ret | |
| 2705 | + | } | |
| 2706 | + | } | |
| 2707 | + | ||
| 2708 | + | // OverrideReplaceReadwrite sets the "replace_readwrite" callback function. | |
| 2709 | + | // Replaces file read/write. Since 2.22. | |
| 2710 | + | func (x *FileIface) OverrideReplaceReadwrite(cb func(File, string, bool, FileCreateFlags, *Cancellable) *FileIOStream) { | |
| 2711 | + | if cb == nil { | |
| 2712 | + | x.xReplaceReadwrite = 0 | |
| 2713 | + | } else { | |
| 2714 | + | x.xReplaceReadwrite = purego.NewCallback(func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr { | |
| 2715 | + | ret := cb(&FileBase{Ptr: FileVarp}, EtagVarp, MakeBackupVarp, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 2716 | + | if ret == nil { | |
| 2717 | + | return 0 | |
| 2718 | + | } | |
| 2719 | + | return ret.GoPointer() | |
| 2720 | + | }) | |
| 2721 | + | } | |
| 2722 | + | } | |
| 2723 | + | ||
| 2724 | + | // GetReplaceReadwrite gets the "replace_readwrite" callback function. | |
| 2725 | + | // Replaces file read/write. Since 2.22. | |
| 2726 | + | func (x *FileIface) GetReplaceReadwrite() func(File, string, bool, FileCreateFlags, *Cancellable) *FileIOStream { | |
| 2727 | + | if x.xReplaceReadwrite == 0 { | |
| 2728 | + | return nil | |
| 2729 | + | } | |
| 2730 | + | var rawCallback func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, CancellableVarp uintptr) uintptr | |
| 2731 | + | purego.RegisterFunc(&rawCallback, x.xReplaceReadwrite) | |
| 2732 | + | return func(FileVar File, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) *FileIOStream { | |
| 2733 | + | rawRet := rawCallback(FileVar.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, CancellableVar.GoPointer()) | |
| 2734 | + | if rawRet == 0 { | |
| 2735 | + | return nil | |
| 2736 | + | } | |
| 2737 | + | ret := &FileIOStream{} | |
| 2738 | + | ret.Ptr = rawRet | |
| 2739 | + | return ret | |
| 2740 | + | } | |
| 2741 | + | } | |
| 2742 | + | ||
| 2743 | + | // OverrideReplaceReadwriteAsync sets the "replace_readwrite_async" callback function. | |
| 2744 | + | // Asynchronously replaces file read/write. Since 2.22. | |
| 2745 | + | func (x *FileIface) OverrideReplaceReadwriteAsync(cb func(File, string, bool, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2746 | + | if cb == nil { | |
| 2747 | + | x.xReplaceReadwriteAsync = 0 | |
| 2748 | + | } else { | |
| 2749 | + | x.xReplaceReadwriteAsync = purego.NewCallback(func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2750 | + | cb(&FileBase{Ptr: FileVarp}, EtagVarp, MakeBackupVarp, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2751 | + | }) | |
| 2752 | + | } | |
| 2753 | + | } | |
| 2754 | + | ||
| 2755 | + | // GetReplaceReadwriteAsync gets the "replace_readwrite_async" callback function. | |
| 2756 | + | // Asynchronously replaces file read/write. Since 2.22. | |
| 2757 | + | func (x *FileIface) GetReplaceReadwriteAsync() func(File, string, bool, FileCreateFlags, int, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2758 | + | if x.xReplaceReadwriteAsync == 0 { | |
| 2759 | + | return nil | |
| 2760 | + | } | |
| 2761 | + | var rawCallback func(FileVarp uintptr, EtagVarp string, MakeBackupVarp bool, FlagsVarp FileCreateFlags, IoPriorityVarp int, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2762 | + | purego.RegisterFunc(&rawCallback, x.xReplaceReadwriteAsync) | |
| 2763 | + | return func(FileVar File, EtagVar string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2764 | + | rawCallback(FileVar.GoPointer(), EtagVar, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2765 | + | } | |
| 2766 | + | } | |
| 2767 | + | ||
| 2768 | + | // OverrideReplaceReadwriteFinish sets the "replace_readwrite_finish" callback function. | |
| 2769 | + | // Finishes an asynchronous replace read/write. Since 2.22. | |
| 2770 | + | func (x *FileIface) OverrideReplaceReadwriteFinish(cb func(File, AsyncResult) *FileIOStream) { | |
| 2771 | + | if cb == nil { | |
| 2772 | + | x.xReplaceReadwriteFinish = 0 | |
| 2773 | + | } else { | |
| 2774 | + | x.xReplaceReadwriteFinish = purego.NewCallback(func(FileVarp uintptr, ResVarp uintptr) uintptr { | |
| 2775 | + | ret := cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResVarp}) | |
| 2776 | + | if ret == nil { | |
| 2777 | + | return 0 | |
| 2778 | + | } | |
| 2779 | + | return ret.GoPointer() | |
| 2780 | + | }) | |
| 2781 | + | } | |
| 2782 | + | } | |
| 2783 | + | ||
| 2784 | + | // GetReplaceReadwriteFinish gets the "replace_readwrite_finish" callback function. | |
| 2785 | + | // Finishes an asynchronous replace read/write. Since 2.22. | |
| 2786 | + | func (x *FileIface) GetReplaceReadwriteFinish() func(File, AsyncResult) *FileIOStream { | |
| 2787 | + | if x.xReplaceReadwriteFinish == 0 { | |
| 2788 | + | return nil | |
| 2789 | + | } | |
| 2790 | + | var rawCallback func(FileVarp uintptr, ResVarp uintptr) uintptr | |
| 2791 | + | purego.RegisterFunc(&rawCallback, x.xReplaceReadwriteFinish) | |
| 2792 | + | return func(FileVar File, ResVar AsyncResult) *FileIOStream { | |
| 2793 | + | rawRet := rawCallback(FileVar.GoPointer(), ResVar.GoPointer()) | |
| 2794 | + | if rawRet == 0 { | |
| 2795 | + | return nil | |
| 2796 | + | } | |
| 2797 | + | ret := &FileIOStream{} | |
| 2798 | + | ret.Ptr = rawRet | |
| 2799 | + | return ret | |
| 2800 | + | } | |
| 2801 | + | } | |
| 2802 | + | ||
| 2803 | + | // OverrideStartMountable sets the "start_mountable" callback function. | |
| 2804 | + | // Starts a mountable object. Since 2.22. | |
| 2805 | + | func (x *FileIface) OverrideStartMountable(cb func(File, DriveStartFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2806 | + | if cb == nil { | |
| 2807 | + | x.xStartMountable = 0 | |
| 2808 | + | } else { | |
| 2809 | + | x.xStartMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp DriveStartFlags, StartOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2810 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, MountOperationNewFromInternalPtr(StartOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2811 | + | }) | |
| 2812 | + | } | |
| 2813 | + | } | |
| 2814 | + | ||
| 2815 | + | // GetStartMountable gets the "start_mountable" callback function. | |
| 2816 | + | // Starts a mountable object. Since 2.22. | |
| 2817 | + | func (x *FileIface) GetStartMountable() func(File, DriveStartFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2818 | + | if x.xStartMountable == 0 { | |
| 2819 | + | return nil | |
| 2820 | + | } | |
| 2821 | + | var rawCallback func(FileVarp uintptr, FlagsVarp DriveStartFlags, StartOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2822 | + | purego.RegisterFunc(&rawCallback, x.xStartMountable) | |
| 2823 | + | return func(FileVar File, FlagsVar DriveStartFlags, StartOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2824 | + | rawCallback(FileVar.GoPointer(), FlagsVar, StartOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2825 | + | } | |
| 2826 | + | } | |
| 2827 | + | ||
| 2828 | + | // OverrideStartMountableFinish sets the "start_mountable_finish" callback function. | |
| 2829 | + | // Finishes a start operation. Since 2.22. | |
| 2830 | + | func (x *FileIface) OverrideStartMountableFinish(cb func(File, AsyncResult) bool) { | |
| 2831 | + | if cb == nil { | |
| 2832 | + | x.xStartMountableFinish = 0 | |
| 2833 | + | } else { | |
| 2834 | + | x.xStartMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 2835 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2836 | + | }) | |
| 2837 | + | } | |
| 2838 | + | } | |
| 2839 | + | ||
| 2840 | + | // GetStartMountableFinish gets the "start_mountable_finish" callback function. | |
| 2841 | + | // Finishes a start operation. Since 2.22. | |
| 2842 | + | func (x *FileIface) GetStartMountableFinish() func(File, AsyncResult) bool { | |
| 2843 | + | if x.xStartMountableFinish == 0 { | |
| 2844 | + | return nil | |
| 2845 | + | } | |
| 2846 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 2847 | + | purego.RegisterFunc(&rawCallback, x.xStartMountableFinish) | |
| 2848 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2849 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 2850 | + | } | |
| 2851 | + | } | |
| 2852 | + | ||
| 2853 | + | // OverrideStopMountable sets the "stop_mountable" callback function. | |
| 2854 | + | // Stops a mountable. Since 2.22. | |
| 2855 | + | func (x *FileIface) OverrideStopMountable(cb func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2856 | + | if cb == nil { | |
| 2857 | + | x.xStopMountable = 0 | |
| 2858 | + | } else { | |
| 2859 | + | x.xStopMountable = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2860 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, MountOperationNewFromInternalPtr(MountOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2861 | + | }) | |
| 2862 | + | } | |
| 2863 | + | } | |
| 2864 | + | ||
| 2865 | + | // GetStopMountable gets the "stop_mountable" callback function. | |
| 2866 | + | // Stops a mountable. Since 2.22. | |
| 2867 | + | func (x *FileIface) GetStopMountable() func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2868 | + | if x.xStopMountable == 0 { | |
| 2869 | + | return nil | |
| 2870 | + | } | |
| 2871 | + | var rawCallback func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2872 | + | purego.RegisterFunc(&rawCallback, x.xStopMountable) | |
| 2873 | + | return func(FileVar File, FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2874 | + | rawCallback(FileVar.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2875 | + | } | |
| 2876 | + | } | |
| 2877 | + | ||
| 2878 | + | // OverrideStopMountableFinish sets the "stop_mountable_finish" callback function. | |
| 2879 | + | // Finishes a stop operation. Since 2.22. | |
| 2880 | + | func (x *FileIface) OverrideStopMountableFinish(cb func(File, AsyncResult) bool) { | |
| 2881 | + | if cb == nil { | |
| 2882 | + | x.xStopMountableFinish = 0 | |
| 2883 | + | } else { | |
| 2884 | + | x.xStopMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 2885 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2886 | + | }) | |
| 2887 | + | } | |
| 2888 | + | } | |
| 2889 | + | ||
| 2890 | + | // GetStopMountableFinish gets the "stop_mountable_finish" callback function. | |
| 2891 | + | // Finishes a stop operation. Since 2.22. | |
| 2892 | + | func (x *FileIface) GetStopMountableFinish() func(File, AsyncResult) bool { | |
| 2893 | + | if x.xStopMountableFinish == 0 { | |
| 2894 | + | return nil | |
| 2895 | + | } | |
| 2896 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 2897 | + | purego.RegisterFunc(&rawCallback, x.xStopMountableFinish) | |
| 2898 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2899 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 2900 | + | } | |
| 2901 | + | } | |
| 2902 | + | ||
| 2903 | + | // OverrideUnmountMountableWithOperation sets the "unmount_mountable_with_operation" callback function. | |
| 2904 | + | // Unmounts a mountable object using a #GMountOperation. Since 2.22. | |
| 2905 | + | func (x *FileIface) OverrideUnmountMountableWithOperation(cb func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2906 | + | if cb == nil { | |
| 2907 | + | x.xUnmountMountableWithOperation = 0 | |
| 2908 | + | } else { | |
| 2909 | + | x.xUnmountMountableWithOperation = purego.NewCallback(func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 2910 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, MountOperationNewFromInternalPtr(MountOperationVarp), CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 2911 | + | }) | |
| 2912 | + | } | |
| 2913 | + | } | |
| 2914 | + | ||
| 2915 | + | // GetUnmountMountableWithOperation gets the "unmount_mountable_with_operation" callback function. | |
| 2916 | + | // Unmounts a mountable object using a #GMountOperation. Since 2.22. | |
| 2917 | + | func (x *FileIface) GetUnmountMountableWithOperation() func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2918 | + | if x.xUnmountMountableWithOperation == 0 { | |
| 2919 | + | return nil | |
| 2920 | + | } | |
| 2921 | + | var rawCallback func(FileVarp uintptr, FlagsVarp MountUnmountFlags, MountOperationVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 2922 | + | purego.RegisterFunc(&rawCallback, x.xUnmountMountableWithOperation) | |
| 2923 | + | return func(FileVar File, FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 2924 | + | rawCallback(FileVar.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2925 | + | } | |
| 2926 | + | } | |
| 2927 | + | ||
| 2928 | + | // OverrideUnmountMountableWithOperationFinish sets the "unmount_mountable_with_operation_finish" callback function. | |
| 2929 | + | // Finishes an unmount operation using a #GMountOperation. Since 2.22. | |
| 2930 | + | func (x *FileIface) OverrideUnmountMountableWithOperationFinish(cb func(File, AsyncResult) bool) { | |
| 2931 | + | if cb == nil { | |
| 2932 | + | x.xUnmountMountableWithOperationFinish = 0 | |
| 2933 | + | } else { | |
| 2934 | + | x.xUnmountMountableWithOperationFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 2935 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2936 | + | }) | |
| 2937 | + | } | |
| 2938 | + | } | |
| 2939 | + | ||
| 2940 | + | // GetUnmountMountableWithOperationFinish gets the "unmount_mountable_with_operation_finish" callback function. | |
| 2941 | + | // Finishes an unmount operation using a #GMountOperation. Since 2.22. | |
| 2942 | + | func (x *FileIface) GetUnmountMountableWithOperationFinish() func(File, AsyncResult) bool { | |
| 2943 | + | if x.xUnmountMountableWithOperationFinish == 0 { | |
| 2944 | + | return nil | |
| 2945 | + | } | |
| 2946 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 2947 | + | purego.RegisterFunc(&rawCallback, x.xUnmountMountableWithOperationFinish) | |
| 2948 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2949 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 2950 | + | } | |
| 2951 | + | } | |
| 2952 | + | ||
| 2953 | + | // OverrideEjectMountableWithOperation sets the "eject_mountable_with_operation" callback function. | |
| 2954 | + | // Ejects a mountable object using a #GMountOperation. Since 2.22. | |
| 2955 | + | func (x *FileIface) OverrideEjectMountableWithOperation(cb func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 2956 | + | if cb == nil { | |
| 2957 | + | x.xEjectMountableWithOperation = 0 | |
| 2958 | + | } else { | |
| 2959 | + | x.xEjectMountableWithOperation = 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 | + | // GetEjectMountableWithOperation gets the "eject_mountable_with_operation" callback function. | |
| 2966 | + | // Ejects a mountable object using a #GMountOperation. Since 2.22. | |
| 2967 | + | func (x *FileIface) GetEjectMountableWithOperation() func(File, MountUnmountFlags, *MountOperation, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 2968 | + | if x.xEjectMountableWithOperation == 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.xEjectMountableWithOperation) | |
| 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 | + | // OverrideEjectMountableWithOperationFinish sets the "eject_mountable_with_operation_finish" callback function. | |
| 2979 | + | // Finishes an eject operation using a #GMountOperation. Since 2.22. | |
| 2980 | + | func (x *FileIface) OverrideEjectMountableWithOperationFinish(cb func(File, AsyncResult) bool) { | |
| 2981 | + | if cb == nil { | |
| 2982 | + | x.xEjectMountableWithOperationFinish = 0 | |
| 2983 | + | } else { | |
| 2984 | + | x.xEjectMountableWithOperationFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 2985 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 2986 | + | }) | |
| 2987 | + | } | |
| 2988 | + | } | |
| 2989 | + | ||
| 2990 | + | // GetEjectMountableWithOperationFinish gets the "eject_mountable_with_operation_finish" callback function. | |
| 2991 | + | // Finishes an eject operation using a #GMountOperation. Since 2.22. | |
| 2992 | + | func (x *FileIface) GetEjectMountableWithOperationFinish() func(File, AsyncResult) bool { | |
| 2993 | + | if x.xEjectMountableWithOperationFinish == 0 { | |
| 2994 | + | return nil | |
| 2995 | + | } | |
| 2996 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 2997 | + | purego.RegisterFunc(&rawCallback, x.xEjectMountableWithOperationFinish) | |
| 2998 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 2999 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 3000 | + | } | |
| 3001 | + | } | |
| 3002 | + | ||
| 3003 | + | // OverridePollMountable sets the "poll_mountable" callback function. | |
| 3004 | + | // Polls a mountable object for media changes. Since 2.22. | |
| 3005 | + | func (x *FileIface) OverridePollMountable(cb func(File, *Cancellable, *AsyncReadyCallback, uintptr)) { | |
| 3006 | + | if cb == nil { | |
| 3007 | + | x.xPollMountable = 0 | |
| 3008 | + | } else { | |
| 3009 | + | x.xPollMountable = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 3010 | + | cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp), (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 3011 | + | }) | |
| 3012 | + | } | |
| 3013 | + | } | |
| 3014 | + | ||
| 3015 | + | // GetPollMountable gets the "poll_mountable" callback function. | |
| 3016 | + | // Polls a mountable object for media changes. Since 2.22. | |
| 3017 | + | func (x *FileIface) GetPollMountable() func(File, *Cancellable, *AsyncReadyCallback, uintptr) { | |
| 3018 | + | if x.xPollMountable == 0 { | |
| 3019 | + | return nil | |
| 3020 | + | } | |
| 3021 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 3022 | + | purego.RegisterFunc(&rawCallback, x.xPollMountable) | |
| 3023 | + | return func(FileVar File, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3024 | + | rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3025 | + | } | |
| 3026 | + | } | |
| 3027 | + | ||
| 3028 | + | // OverridePollMountableFinish sets the "poll_mountable_finish" callback function. | |
| 3029 | + | // Finishes a poll operation for media changes. Since 2.22. | |
| 3030 | + | func (x *FileIface) OverridePollMountableFinish(cb func(File, AsyncResult) bool) { | |
| 3031 | + | if cb == nil { | |
| 3032 | + | x.xPollMountableFinish = 0 | |
| 3033 | + | } else { | |
| 3034 | + | x.xPollMountableFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr) bool { | |
| 3035 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}) | |
| 3036 | + | }) | |
| 3037 | + | } | |
| 3038 | + | } | |
| 3039 | + | ||
| 3040 | + | // GetPollMountableFinish gets the "poll_mountable_finish" callback function. | |
| 3041 | + | // Finishes a poll operation for media changes. Since 2.22. | |
| 3042 | + | func (x *FileIface) GetPollMountableFinish() func(File, AsyncResult) bool { | |
| 3043 | + | if x.xPollMountableFinish == 0 { | |
| 3044 | + | return nil | |
| 3045 | + | } | |
| 3046 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr) bool | |
| 3047 | + | purego.RegisterFunc(&rawCallback, x.xPollMountableFinish) | |
| 3048 | + | return func(FileVar File, ResultVar AsyncResult) bool { | |
| 3049 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer()) | |
| 3050 | + | } | |
| 3051 | + | } | |
| 3052 | + | ||
| 3053 | + | // OverrideMeasureDiskUsage sets the "measure_disk_usage" callback function. | |
| 3054 | + | // Recursively measures the disk usage of @file. Since 2.38 | |
| 3055 | + | func (x *FileIface) OverrideMeasureDiskUsage(cb func(File, FileMeasureFlags, *Cancellable, *FileMeasureProgressCallback, uintptr, *uint64, *uint64, *uint64) bool) { | |
| 3056 | + | if cb == nil { | |
| 3057 | + | x.xMeasureDiskUsage = 0 | |
| 3058 | + | } else { | |
| 3059 | + | x.xMeasureDiskUsage = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileMeasureFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64) bool { | |
| 3060 | + | return cb(&FileBase{Ptr: FileVarp}, FlagsVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileMeasureProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressDataVarp, DiskUsageVarp, NumDirsVarp, NumFilesVarp) | |
| 3061 | + | }) | |
| 3062 | + | } | |
| 3063 | + | } | |
| 3064 | + | ||
| 3065 | + | // GetMeasureDiskUsage gets the "measure_disk_usage" callback function. | |
| 3066 | + | // Recursively measures the disk usage of @file. Since 2.38 | |
| 3067 | + | func (x *FileIface) GetMeasureDiskUsage() func(File, FileMeasureFlags, *Cancellable, *FileMeasureProgressCallback, uintptr, *uint64, *uint64, *uint64) bool { | |
| 3068 | + | if x.xMeasureDiskUsage == 0 { | |
| 3069 | + | return nil | |
| 3070 | + | } | |
| 3071 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileMeasureFlags, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64) bool | |
| 3072 | + | purego.RegisterFunc(&rawCallback, x.xMeasureDiskUsage) | |
| 3073 | + | return func(FileVar File, FlagsVar FileMeasureFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) bool { | |
| 3074 | + | return rawCallback(FileVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, DiskUsageVar, NumDirsVar, NumFilesVar) | |
| 3075 | + | } | |
| 3076 | + | } | |
| 3077 | + | ||
| 3078 | + | // OverrideMeasureDiskUsageAsync sets the "measure_disk_usage_async" callback function. | |
| 3079 | + | // Asynchronously recursively measures the disk usage of @file. Since 2.38 | |
| 3080 | + | func (x *FileIface) OverrideMeasureDiskUsageAsync(cb func(File, FileMeasureFlags, int, *Cancellable, *FileMeasureProgressCallback, uintptr, *AsyncReadyCallback, uintptr)) { | |
| 3081 | + | if cb == nil { | |
| 3082 | + | x.xMeasureDiskUsageAsync = 0 | |
| 3083 | + | } else { | |
| 3084 | + | x.xMeasureDiskUsageAsync = purego.NewCallback(func(FileVarp uintptr, FlagsVarp FileMeasureFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) { | |
| 3085 | + | cb(&FileBase{Ptr: FileVarp}, FlagsVarp, IoPriorityVarp, CancellableNewFromInternalPtr(CancellableVarp), (*FileMeasureProgressCallback)(unsafe.Pointer(ProgressCallbackVarp)), ProgressDataVarp, (*AsyncReadyCallback)(unsafe.Pointer(CallbackVarp)), UserDataVarp) | |
| 3086 | + | }) | |
| 3087 | + | } | |
| 3088 | + | } | |
| 3089 | + | ||
| 3090 | + | // GetMeasureDiskUsageAsync gets the "measure_disk_usage_async" callback function. | |
| 3091 | + | // Asynchronously recursively measures the disk usage of @file. Since 2.38 | |
| 3092 | + | func (x *FileIface) GetMeasureDiskUsageAsync() func(File, FileMeasureFlags, int, *Cancellable, *FileMeasureProgressCallback, uintptr, *AsyncReadyCallback, uintptr) { | |
| 3093 | + | if x.xMeasureDiskUsageAsync == 0 { | |
| 3094 | + | return nil | |
| 3095 | + | } | |
| 3096 | + | var rawCallback func(FileVarp uintptr, FlagsVarp FileMeasureFlags, IoPriorityVarp int, CancellableVarp uintptr, ProgressCallbackVarp uintptr, ProgressDataVarp uintptr, CallbackVarp uintptr, UserDataVarp uintptr) | |
| 3097 | + | purego.RegisterFunc(&rawCallback, x.xMeasureDiskUsageAsync) | |
| 3098 | + | return func(FileVar File, FlagsVar FileMeasureFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3099 | + | rawCallback(FileVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3100 | + | } | |
| 3101 | + | } | |
| 3102 | + | ||
| 3103 | + | // OverrideMeasureDiskUsageFinish sets the "measure_disk_usage_finish" callback function. | |
| 3104 | + | // Finishes an asynchronous recursive measurement of the disk usage of @file. Since 2.38 | |
| 3105 | + | func (x *FileIface) OverrideMeasureDiskUsageFinish(cb func(File, AsyncResult, *uint64, *uint64, *uint64) bool) { | |
| 3106 | + | if cb == nil { | |
| 3107 | + | x.xMeasureDiskUsageFinish = 0 | |
| 3108 | + | } else { | |
| 3109 | + | x.xMeasureDiskUsageFinish = purego.NewCallback(func(FileVarp uintptr, ResultVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64) bool { | |
| 3110 | + | return cb(&FileBase{Ptr: FileVarp}, &AsyncResultBase{Ptr: ResultVarp}, DiskUsageVarp, NumDirsVarp, NumFilesVarp) | |
| 3111 | + | }) | |
| 3112 | + | } | |
| 3113 | + | } | |
| 3114 | + | ||
| 3115 | + | // GetMeasureDiskUsageFinish gets the "measure_disk_usage_finish" callback function. | |
| 3116 | + | // Finishes an asynchronous recursive measurement of the disk usage of @file. Since 2.38 | |
| 3117 | + | func (x *FileIface) GetMeasureDiskUsageFinish() func(File, AsyncResult, *uint64, *uint64, *uint64) bool { | |
| 3118 | + | if x.xMeasureDiskUsageFinish == 0 { | |
| 3119 | + | return nil | |
| 3120 | + | } | |
| 3121 | + | var rawCallback func(FileVarp uintptr, ResultVarp uintptr, DiskUsageVarp *uint64, NumDirsVarp *uint64, NumFilesVarp *uint64) bool | |
| 3122 | + | purego.RegisterFunc(&rawCallback, x.xMeasureDiskUsageFinish) | |
| 3123 | + | return func(FileVar File, ResultVar AsyncResult, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) bool { | |
| 3124 | + | return rawCallback(FileVar.GoPointer(), ResultVar.GoPointer(), DiskUsageVar, NumDirsVar, NumFilesVar) | |
| 3125 | + | } | |
| 3126 | + | } | |
| 3127 | + | ||
| 3128 | + | // OverrideQueryExists sets the "query_exists" callback function. | |
| 3129 | + | // Queries whether a file exists. Since 2.84 | |
| 3130 | + | func (x *FileIface) OverrideQueryExists(cb func(File, *Cancellable) bool) { | |
| 3131 | + | if cb == nil { | |
| 3132 | + | x.xQueryExists = 0 | |
| 3133 | + | } else { | |
| 3134 | + | x.xQueryExists = purego.NewCallback(func(FileVarp uintptr, CancellableVarp uintptr) bool { | |
| 3135 | + | return cb(&FileBase{Ptr: FileVarp}, CancellableNewFromInternalPtr(CancellableVarp)) | |
| 3136 | + | }) | |
| 3137 | + | } | |
| 3138 | + | } | |
| 3139 | + | ||
| 3140 | + | // GetQueryExists gets the "query_exists" callback function. | |
| 3141 | + | // Queries whether a file exists. Since 2.84 | |
| 3142 | + | func (x *FileIface) GetQueryExists() func(File, *Cancellable) bool { | |
| 3143 | + | if x.xQueryExists == 0 { | |
| 3144 | + | return nil | |
| 3145 | + | } | |
| 3146 | + | var rawCallback func(FileVarp uintptr, CancellableVarp uintptr) bool | |
| 3147 | + | purego.RegisterFunc(&rawCallback, x.xQueryExists) | |
| 3148 | + | return func(FileVar File, CancellableVar *Cancellable) bool { | |
| 3149 | + | return rawCallback(FileVar.GoPointer(), CancellableVar.GoPointer()) | |
| 3150 | + | } | |
| 3151 | + | } | |
| 3152 | + | ||
| 3153 | + | // `GFile` is a high level abstraction for manipulating files on a | |
| 3154 | + | // virtual file system. `GFile`s are lightweight, immutable objects | |
| 3155 | + | // that do no I/O upon creation. It is necessary to understand that | |
| 3156 | + | // `GFile` objects do not represent files, merely an identifier for a | |
| 3157 | + | // file. All file content I/O is implemented as streaming operations | |
| 3158 | + | // (see [class@Gio.InputStream] and [class@Gio.OutputStream]). | |
| 3159 | + | // | |
| 3160 | + | // To construct a `GFile`, you can use: | |
| 3161 | + | // | |
| 3162 | + | // - [func@Gio.File.new_for_path] if you have a path. | |
| 3163 | + | // - [func@Gio.File.new_for_uri] if you have a URI. | |
| 3164 | + | // - [func@Gio.File.new_for_commandline_arg] or | |
| 3165 | + | // [func@Gio.File.new_for_commandline_arg_and_cwd] for a command line | |
| 3166 | + | // argument. | |
| 3167 | + | // - [func@Gio.File.new_tmp] to create a temporary file from a template. | |
| 3168 | + | // - [func@Gio.File.new_tmp_async] to asynchronously create a temporary file. | |
| 3169 | + | // - [func@Gio.File.new_tmp_dir_async] to asynchronously create a temporary | |
| 3170 | + | // directory. | |
| 3171 | + | // - [func@Gio.File.parse_name] from a UTF-8 string gotten from | |
| 3172 | + | // [method@Gio.File.get_parse_name]. | |
| 3173 | + | // - [func@Gio.File.new_build_filename] or [func@Gio.File.new_build_filenamev] | |
| 3174 | + | // to create a file from path elements. | |
| 3175 | + | // | |
| 3176 | + | // One way to think of a `GFile` is as an abstraction of a pathname. For | |
| 3177 | + | // normal files the system pathname is what is stored internally, but as | |
| 3178 | + | // `GFile`s are extensible it could also be something else that corresponds | |
| 3179 | + | // to a pathname in a userspace implementation of a filesystem. | |
| 3180 | + | // | |
| 3181 | + | // `GFile`s make up hierarchies of directories and files that correspond to | |
| 3182 | + | // the files on a filesystem. You can move through the file system with | |
| 3183 | + | // `GFile` using [method@Gio.File.get_parent] to get an identifier for the | |
| 3184 | + | // parent directory, [method@Gio.File.get_child] to get a child within a | |
| 3185 | + | // directory, and [method@Gio.File.resolve_relative_path] to resolve a relative | |
| 3186 | + | // path between two `GFile`s. There can be multiple hierarchies, so you may not | |
| 3187 | + | // end up at the same root if you repeatedly call [method@Gio.File.get_parent] | |
| 3188 | + | // on two different files. | |
| 3189 | + | // | |
| 3190 | + | // All `GFile`s have a basename (get with [method@Gio.File.get_basename]). These | |
| 3191 | + | // names are byte strings that are used to identify the file on the filesystem | |
| 3192 | + | // (relative to its parent directory) and there is no guarantees that they | |
| 3193 | + | // have any particular charset encoding or even make any sense at all. If | |
| 3194 | + | // you want to use filenames in a user interface you should use the display | |
| 3195 | + | // name that you can get by requesting the | |
| 3196 | + | // `G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME` attribute with | |
| 3197 | + | // [method@Gio.File.query_info]. This is guaranteed to be in UTF-8 and can be | |
| 3198 | + | // used in a user interface. But always store the real basename or the `GFile` | |
| 3199 | + | // to use to actually access the file, because there is no way to go from a | |
| 3200 | + | // display name to the actual name. | |
| 3201 | + | // | |
| 3202 | + | // Using `GFile` as an identifier has the same weaknesses as using a path | |
| 3203 | + | // in that there may be multiple aliases for the same file. For instance, | |
| 3204 | + | // hard or soft links may cause two different `GFile`s to refer to the same | |
| 3205 | + | // file. Other possible causes for aliases are: case insensitive filesystems, | |
| 3206 | + | // short and long names on FAT/NTFS, or bind mounts in Linux. If you want to | |
| 3207 | + | // check if two `GFile`s point to the same file you can query for the | |
| 3208 | + | // `G_FILE_ATTRIBUTE_ID_FILE` attribute. Note that `GFile` does some trivial | |
| 3209 | + | // canonicalization of pathnames passed in, so that trivial differences in | |
| 3210 | + | // the path string used at creation (duplicated slashes, slash at end of | |
| 3211 | + | // path, `.` or `..` path segments, etc) does not create different `GFile`s. | |
| 3212 | + | // | |
| 3213 | + | // Many `GFile` operations have both synchronous and asynchronous versions | |
| 3214 | + | // to suit your application. Asynchronous versions of synchronous functions | |
| 3215 | + | // simply have `_async()` appended to their function names. The asynchronous | |
| 3216 | + | // I/O functions call a [callback@Gio.AsyncReadyCallback] which is then used to | |
| 3217 | + | // finalize the operation, producing a [iface@Gio.AsyncResult] which is then | |
| 3218 | + | // passed to the function’s matching `_finish()` operation. | |
| 3219 | + | // | |
| 3220 | + | // It is highly recommended to use asynchronous calls when running within a | |
| 3221 | + | // shared main loop, such as in the main thread of an application. This avoids | |
| 3222 | + | // I/O operations blocking other sources on the main loop from being dispatched. | |
| 3223 | + | // Synchronous I/O operations should be performed from worker threads. See the | |
| 3224 | + | // [introduction to asynchronous programming section](overview.html#asynchronous-programming) | |
| 3225 | + | // for more. | |
| 3226 | + | // | |
| 3227 | + | // Some `GFile` operations almost always take a noticeable amount of time, and | |
| 3228 | + | // so do not have synchronous analogs. Notable cases include: | |
| 3229 | + | // | |
| 3230 | + | // - [method@Gio.File.mount_mountable] to mount a mountable file. | |
| 3231 | + | // - [method@Gio.File.unmount_mountable_with_operation] to unmount a mountable | |
| 3232 | + | // file. | |
| 3233 | + | // - [method@Gio.File.eject_mountable_with_operation] to eject a mountable file. | |
| 3234 | + | // | |
| 3235 | + | // ## Entity Tags | |
| 3236 | + | // | |
| 3237 | + | // One notable feature of `GFile`s are entity tags, or ‘etags’ for | |
| 3238 | + | // short. Entity tags are somewhat like a more abstract version of the | |
| 3239 | + | // traditional mtime, and can be used to quickly determine if the file | |
| 3240 | + | // has been modified from the version on the file system. See the | |
| 3241 | + | // description of HTTP ETags in | |
| 3242 | + | // [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-etag). | |
| 3243 | + | // `GFile` Entity Tags are a very similar concept. | |
| 3244 | + | type File interface { | |
| 3245 | + | GoPointer() uintptr | |
| 3246 | + | SetGoPointer(uintptr) | |
| 3247 | + | AppendTo(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) | |
| 3248 | + | AppendToAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3249 | + | AppendToFinish(ResVar AsyncResult) (*FileOutputStream, error) | |
| 3250 | + | BuildAttributeListForCopy(FlagsVar FileCopyFlags, CancellableVar *Cancellable) (string, error) | |
| 3251 | + | Copy(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) (bool, error) | |
| 3252 | + | CopyAsync(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3253 | + | CopyAsyncWithClosures(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackClosureVar *gobject.Closure, ReadyCallbackClosureVar *gobject.Closure) | |
| 3254 | + | CopyAttributes(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable) (bool, error) | |
| 3255 | + | CopyFinish(ResVar AsyncResult) (bool, error) | |
| 3256 | + | Create(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) | |
| 3257 | + | CreateAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3258 | + | CreateFinish(ResVar AsyncResult) (*FileOutputStream, error) | |
| 3259 | + | CreateReadwrite(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) | |
| 3260 | + | CreateReadwriteAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3261 | + | CreateReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) | |
| 3262 | + | Delete(CancellableVar *Cancellable) (bool, error) | |
| 3263 | + | DeleteAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3264 | + | DeleteFinish(ResultVar AsyncResult) (bool, error) | |
| 3265 | + | Dup() *FileBase | |
| 3266 | + | EjectMountable(FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3267 | + | EjectMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3268 | + | EjectMountableWithOperation(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3269 | + | EjectMountableWithOperationFinish(ResultVar AsyncResult) (bool, error) | |
| 3270 | + | EnumerateChildren(AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (*FileEnumerator, error) | |
| 3271 | + | EnumerateChildrenAsync(AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3272 | + | EnumerateChildrenFinish(ResVar AsyncResult) (*FileEnumerator, error) | |
| 3273 | + | Equal(File2Var File) bool | |
| 3274 | + | FindEnclosingMount(CancellableVar *Cancellable) (*MountBase, error) | |
| 3275 | + | FindEnclosingMountAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3276 | + | FindEnclosingMountFinish(ResVar AsyncResult) (*MountBase, error) | |
| 3277 | + | GetBasename() string | |
| 3278 | + | GetChild(NameVar string) *FileBase | |
| 3279 | + | GetChildForDisplayName(DisplayNameVar string) (*FileBase, error) | |
| 3280 | + | GetParent() *FileBase | |
| 3281 | + | GetParseName() string | |
| 3282 | + | GetPath() string | |
| 3283 | + | GetRelativePath(DescendantVar File) string | |
| 3284 | + | GetUri() string | |
| 3285 | + | GetUriScheme() string | |
| 3286 | + | HasParent(ParentVar File) bool | |
| 3287 | + | HasPrefix(PrefixVar File) bool | |
| 3288 | + | HasUriScheme(UriSchemeVar string) bool | |
| 3289 | + | Hash() uint | |
| 3290 | + | IsNative() bool | |
| 3291 | + | LoadBytes(CancellableVar *Cancellable, EtagOutVar *string) (*glib.Bytes, error) | |
| 3292 | + | LoadBytesAsync(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3293 | + | LoadBytesFinish(ResultVar AsyncResult, EtagOutVar *string) (*glib.Bytes, error) | |
| 3294 | + | LoadContents(CancellableVar *Cancellable, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) | |
| 3295 | + | LoadContentsAsync(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3296 | + | LoadContentsFinish(ResVar AsyncResult, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) | |
| 3297 | + | LoadPartialContentsAsync(CancellableVar *Cancellable, ReadMoreCallbackVar *FileReadMoreCallback, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3298 | + | LoadPartialContentsFinish(ResVar AsyncResult, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) | |
| 3299 | + | MakeDirectory(CancellableVar *Cancellable) (bool, error) | |
| 3300 | + | MakeDirectoryAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3301 | + | MakeDirectoryFinish(ResultVar AsyncResult) (bool, error) | |
| 3302 | + | MakeDirectoryWithParents(CancellableVar *Cancellable) (bool, error) | |
| 3303 | + | MakeSymbolicLink(SymlinkValueVar string, CancellableVar *Cancellable) (bool, error) | |
| 3304 | + | MakeSymbolicLinkAsync(SymlinkValueVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3305 | + | MakeSymbolicLinkFinish(ResultVar AsyncResult) (bool, error) | |
| 3306 | + | MeasureDiskUsage(FlagsVar FileMeasureFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) (bool, error) | |
| 3307 | + | MeasureDiskUsageAsync(FlagsVar FileMeasureFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3308 | + | MeasureDiskUsageFinish(ResultVar AsyncResult, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) (bool, error) | |
| 3309 | + | Monitor(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) | |
| 3310 | + | MonitorDirectory(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) | |
| 3311 | + | MonitorFile(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) | |
| 3312 | + | MountEnclosingVolume(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3313 | + | MountEnclosingVolumeFinish(ResultVar AsyncResult) (bool, error) | |
| 3314 | + | MountMountable(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3315 | + | MountMountableFinish(ResultVar AsyncResult) (*FileBase, error) | |
| 3316 | + | Move(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) (bool, error) | |
| 3317 | + | MoveAsync(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3318 | + | MoveAsyncWithClosures(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackClosureVar *gobject.Closure, ReadyCallbackClosureVar *gobject.Closure) | |
| 3319 | + | MoveFinish(ResultVar AsyncResult) (bool, error) | |
| 3320 | + | OpenReadwrite(CancellableVar *Cancellable) (*FileIOStream, error) | |
| 3321 | + | OpenReadwriteAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3322 | + | OpenReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) | |
| 3323 | + | PeekPath() string | |
| 3324 | + | PollMountable(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3325 | + | PollMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3326 | + | QueryDefaultHandler(CancellableVar *Cancellable) (*AppInfoBase, error) | |
| 3327 | + | QueryDefaultHandlerAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3328 | + | QueryDefaultHandlerFinish(ResultVar AsyncResult) (*AppInfoBase, error) | |
| 3329 | + | QueryExists(CancellableVar *Cancellable) bool | |
| 3330 | + | QueryFileType(FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) FileType | |
| 3331 | + | QueryFilesystemInfo(AttributesVar string, CancellableVar *Cancellable) (*FileInfo, error) | |
| 3332 | + | QueryFilesystemInfoAsync(AttributesVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3333 | + | QueryFilesystemInfoFinish(ResVar AsyncResult) (*FileInfo, error) | |
| 3334 | + | QueryInfo(AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (*FileInfo, error) | |
| 3335 | + | QueryInfoAsync(AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3336 | + | QueryInfoFinish(ResVar AsyncResult) (*FileInfo, error) | |
| 3337 | + | QuerySettableAttributes(CancellableVar *Cancellable) (*FileAttributeInfoList, error) | |
| 3338 | + | QueryWritableNamespaces(CancellableVar *Cancellable) (*FileAttributeInfoList, error) | |
| 3339 | + | Read(CancellableVar *Cancellable) (*FileInputStream, error) | |
| 3340 | + | ReadAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3341 | + | ReadFinish(ResVar AsyncResult) (*FileInputStream, error) | |
| 3342 | + | Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) | |
| 3343 | + | ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3344 | + | ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) | |
| 3345 | + | ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3346 | + | ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3347 | + | ReplaceContentsFinish(ResVar AsyncResult, NewEtagVar *string) (bool, error) | |
| 3348 | + | ReplaceFinish(ResVar AsyncResult) (*FileOutputStream, error) | |
| 3349 | + | ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) | |
| 3350 | + | ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3351 | + | ReplaceReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) | |
| 3352 | + | ResolveRelativePath(RelativePathVar string) *FileBase | |
| 3353 | + | SetAttribute(AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3354 | + | SetAttributeByteString(AttributeVar string, ValueVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3355 | + | SetAttributeInt32(AttributeVar string, ValueVar int32, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3356 | + | SetAttributeInt64(AttributeVar string, ValueVar int64, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3357 | + | SetAttributeString(AttributeVar string, ValueVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3358 | + | SetAttributeUint32(AttributeVar string, ValueVar uint32, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3359 | + | SetAttributeUint64(AttributeVar string, ValueVar uint64, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3360 | + | SetAttributesAsync(InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3361 | + | SetAttributesFinish(ResultVar AsyncResult, InfoVar **FileInfo) (bool, error) | |
| 3362 | + | SetAttributesFromInfo(InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) | |
| 3363 | + | SetDisplayName(DisplayNameVar string, CancellableVar *Cancellable) (*FileBase, error) | |
| 3364 | + | SetDisplayNameAsync(DisplayNameVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3365 | + | SetDisplayNameFinish(ResVar AsyncResult) (*FileBase, error) | |
| 3366 | + | StartMountable(FlagsVar DriveStartFlags, StartOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3367 | + | StartMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3368 | + | StopMountable(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3369 | + | StopMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3370 | + | SupportsThreadContexts() bool | |
| 3371 | + | Trash(CancellableVar *Cancellable) (bool, error) | |
| 3372 | + | TrashAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3373 | + | TrashFinish(ResultVar AsyncResult) (bool, error) | |
| 3374 | + | UnmountMountable(FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3375 | + | UnmountMountableFinish(ResultVar AsyncResult) (bool, error) | |
| 3376 | + | UnmountMountableWithOperation(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) | |
| 3377 | + | UnmountMountableWithOperationFinish(ResultVar AsyncResult) (bool, error) | |
| 3378 | + | } | |
| 3379 | + | ||
| 3380 | + | var xFileGLibType func() types.GType | |
| 3381 | + | ||
| 3382 | + | func FileGLibType() types.GType { | |
| 3383 | + | return xFileGLibType() | |
| 3384 | + | } | |
| 3385 | + | ||
| 3386 | + | type FileBase struct { | |
| 3387 | + | Ptr uintptr | |
| 3388 | + | } | |
| 3389 | + | ||
| 3390 | + | func (x *FileBase) GoPointer() uintptr { | |
| 3391 | + | if x == nil { | |
| 3392 | + | return 0 | |
| 3393 | + | } | |
| 3394 | + | return x.Ptr | |
| 3395 | + | } | |
| 3396 | + | ||
| 3397 | + | func (x *FileBase) SetGoPointer(ptr uintptr) { | |
| 3398 | + | x.Ptr = ptr | |
| 3399 | + | } | |
| 3400 | + | ||
| 3401 | + | // Gets an output stream for appending data to the file. | |
| 3402 | + | // If the file doesn't already exist it is created. | |
| 3403 | + | // | |
| 3404 | + | // By default files created are generally readable by everyone, | |
| 3405 | + | // but if you pass %G_FILE_CREATE_PRIVATE in @flags the file | |
| 3406 | + | // will be made readable only to the current user, to the level that | |
| 3407 | + | // is supported on the target filesystem. | |
| 3408 | + | // | |
| 3409 | + | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 3410 | + | // by triggering the cancellable object from another thread. If the | |
| 3411 | + | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 3412 | + | // returned. | |
| 3413 | + | // | |
| 3414 | + | // Some file systems don't allow all file names, and may return an | |
| 3415 | + | // %G_IO_ERROR_INVALID_FILENAME error. If the file is a directory the | |
| 3416 | + | // %G_IO_ERROR_IS_DIRECTORY error will be returned. Other errors are | |
| 3417 | + | // possible too, and depend on what kind of filesystem the file is on. | |
| 3418 | + | func (x *FileBase) AppendTo(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) { | |
| 3419 | + | var cls *FileOutputStream | |
| 3420 | + | var cerr *glib.Error | |
| 3421 | + | ||
| 3422 | + | cret := XGFileAppendTo(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3423 | + | ||
| 3424 | + | if cret == 0 { | |
| 3425 | + | return nil, cerr | |
| 3426 | + | } | |
| 3427 | + | cls = &FileOutputStream{} | |
| 3428 | + | cls.Ptr = cret | |
| 3429 | + | if cerr == nil { | |
| 3430 | + | return cls, nil | |
| 3431 | + | } | |
| 3432 | + | return cls, cerr | |
| 3433 | + | } | |
| 3434 | + | ||
| 3435 | + | // Asynchronously opens @file for appending. | |
| 3436 | + | // | |
| 3437 | + | // For more details, see g_file_append_to() which is | |
| 3438 | + | // the synchronous version of this call. | |
| 3439 | + | // | |
| 3440 | + | // When the operation is finished, @callback will be called. | |
| 3441 | + | // You can then call g_file_append_to_finish() to get the result | |
| 3442 | + | // of the operation. | |
| 3443 | + | func (x *FileBase) AppendToAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3444 | + | XGFileAppendToAsync(x.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3445 | + | } | |
| 3446 | + | ||
| 3447 | + | // Finishes an asynchronous file append operation started with | |
| 3448 | + | // g_file_append_to_async(). | |
| 3449 | + | func (x *FileBase) AppendToFinish(ResVar AsyncResult) (*FileOutputStream, error) { | |
| 3450 | + | var cls *FileOutputStream | |
| 3451 | + | var cerr *glib.Error | |
| 3452 | + | ||
| 3453 | + | cret := XGFileAppendToFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3454 | + | ||
| 3455 | + | if cret == 0 { | |
| 3456 | + | return nil, cerr | |
| 3457 | + | } | |
| 3458 | + | cls = &FileOutputStream{} | |
| 3459 | + | cls.Ptr = cret | |
| 3460 | + | if cerr == nil { | |
| 3461 | + | return cls, nil | |
| 3462 | + | } | |
| 3463 | + | return cls, cerr | |
| 3464 | + | } | |
| 3465 | + | ||
| 3466 | + | // Prepares the file attribute query string for copying to @file. | |
| 3467 | + | // | |
| 3468 | + | // This function prepares an attribute query string to be | |
| 3469 | + | // passed to g_file_query_info() to get a list of attributes | |
| 3470 | + | // normally copied with the file (see g_file_copy_attributes() | |
| 3471 | + | // for the detailed description). This function is used by the | |
| 3472 | + | // implementation of g_file_copy_attributes() and is useful | |
| 3473 | + | // when one needs to query and set the attributes in two | |
| 3474 | + | // stages (e.g., for recursive move of a directory). | |
| 3475 | + | func (x *FileBase) BuildAttributeListForCopy(FlagsVar FileCopyFlags, CancellableVar *Cancellable) (string, error) { | |
| 3476 | + | var cerr *glib.Error | |
| 3477 | + | ||
| 3478 | + | cret := XGFileBuildAttributeListForCopy(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3479 | + | if cerr == nil { | |
| 3480 | + | return cret, nil | |
| 3481 | + | } | |
| 3482 | + | return cret, cerr | |
| 3483 | + | } | |
| 3484 | + | ||
| 3485 | + | // Copies the file @source to the location specified by @destination. | |
| 3486 | + | // Can not handle recursive copies of directories. | |
| 3487 | + | // | |
| 3488 | + | // If the flag %G_FILE_COPY_OVERWRITE is specified an already | |
| 3489 | + | // existing @destination file is overwritten. | |
| 3490 | + | // | |
| 3491 | + | // If the flag %G_FILE_COPY_NOFOLLOW_SYMLINKS is specified then symlinks | |
| 3492 | + | // will be copied as symlinks, otherwise the target of the | |
| 3493 | + | // @source symlink will be copied. | |
| 3494 | + | // | |
| 3495 | + | // If the flag %G_FILE_COPY_ALL_METADATA is specified then all the metadata | |
| 3496 | + | // that is possible to copy is copied, not just the default subset (which, | |
| 3497 | + | // for instance, does not include the owner, see #GFileInfo). | |
| 3498 | + | // | |
| 3499 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 3500 | + | // triggering the cancellable object from another thread. If the operation | |
| 3501 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 3502 | + | // | |
| 3503 | + | // If @progress_callback is not %NULL, then the operation can be monitored | |
| 3504 | + | // by setting this to a #GFileProgressCallback function. | |
| 3505 | + | // @progress_callback_data will be passed to this function. It is guaranteed | |
| 3506 | + | // that this callback will be called after all data has been transferred with | |
| 3507 | + | // the total number of bytes copied during the operation. | |
| 3508 | + | // | |
| 3509 | + | // If the @source file does not exist, then the %G_IO_ERROR_NOT_FOUND error | |
| 3510 | + | // is returned, independent on the status of the @destination. | |
| 3511 | + | // | |
| 3512 | + | // If %G_FILE_COPY_OVERWRITE is not specified and the target exists, then | |
| 3513 | + | // the error %G_IO_ERROR_EXISTS is returned. | |
| 3514 | + | // | |
| 3515 | + | // If trying to overwrite a file over a directory, the %G_IO_ERROR_IS_DIRECTORY | |
| 3516 | + | // error is returned. If trying to overwrite a directory with a directory the | |
| 3517 | + | // %G_IO_ERROR_WOULD_MERGE error is returned. | |
| 3518 | + | // | |
| 3519 | + | // If the source is a directory and the target does not exist, or | |
| 3520 | + | // %G_FILE_COPY_OVERWRITE is specified and the target is a file, then the | |
| 3521 | + | // %G_IO_ERROR_WOULD_RECURSE error is returned. | |
| 3522 | + | // | |
| 3523 | + | // If you are interested in copying the #GFile object itself (not the on-disk | |
| 3524 | + | // file), see g_file_dup(). | |
| 3525 | + | func (x *FileBase) Copy(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) (bool, error) { | |
| 3526 | + | var cerr *glib.Error | |
| 3527 | + | ||
| 3528 | + | cret := XGFileCopy(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr) | |
| 3529 | + | if cerr == nil { | |
| 3530 | + | return cret, nil | |
| 3531 | + | } | |
| 3532 | + | return cret, cerr | |
| 3533 | + | } | |
| 3534 | + | ||
| 3535 | + | // Copies the file @source to the location specified by @destination | |
| 3536 | + | // asynchronously. For details of the behaviour, see g_file_copy(). | |
| 3537 | + | // | |
| 3538 | + | // If @progress_callback is not %NULL, then that function that will be called | |
| 3539 | + | // just like in g_file_copy(). The callback will run in the default main context | |
| 3540 | + | // of the thread calling g_file_copy_async() — the same context as @callback is | |
| 3541 | + | // run in. | |
| 3542 | + | // | |
| 3543 | + | // When the operation is finished, @callback will be called. You can then call | |
| 3544 | + | // g_file_copy_finish() to get the result of the operation. | |
| 3545 | + | func (x *FileBase) CopyAsync(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3546 | + | XGFileCopyAsync(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3547 | + | } | |
| 3548 | + | ||
| 3549 | + | // Version of [method@Gio.File.copy_async] using closures instead of callbacks for | |
| 3550 | + | // easier binding in other languages. | |
| 3551 | + | func (x *FileBase) CopyAsyncWithClosures(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackClosureVar *gobject.Closure, ReadyCallbackClosureVar *gobject.Closure) { | |
| 3552 | + | XGFileCopyAsyncWithClosures(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), ProgressCallbackClosureVar, ReadyCallbackClosureVar) | |
| 3553 | + | } | |
| 3554 | + | ||
| 3555 | + | // Copies the file attributes from @source to @destination. | |
| 3556 | + | // | |
| 3557 | + | // Normally only a subset of the file attributes are copied, | |
| 3558 | + | // those that are copies in a normal file copy operation | |
| 3559 | + | // (which for instance does not include e.g. owner). However | |
| 3560 | + | // if %G_FILE_COPY_ALL_METADATA is specified in @flags, then | |
| 3561 | + | // all the metadata that is possible to copy is copied. This | |
| 3562 | + | // is useful when implementing move by copy + delete source. | |
| 3563 | + | func (x *FileBase) CopyAttributes(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable) (bool, error) { | |
| 3564 | + | var cerr *glib.Error | |
| 3565 | + | ||
| 3566 | + | cret := XGFileCopyAttributes(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3567 | + | if cerr == nil { | |
| 3568 | + | return cret, nil | |
| 3569 | + | } | |
| 3570 | + | return cret, cerr | |
| 3571 | + | } | |
| 3572 | + | ||
| 3573 | + | // Finishes copying the file started with g_file_copy_async(). | |
| 3574 | + | func (x *FileBase) CopyFinish(ResVar AsyncResult) (bool, error) { | |
| 3575 | + | var cerr *glib.Error | |
| 3576 | + | ||
| 3577 | + | cret := XGFileCopyFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3578 | + | if cerr == nil { | |
| 3579 | + | return cret, nil | |
| 3580 | + | } | |
| 3581 | + | return cret, cerr | |
| 3582 | + | } | |
| 3583 | + | ||
| 3584 | + | // Creates a new file and returns an output stream for writing to it. | |
| 3585 | + | // The file must not already exist. | |
| 3586 | + | // | |
| 3587 | + | // By default files created are generally readable by everyone, | |
| 3588 | + | // but if you pass %G_FILE_CREATE_PRIVATE in @flags the file | |
| 3589 | + | // will be made readable only to the current user, to the level | |
| 3590 | + | // that is supported on the target filesystem. | |
| 3591 | + | // | |
| 3592 | + | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 3593 | + | // by triggering the cancellable object from another thread. If the | |
| 3594 | + | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 3595 | + | // returned. | |
| 3596 | + | // | |
| 3597 | + | // If a file or directory with this name already exists the | |
| 3598 | + | // %G_IO_ERROR_EXISTS error will be returned. Some file systems don't | |
| 3599 | + | // allow all file names, and may return an %G_IO_ERROR_INVALID_FILENAME | |
| 3600 | + | // error, and if the name is to long %G_IO_ERROR_FILENAME_TOO_LONG will | |
| 3601 | + | // be returned. Other errors are possible too, and depend on what kind | |
| 3602 | + | // of filesystem the file is on. | |
| 3603 | + | func (x *FileBase) Create(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) { | |
| 3604 | + | var cls *FileOutputStream | |
| 3605 | + | var cerr *glib.Error | |
| 3606 | + | ||
| 3607 | + | cret := XGFileCreate(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3608 | + | ||
| 3609 | + | if cret == 0 { | |
| 3610 | + | return nil, cerr | |
| 3611 | + | } | |
| 3612 | + | cls = &FileOutputStream{} | |
| 3613 | + | cls.Ptr = cret | |
| 3614 | + | if cerr == nil { | |
| 3615 | + | return cls, nil | |
| 3616 | + | } | |
| 3617 | + | return cls, cerr | |
| 3618 | + | } | |
| 3619 | + | ||
| 3620 | + | // Asynchronously creates a new file and returns an output stream | |
| 3621 | + | // for writing to it. The file must not already exist. | |
| 3622 | + | // | |
| 3623 | + | // For more details, see g_file_create() which is | |
| 3624 | + | // the synchronous version of this call. | |
| 3625 | + | // | |
| 3626 | + | // When the operation is finished, @callback will be called. | |
| 3627 | + | // You can then call g_file_create_finish() to get the result | |
| 3628 | + | // of the operation. | |
| 3629 | + | func (x *FileBase) CreateAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3630 | + | XGFileCreateAsync(x.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3631 | + | } | |
| 3632 | + | ||
| 3633 | + | // Finishes an asynchronous file create operation started with | |
| 3634 | + | // g_file_create_async(). | |
| 3635 | + | func (x *FileBase) CreateFinish(ResVar AsyncResult) (*FileOutputStream, error) { | |
| 3636 | + | var cls *FileOutputStream | |
| 3637 | + | var cerr *glib.Error | |
| 3638 | + | ||
| 3639 | + | cret := XGFileCreateFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3640 | + | ||
| 3641 | + | if cret == 0 { | |
| 3642 | + | return nil, cerr | |
| 3643 | + | } | |
| 3644 | + | cls = &FileOutputStream{} | |
| 3645 | + | cls.Ptr = cret | |
| 3646 | + | if cerr == nil { | |
| 3647 | + | return cls, nil | |
| 3648 | + | } | |
| 3649 | + | return cls, cerr | |
| 3650 | + | } | |
| 3651 | + | ||
| 3652 | + | // Creates a new file and returns a stream for reading and | |
| 3653 | + | // writing to it. The file must not already exist. | |
| 3654 | + | // | |
| 3655 | + | // By default files created are generally readable by everyone, | |
| 3656 | + | // but if you pass %G_FILE_CREATE_PRIVATE in @flags the file | |
| 3657 | + | // will be made readable only to the current user, to the level | |
| 3658 | + | // that is supported on the target filesystem. | |
| 3659 | + | // | |
| 3660 | + | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 3661 | + | // by triggering the cancellable object from another thread. If the | |
| 3662 | + | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 3663 | + | // returned. | |
| 3664 | + | // | |
| 3665 | + | // If a file or directory with this name already exists, the | |
| 3666 | + | // %G_IO_ERROR_EXISTS error will be returned. Some file systems don't | |
| 3667 | + | // allow all file names, and may return an %G_IO_ERROR_INVALID_FILENAME | |
| 3668 | + | // error, and if the name is too long, %G_IO_ERROR_FILENAME_TOO_LONG | |
| 3669 | + | // will be returned. Other errors are possible too, and depend on what | |
| 3670 | + | // kind of filesystem the file is on. | |
| 3671 | + | // | |
| 3672 | + | // Note that in many non-local file cases read and write streams are | |
| 3673 | + | // not supported, so make sure you really need to do read and write | |
| 3674 | + | // streaming, rather than just opening for reading or writing. | |
| 3675 | + | func (x *FileBase) CreateReadwrite(FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) { | |
| 3676 | + | var cls *FileIOStream | |
| 3677 | + | var cerr *glib.Error | |
| 3678 | + | ||
| 3679 | + | cret := XGFileCreateReadwrite(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3680 | + | ||
| 3681 | + | if cret == 0 { | |
| 3682 | + | return nil, cerr | |
| 3683 | + | } | |
| 3684 | + | cls = &FileIOStream{} | |
| 3685 | + | cls.Ptr = cret | |
| 3686 | + | if cerr == nil { | |
| 3687 | + | return cls, nil | |
| 3688 | + | } | |
| 3689 | + | return cls, cerr | |
| 3690 | + | } | |
| 3691 | + | ||
| 3692 | + | // Asynchronously creates a new file and returns a stream | |
| 3693 | + | // for reading and writing to it. The file must not already exist. | |
| 3694 | + | // | |
| 3695 | + | // For more details, see g_file_create_readwrite() which is | |
| 3696 | + | // the synchronous version of this call. | |
| 3697 | + | // | |
| 3698 | + | // When the operation is finished, @callback will be called. | |
| 3699 | + | // You can then call g_file_create_readwrite_finish() to get | |
| 3700 | + | // the result of the operation. | |
| 3701 | + | func (x *FileBase) CreateReadwriteAsync(FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3702 | + | XGFileCreateReadwriteAsync(x.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3703 | + | } | |
| 3704 | + | ||
| 3705 | + | // Finishes an asynchronous file create operation started with | |
| 3706 | + | // g_file_create_readwrite_async(). | |
| 3707 | + | func (x *FileBase) CreateReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) { | |
| 3708 | + | var cls *FileIOStream | |
| 3709 | + | var cerr *glib.Error | |
| 3710 | + | ||
| 3711 | + | cret := XGFileCreateReadwriteFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3712 | + | ||
| 3713 | + | if cret == 0 { | |
| 3714 | + | return nil, cerr | |
| 3715 | + | } | |
| 3716 | + | cls = &FileIOStream{} | |
| 3717 | + | cls.Ptr = cret | |
| 3718 | + | if cerr == nil { | |
| 3719 | + | return cls, nil | |
| 3720 | + | } | |
| 3721 | + | return cls, cerr | |
| 3722 | + | } | |
| 3723 | + | ||
| 3724 | + | // Deletes a file. If the @file is a directory, it will only be | |
| 3725 | + | // deleted if it is empty. This has the same semantics as g_unlink(). | |
| 3726 | + | // | |
| 3727 | + | // If @file doesn’t exist, %G_IO_ERROR_NOT_FOUND will be returned. This allows | |
| 3728 | + | // for deletion to be implemented avoiding | |
| 3729 | + | // [time-of-check to time-of-use races](https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use): | |
| 3730 | + | // |[ | |
| 3731 | + | // g_autoptr(GError) local_error = NULL; | |
| 3732 | + | // if (!g_file_delete (my_file, my_cancellable, &local_error) && | |
| 3733 | + | // | |
| 3734 | + | // !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) | |
| 3735 | + | // { | |
| 3736 | + | // // deletion failed for some reason other than the file not existing: | |
| 3737 | + | // // so report the error | |
| 3738 | + | // g_warning ("Failed to delete %s: %s", | |
| 3739 | + | // g_file_peek_path (my_file), local_error->message); | |
| 3740 | + | // } | |
| 3741 | + | // | |
| 3742 | + | // ]| | |
| 3743 | + | // | |
| 3744 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 3745 | + | // triggering the cancellable object from another thread. If the operation | |
| 3746 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 3747 | + | func (x *FileBase) Delete(CancellableVar *Cancellable) (bool, error) { | |
| 3748 | + | var cerr *glib.Error | |
| 3749 | + | ||
| 3750 | + | cret := XGFileDelete(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 3751 | + | if cerr == nil { | |
| 3752 | + | return cret, nil | |
| 3753 | + | } | |
| 3754 | + | return cret, cerr | |
| 3755 | + | } | |
| 3756 | + | ||
| 3757 | + | // Asynchronously delete a file. If the @file is a directory, it will | |
| 3758 | + | // only be deleted if it is empty. This has the same semantics as | |
| 3759 | + | // g_unlink(). | |
| 3760 | + | func (x *FileBase) DeleteAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3761 | + | XGFileDeleteAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3762 | + | } | |
| 3763 | + | ||
| 3764 | + | // Finishes deleting a file started with g_file_delete_async(). | |
| 3765 | + | func (x *FileBase) DeleteFinish(ResultVar AsyncResult) (bool, error) { | |
| 3766 | + | var cerr *glib.Error | |
| 3767 | + | ||
| 3768 | + | cret := XGFileDeleteFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3769 | + | if cerr == nil { | |
| 3770 | + | return cret, nil | |
| 3771 | + | } | |
| 3772 | + | return cret, cerr | |
| 3773 | + | } | |
| 3774 | + | ||
| 3775 | + | // Duplicates a #GFile handle. This operation does not duplicate | |
| 3776 | + | // the actual file or directory represented by the #GFile; see | |
| 3777 | + | // g_file_copy() if attempting to copy a file. | |
| 3778 | + | // | |
| 3779 | + | // g_file_dup() is useful when a second handle is needed to the same underlying | |
| 3780 | + | // file, for use in a separate thread (#GFile is not thread-safe). For use | |
| 3781 | + | // within the same thread, use g_object_ref() to increment the existing object’s | |
| 3782 | + | // reference count. | |
| 3783 | + | // | |
| 3784 | + | // This call does no blocking I/O. | |
| 3785 | + | func (x *FileBase) Dup() *FileBase { | |
| 3786 | + | var cls *FileBase | |
| 3787 | + | ||
| 3788 | + | cret := XGFileDup(x.GoPointer()) | |
| 3789 | + | ||
| 3790 | + | if cret == 0 { | |
| 3791 | + | return nil | |
| 3792 | + | } | |
| 3793 | + | cls = &FileBase{} | |
| 3794 | + | cls.Ptr = cret | |
| 3795 | + | return cls | |
| 3796 | + | } | |
| 3797 | + | ||
| 3798 | + | // Starts an asynchronous eject on a mountable. | |
| 3799 | + | // When this operation has completed, @callback will be called with | |
| 3800 | + | // @user_user data, and the operation can be finalized with | |
| 3801 | + | // g_file_eject_mountable_finish(). | |
| 3802 | + | // | |
| 3803 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 3804 | + | // triggering the cancellable object from another thread. If the operation | |
| 3805 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 3806 | + | func (x *FileBase) EjectMountable(FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3807 | + | XGFileEjectMountable(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3808 | + | } | |
| 3809 | + | ||
| 3810 | + | // Finishes an asynchronous eject operation started by | |
| 3811 | + | // g_file_eject_mountable(). | |
| 3812 | + | func (x *FileBase) EjectMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 3813 | + | var cerr *glib.Error | |
| 3814 | + | ||
| 3815 | + | cret := XGFileEjectMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3816 | + | if cerr == nil { | |
| 3817 | + | return cret, nil | |
| 3818 | + | } | |
| 3819 | + | return cret, cerr | |
| 3820 | + | } | |
| 3821 | + | ||
| 3822 | + | // Starts an asynchronous eject on a mountable. | |
| 3823 | + | // When this operation has completed, @callback will be called with | |
| 3824 | + | // @user_user data, and the operation can be finalized with | |
| 3825 | + | // g_file_eject_mountable_with_operation_finish(). | |
| 3826 | + | // | |
| 3827 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 3828 | + | // triggering the cancellable object from another thread. If the operation | |
| 3829 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 3830 | + | func (x *FileBase) EjectMountableWithOperation(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3831 | + | XGFileEjectMountableWithOperation(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3832 | + | } | |
| 3833 | + | ||
| 3834 | + | // Finishes an asynchronous eject operation started by | |
| 3835 | + | // g_file_eject_mountable_with_operation(). | |
| 3836 | + | func (x *FileBase) EjectMountableWithOperationFinish(ResultVar AsyncResult) (bool, error) { | |
| 3837 | + | var cerr *glib.Error | |
| 3838 | + | ||
| 3839 | + | cret := XGFileEjectMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 3840 | + | if cerr == nil { | |
| 3841 | + | return cret, nil | |
| 3842 | + | } | |
| 3843 | + | return cret, cerr | |
| 3844 | + | } | |
| 3845 | + | ||
| 3846 | + | // Gets the requested information about the files in a directory. | |
| 3847 | + | // The result is a [class@FileEnumerator] object that will give out | |
| 3848 | + | // [class@FileInfo] objects for all the files in the directory. | |
| 3849 | + | // | |
| 3850 | + | // The @attributes value is a string that specifies the file | |
| 3851 | + | // attributes that should be gathered. It is not an error if | |
| 3852 | + | // it's not possible to read a particular requested attribute | |
| 3853 | + | // from a file - it just won't be set. @attributes should | |
| 3854 | + | // be a comma-separated list of attributes or attribute wildcards. | |
| 3855 | + | // The wildcard `*` means all attributes, and a wildcard like | |
| 3856 | + | // `"standard::*"` means all attributes in the standard namespace. | |
| 3857 | + | // An example attribute query be `"standard::*,owner::user"`. | |
| 3858 | + | // The standard attributes are available as defines, like | |
| 3859 | + | // [const@FILE_ATTRIBUTE_STANDARD_NAME]. [const@FILE_ATTRIBUTE_STANDARD_NAME] should | |
| 3860 | + | // always be specified if you plan to call [method@FileEnumerator.get_child] or | |
| 3861 | + | // [method@FileEnumerator.iterate] on the returned enumerator. | |
| 3862 | + | // | |
| 3863 | + | // If @cancellable is not `NULL`, then the operation can be cancelled | |
| 3864 | + | // by triggering the cancellable object from another thread. If the | |
| 3865 | + | // operation was cancelled, the error [error@Gio.IOErrorEnum.CANCELLED] will be | |
| 3866 | + | // returned. | |
| 3867 | + | // | |
| 3868 | + | // If the file does not exist, the [error@Gio.IOErrorEnum.NOT_FOUND] error will | |
| 3869 | + | // be returned. If the file is not a directory, the [error@Gio.IOErrorEnum.NOT_DIRECTORY] | |
| 3870 | + | // error will be returned. Other errors are possible too. | |
| 3871 | + | func (x *FileBase) EnumerateChildren(AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (*FileEnumerator, error) { | |
| 3872 | + | var cls *FileEnumerator | |
| 3873 | + | var cerr *glib.Error | |
| 3874 | + | ||
| 3875 | + | cret := XGFileEnumerateChildren(x.GoPointer(), AttributesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 3876 | + | ||
| 3877 | + | if cret == 0 { | |
| 3878 | + | return nil, cerr | |
| 3879 | + | } | |
| 3880 | + | cls = &FileEnumerator{} | |
| 3881 | + | cls.Ptr = cret | |
| 3882 | + | if cerr == nil { | |
| 3883 | + | return cls, nil | |
| 3884 | + | } | |
| 3885 | + | return cls, cerr | |
| 3886 | + | } | |
| 3887 | + | ||
| 3888 | + | // Asynchronously gets the requested information about the files | |
| 3889 | + | // in a directory. The result is a #GFileEnumerator object that will | |
| 3890 | + | // give out #GFileInfo objects for all the files in the directory. | |
| 3891 | + | // | |
| 3892 | + | // For more details, see g_file_enumerate_children() which is | |
| 3893 | + | // the synchronous version of this call. | |
| 3894 | + | // | |
| 3895 | + | // When the operation is finished, @callback will be called. You can | |
| 3896 | + | // then call g_file_enumerate_children_finish() to get the result of | |
| 3897 | + | // the operation. | |
| 3898 | + | func (x *FileBase) EnumerateChildrenAsync(AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3899 | + | XGFileEnumerateChildrenAsync(x.GoPointer(), AttributesVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3900 | + | } | |
| 3901 | + | ||
| 3902 | + | // Finishes an async enumerate children operation. | |
| 3903 | + | // See g_file_enumerate_children_async(). | |
| 3904 | + | func (x *FileBase) EnumerateChildrenFinish(ResVar AsyncResult) (*FileEnumerator, error) { | |
| 3905 | + | var cls *FileEnumerator | |
| 3906 | + | var cerr *glib.Error | |
| 3907 | + | ||
| 3908 | + | cret := XGFileEnumerateChildrenFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3909 | + | ||
| 3910 | + | if cret == 0 { | |
| 3911 | + | return nil, cerr | |
| 3912 | + | } | |
| 3913 | + | cls = &FileEnumerator{} | |
| 3914 | + | cls.Ptr = cret | |
| 3915 | + | if cerr == nil { | |
| 3916 | + | return cls, nil | |
| 3917 | + | } | |
| 3918 | + | return cls, cerr | |
| 3919 | + | } | |
| 3920 | + | ||
| 3921 | + | // Checks if the two given #GFiles refer to the same file. | |
| 3922 | + | // | |
| 3923 | + | // This function can be used with [method@Gio.File.hash] to insert | |
| 3924 | + | // [iface@Gio.File]s efficiently in a hash table. | |
| 3925 | + | // | |
| 3926 | + | // Note that two #GFiles that differ can still refer to the same | |
| 3927 | + | // file on the filesystem due to various forms of filename | |
| 3928 | + | // aliasing. For local files, this function essentially compares the file paths, | |
| 3929 | + | // so two [iface@Gio.File]s which point to different hard or soft links will not | |
| 3930 | + | // be considered equal, despite pointing to the same content. | |
| 3931 | + | // | |
| 3932 | + | // For determining whether two files are hardlinked, see | |
| 3933 | + | // [const@Gio.FILE_ATTRIBUTE_ID_FILE]. | |
| 3934 | + | // | |
| 3935 | + | // This call does no blocking I/O. | |
| 3936 | + | func (x *FileBase) Equal(File2Var File) bool { | |
| 3937 | + | cret := XGFileEqual(x.GoPointer(), File2Var.GoPointer()) | |
| 3938 | + | return cret | |
| 3939 | + | } | |
| 3940 | + | ||
| 3941 | + | // Gets a #GMount for the #GFile. | |
| 3942 | + | // | |
| 3943 | + | // #GMount is returned only for user interesting locations, see | |
| 3944 | + | // #GVolumeMonitor. If the #GFileIface for @file does not have a #mount, | |
| 3945 | + | // @error will be set to %G_IO_ERROR_NOT_FOUND and %NULL #will be returned. | |
| 3946 | + | // | |
| 3947 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 3948 | + | // triggering the cancellable object from another thread. If the operation | |
| 3949 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 3950 | + | func (x *FileBase) FindEnclosingMount(CancellableVar *Cancellable) (*MountBase, error) { | |
| 3951 | + | var cls *MountBase | |
| 3952 | + | var cerr *glib.Error | |
| 3953 | + | ||
| 3954 | + | cret := XGFileFindEnclosingMount(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 3955 | + | ||
| 3956 | + | if cret == 0 { | |
| 3957 | + | return nil, cerr | |
| 3958 | + | } | |
| 3959 | + | cls = &MountBase{} | |
| 3960 | + | cls.Ptr = cret | |
| 3961 | + | if cerr == nil { | |
| 3962 | + | return cls, nil | |
| 3963 | + | } | |
| 3964 | + | return cls, cerr | |
| 3965 | + | } | |
| 3966 | + | ||
| 3967 | + | // Asynchronously gets the mount for the file. | |
| 3968 | + | // | |
| 3969 | + | // For more details, see g_file_find_enclosing_mount() which is | |
| 3970 | + | // the synchronous version of this call. | |
| 3971 | + | // | |
| 3972 | + | // When the operation is finished, @callback will be called. | |
| 3973 | + | // You can then call g_file_find_enclosing_mount_finish() to | |
| 3974 | + | // get the result of the operation. | |
| 3975 | + | func (x *FileBase) FindEnclosingMountAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 3976 | + | XGFileFindEnclosingMountAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 3977 | + | } | |
| 3978 | + | ||
| 3979 | + | // Finishes an asynchronous find mount request. | |
| 3980 | + | // See g_file_find_enclosing_mount_async(). | |
| 3981 | + | func (x *FileBase) FindEnclosingMountFinish(ResVar AsyncResult) (*MountBase, error) { | |
| 3982 | + | var cls *MountBase | |
| 3983 | + | var cerr *glib.Error | |
| 3984 | + | ||
| 3985 | + | cret := XGFileFindEnclosingMountFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 3986 | + | ||
| 3987 | + | if cret == 0 { | |
| 3988 | + | return nil, cerr | |
| 3989 | + | } | |
| 3990 | + | cls = &MountBase{} | |
| 3991 | + | cls.Ptr = cret | |
| 3992 | + | if cerr == nil { | |
| 3993 | + | return cls, nil | |
| 3994 | + | } | |
| 3995 | + | return cls, cerr | |
| 3996 | + | } | |
| 3997 | + | ||
| 3998 | + | // Gets the base name (the last component of the path) for a given #GFile. | |
| 3999 | + | // | |
| 4000 | + | // If called for the top level of a system (such as the filesystem root | |
| 4001 | + | // or a uri like sftp://host/) it will return a single directory separator | |
| 4002 | + | // (and on Windows, possibly a drive letter). | |
| 4003 | + | // | |
| 4004 | + | // The base name is a byte string (not UTF-8). It has no defined encoding | |
| 4005 | + | // or rules other than it may not contain zero bytes. If you want to use | |
| 4006 | + | // filenames in a user interface you should use the display name that you | |
| 4007 | + | // can get by requesting the %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME | |
| 4008 | + | // attribute with g_file_query_info(). | |
| 4009 | + | // | |
| 4010 | + | // This call does no blocking I/O. | |
| 4011 | + | func (x *FileBase) GetBasename() string { | |
| 4012 | + | cret := XGFileGetBasename(x.GoPointer()) | |
| 4013 | + | return cret | |
| 4014 | + | } | |
| 4015 | + | ||
| 4016 | + | // Gets a child of @file with basename equal to @name. | |
| 4017 | + | // | |
| 4018 | + | // Note that the file with that specific name might not exist, but | |
| 4019 | + | // you can still have a #GFile that points to it. You can use this | |
| 4020 | + | // for instance to create that file. | |
| 4021 | + | // | |
| 4022 | + | // This call does no blocking I/O. | |
| 4023 | + | func (x *FileBase) GetChild(NameVar string) *FileBase { | |
| 4024 | + | var cls *FileBase | |
| 4025 | + | ||
| 4026 | + | cret := XGFileGetChild(x.GoPointer(), NameVar) | |
| 4027 | + | ||
| 4028 | + | if cret == 0 { | |
| 4029 | + | return nil | |
| 4030 | + | } | |
| 4031 | + | cls = &FileBase{} | |
| 4032 | + | cls.Ptr = cret | |
| 4033 | + | return cls | |
| 4034 | + | } | |
| 4035 | + | ||
| 4036 | + | // Gets the child of @file for a given @display_name (i.e. a UTF-8 | |
| 4037 | + | // version of the name). If this function fails, it returns %NULL | |
| 4038 | + | // and @error will be set. This is very useful when constructing a | |
| 4039 | + | // #GFile for a new file and the user entered the filename in the | |
| 4040 | + | // user interface, for instance when you select a directory and | |
| 4041 | + | // type a filename in the file selector. | |
| 4042 | + | // | |
| 4043 | + | // This call does no blocking I/O. | |
| 4044 | + | func (x *FileBase) GetChildForDisplayName(DisplayNameVar string) (*FileBase, error) { | |
| 4045 | + | var cls *FileBase | |
| 4046 | + | var cerr *glib.Error | |
| 4047 | + | ||
| 4048 | + | cret := XGFileGetChildForDisplayName(x.GoPointer(), DisplayNameVar, &cerr) | |
| 4049 | + | ||
| 4050 | + | if cret == 0 { | |
| 4051 | + | return nil, cerr | |
| 4052 | + | } | |
| 4053 | + | cls = &FileBase{} | |
| 4054 | + | cls.Ptr = cret | |
| 4055 | + | if cerr == nil { | |
| 4056 | + | return cls, nil | |
| 4057 | + | } | |
| 4058 | + | return cls, cerr | |
| 4059 | + | } | |
| 4060 | + | ||
| 4061 | + | // Gets the parent directory for the @file. | |
| 4062 | + | // If the @file represents the root directory of the | |
| 4063 | + | // file system, then %NULL will be returned. | |
| 4064 | + | // | |
| 4065 | + | // This call does no blocking I/O. | |
| 4066 | + | func (x *FileBase) GetParent() *FileBase { | |
| 4067 | + | var cls *FileBase | |
| 4068 | + | ||
| 4069 | + | cret := XGFileGetParent(x.GoPointer()) | |
| 4070 | + | ||
| 4071 | + | if cret == 0 { | |
| 4072 | + | return nil | |
| 4073 | + | } | |
| 4074 | + | cls = &FileBase{} | |
| 4075 | + | cls.Ptr = cret | |
| 4076 | + | return cls | |
| 4077 | + | } | |
| 4078 | + | ||
| 4079 | + | // Gets the parse name of the @file. | |
| 4080 | + | // A parse name is a UTF-8 string that describes the | |
| 4081 | + | // file such that one can get the #GFile back using | |
| 4082 | + | // g_file_parse_name(). | |
| 4083 | + | // | |
| 4084 | + | // This is generally used to show the #GFile as a nice | |
| 4085 | + | // full-pathname kind of string in a user interface, | |
| 4086 | + | // like in a location entry. | |
| 4087 | + | // | |
| 4088 | + | // For local files with names that can safely be converted | |
| 4089 | + | // to UTF-8 the pathname is used, otherwise the IRI is used | |
| 4090 | + | // (a form of URI that allows UTF-8 characters unescaped). | |
| 4091 | + | // | |
| 4092 | + | // This call does no blocking I/O. | |
| 4093 | + | func (x *FileBase) GetParseName() string { | |
| 4094 | + | cret := XGFileGetParseName(x.GoPointer()) | |
| 4095 | + | return cret | |
| 4096 | + | } | |
| 4097 | + | ||
| 4098 | + | // Gets the local pathname for #GFile, if one exists. If non-%NULL, this is | |
| 4099 | + | // guaranteed to be an absolute, canonical path. It might contain symlinks. | |
| 4100 | + | // | |
| 4101 | + | // This call does no blocking I/O. | |
| 4102 | + | func (x *FileBase) GetPath() string { | |
| 4103 | + | cret := XGFileGetPath(x.GoPointer()) | |
| 4104 | + | return cret | |
| 4105 | + | } | |
| 4106 | + | ||
| 4107 | + | // Gets the path for @descendant relative to @parent. | |
| 4108 | + | // | |
| 4109 | + | // This call does no blocking I/O. | |
| 4110 | + | func (x *FileBase) GetRelativePath(DescendantVar File) string { | |
| 4111 | + | cret := XGFileGetRelativePath(x.GoPointer(), DescendantVar.GoPointer()) | |
| 4112 | + | return cret | |
| 4113 | + | } | |
| 4114 | + | ||
| 4115 | + | // Gets the URI for the @file. | |
| 4116 | + | // | |
| 4117 | + | // This call does no blocking I/O. | |
| 4118 | + | func (x *FileBase) GetUri() string { | |
| 4119 | + | cret := XGFileGetUri(x.GoPointer()) | |
| 4120 | + | return cret | |
| 4121 | + | } | |
| 4122 | + | ||
| 4123 | + | // Gets the URI scheme for a #GFile. | |
| 4124 | + | // RFC 3986 decodes the scheme as: | |
| 4125 | + | // |[ | |
| 4126 | + | // URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] | |
| 4127 | + | // ]| | |
| 4128 | + | // Common schemes include "file", "http", "ftp", etc. | |
| 4129 | + | // | |
| 4130 | + | // The scheme can be different from the one used to construct the #GFile, | |
| 4131 | + | // in that it might be replaced with one that is logically equivalent to the #GFile. | |
| 4132 | + | // | |
| 4133 | + | // This call does no blocking I/O. | |
| 4134 | + | func (x *FileBase) GetUriScheme() string { | |
| 4135 | + | cret := XGFileGetUriScheme(x.GoPointer()) | |
| 4136 | + | return cret | |
| 4137 | + | } | |
| 4138 | + | ||
| 4139 | + | // Checks if @file has a parent, and optionally, if it is @parent. | |
| 4140 | + | // | |
| 4141 | + | // If @parent is %NULL then this function returns %TRUE if @file has any | |
| 4142 | + | // parent at all. If @parent is non-%NULL then %TRUE is only returned | |
| 4143 | + | // if @file is an immediate child of @parent. | |
| 4144 | + | func (x *FileBase) HasParent(ParentVar File) bool { | |
| 4145 | + | cret := XGFileHasParent(x.GoPointer(), ParentVar.GoPointer()) | |
| 4146 | + | return cret | |
| 4147 | + | } | |
| 4148 | + | ||
| 4149 | + | // Checks whether @file has the prefix specified by @prefix. | |
| 4150 | + | // | |
| 4151 | + | // In other words, if the names of initial elements of @file's | |
| 4152 | + | // pathname match @prefix. Only full pathname elements are matched, | |
| 4153 | + | // so a path like /foo is not considered a prefix of /foobar, only | |
| 4154 | + | // of /foo/bar. | |
| 4155 | + | // | |
| 4156 | + | // A #GFile is not a prefix of itself. If you want to check for | |
| 4157 | + | // equality, use g_file_equal(). | |
| 4158 | + | // | |
| 4159 | + | // This call does no I/O, as it works purely on names. As such it can | |
| 4160 | + | // sometimes return %FALSE even if @file is inside a @prefix (from a | |
| 4161 | + | // filesystem point of view), because the prefix of @file is an alias | |
| 4162 | + | // of @prefix. | |
| 4163 | + | func (x *FileBase) HasPrefix(PrefixVar File) bool { | |
| 4164 | + | cret := XGFileHasPrefix(x.GoPointer(), PrefixVar.GoPointer()) | |
| 4165 | + | return cret | |
| 4166 | + | } | |
| 4167 | + | ||
| 4168 | + | // Checks to see if a #GFile has a given URI scheme. | |
| 4169 | + | // | |
| 4170 | + | // This call does no blocking I/O. | |
| 4171 | + | func (x *FileBase) HasUriScheme(UriSchemeVar string) bool { | |
| 4172 | + | cret := XGFileHasUriScheme(x.GoPointer(), UriSchemeVar) | |
| 4173 | + | return cret | |
| 4174 | + | } | |
| 4175 | + | ||
| 4176 | + | // Creates a hash value for a #GFile. | |
| 4177 | + | // | |
| 4178 | + | // This call does no blocking I/O. | |
| 4179 | + | func (x *FileBase) Hash() uint { | |
| 4180 | + | cret := XGFileHash(x.GoPointer()) | |
| 4181 | + | return cret | |
| 4182 | + | } | |
| 4183 | + | ||
| 4184 | + | // Checks to see if a file is native to the platform. | |
| 4185 | + | // | |
| 4186 | + | // A native file is one expressed in the platform-native filename format, | |
| 4187 | + | // e.g. "C:\Windows" or "/usr/bin/". This does not mean the file is local, | |
| 4188 | + | // as it might be on a locally mounted remote filesystem. | |
| 4189 | + | // | |
| 4190 | + | // On some systems non-native files may be available using the native | |
| 4191 | + | // filesystem via a userspace filesystem (FUSE), in these cases this call | |
| 4192 | + | // will return %FALSE, but g_file_get_path() will still return a native path. | |
| 4193 | + | // | |
| 4194 | + | // This call does no blocking I/O. | |
| 4195 | + | func (x *FileBase) IsNative() bool { | |
| 4196 | + | cret := XGFileIsNative(x.GoPointer()) | |
| 4197 | + | return cret | |
| 4198 | + | } | |
| 4199 | + | ||
| 4200 | + | // Loads the contents of @file and returns it as #GBytes. | |
| 4201 | + | // | |
| 4202 | + | // If @file is a resource:// based URI, the resulting bytes will reference the | |
| 4203 | + | // embedded resource instead of a copy. Otherwise, this is equivalent to calling | |
| 4204 | + | // g_file_load_contents() and g_bytes_new_take(). | |
| 4205 | + | // | |
| 4206 | + | // For resources, @etag_out will be set to %NULL. | |
| 4207 | + | // | |
| 4208 | + | // The data contained in the resulting #GBytes is always zero-terminated, but | |
| 4209 | + | // this is not included in the #GBytes length. The resulting #GBytes should be | |
| 4210 | + | // freed with g_bytes_unref() when no longer in use. | |
| 4211 | + | func (x *FileBase) LoadBytes(CancellableVar *Cancellable, EtagOutVar *string) (*glib.Bytes, error) { | |
| 4212 | + | var cerr *glib.Error | |
| 4213 | + | ||
| 4214 | + | cret := XGFileLoadBytes(x.GoPointer(), CancellableVar.GoPointer(), EtagOutVar, &cerr) | |
| 4215 | + | if cerr != nil { | |
| 4216 | + | return nil, cerr | |
| 4217 | + | } | |
| 4218 | + | if cret == 0 { | |
| 4219 | + | return nil, nil | |
| 4220 | + | } | |
| 4221 | + | return (*glib.Bytes)(unsafe.Pointer(cret)), nil | |
| 4222 | + | } | |
| 4223 | + | ||
| 4224 | + | // Asynchronously loads the contents of @file as #GBytes. | |
| 4225 | + | // | |
| 4226 | + | // If @file is a resource:// based URI, the resulting bytes will reference the | |
| 4227 | + | // embedded resource instead of a copy. Otherwise, this is equivalent to calling | |
| 4228 | + | // g_file_load_contents_async() and g_bytes_new_take(). | |
| 4229 | + | // | |
| 4230 | + | // @callback should call g_file_load_bytes_finish() to get the result of this | |
| 4231 | + | // asynchronous operation. | |
| 4232 | + | // | |
| 4233 | + | // See g_file_load_bytes() for more information. | |
| 4234 | + | func (x *FileBase) LoadBytesAsync(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4235 | + | XGFileLoadBytesAsync(x.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4236 | + | } | |
| 4237 | + | ||
| 4238 | + | // Completes an asynchronous request to g_file_load_bytes_async(). | |
| 4239 | + | // | |
| 4240 | + | // For resources, @etag_out will be set to %NULL. | |
| 4241 | + | // | |
| 4242 | + | // The data contained in the resulting #GBytes is always zero-terminated, but | |
| 4243 | + | // this is not included in the #GBytes length. The resulting #GBytes should be | |
| 4244 | + | // freed with g_bytes_unref() when no longer in use. | |
| 4245 | + | // | |
| 4246 | + | // See g_file_load_bytes() for more information. | |
| 4247 | + | func (x *FileBase) LoadBytesFinish(ResultVar AsyncResult, EtagOutVar *string) (*glib.Bytes, error) { | |
| 4248 | + | var cerr *glib.Error | |
| 4249 | + | ||
| 4250 | + | cret := XGFileLoadBytesFinish(x.GoPointer(), ResultVar.GoPointer(), EtagOutVar, &cerr) | |
| 4251 | + | if cerr != nil { | |
| 4252 | + | return nil, cerr | |
| 4253 | + | } | |
| 4254 | + | if cret == 0 { | |
| 4255 | + | return nil, nil | |
| 4256 | + | } | |
| 4257 | + | return (*glib.Bytes)(unsafe.Pointer(cret)), nil | |
| 4258 | + | } | |
| 4259 | + | ||
| 4260 | + | // Loads the content of the file into memory. The data is always | |
| 4261 | + | // zero-terminated, but this is not included in the resultant @length. | |
| 4262 | + | // The returned @contents should be freed with g_free() when no longer | |
| 4263 | + | // needed. | |
| 4264 | + | // | |
| 4265 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4266 | + | // triggering the cancellable object from another thread. If the operation | |
| 4267 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4268 | + | func (x *FileBase) LoadContents(CancellableVar *Cancellable, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) { | |
| 4269 | + | var cerr *glib.Error | |
| 4270 | + | ||
| 4271 | + | cret := XGFileLoadContents(x.GoPointer(), CancellableVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr) | |
| 4272 | + | if cerr == nil { | |
| 4273 | + | return cret, nil | |
| 4274 | + | } | |
| 4275 | + | return cret, cerr | |
| 4276 | + | } | |
| 4277 | + | ||
| 4278 | + | // Starts an asynchronous load of the @file's contents. | |
| 4279 | + | // | |
| 4280 | + | // For more details, see g_file_load_contents() which is | |
| 4281 | + | // the synchronous version of this call. | |
| 4282 | + | // | |
| 4283 | + | // When the load operation has completed, @callback will be called | |
| 4284 | + | // with @user data. To finish the operation, call | |
| 4285 | + | // g_file_load_contents_finish() with the #GAsyncResult returned by | |
| 4286 | + | // the @callback. | |
| 4287 | + | // | |
| 4288 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4289 | + | // triggering the cancellable object from another thread. If the operation | |
| 4290 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4291 | + | func (x *FileBase) LoadContentsAsync(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4292 | + | XGFileLoadContentsAsync(x.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4293 | + | } | |
| 4294 | + | ||
| 4295 | + | // Finishes an asynchronous load of the @file's contents. | |
| 4296 | + | // The contents are placed in @contents, and @length is set to the | |
| 4297 | + | // size of the @contents string. The @contents should be freed with | |
| 4298 | + | // g_free() when no longer needed. If @etag_out is present, it will be | |
| 4299 | + | // set to the new entity tag for the @file. | |
| 4300 | + | func (x *FileBase) LoadContentsFinish(ResVar AsyncResult, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) { | |
| 4301 | + | var cerr *glib.Error | |
| 4302 | + | ||
| 4303 | + | cret := XGFileLoadContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr) | |
| 4304 | + | if cerr == nil { | |
| 4305 | + | return cret, nil | |
| 4306 | + | } | |
| 4307 | + | return cret, cerr | |
| 4308 | + | } | |
| 4309 | + | ||
| 4310 | + | // Reads the partial contents of a file. A #GFileReadMoreCallback should | |
| 4311 | + | // be used to stop reading from the file when appropriate, else this | |
| 4312 | + | // function will behave exactly as g_file_load_contents_async(). This | |
| 4313 | + | // operation can be finished by g_file_load_partial_contents_finish(). | |
| 4314 | + | // | |
| 4315 | + | // Users of this function should be aware that @user_data is passed to | |
| 4316 | + | // both the @read_more_callback and the @callback. | |
| 4317 | + | // | |
| 4318 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4319 | + | // triggering the cancellable object from another thread. If the operation | |
| 4320 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4321 | + | func (x *FileBase) LoadPartialContentsAsync(CancellableVar *Cancellable, ReadMoreCallbackVar *FileReadMoreCallback, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4322 | + | XGFileLoadPartialContentsAsync(x.GoPointer(), CancellableVar.GoPointer(), glib.NewCallback(ReadMoreCallbackVar), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4323 | + | } | |
| 4324 | + | ||
| 4325 | + | // Finishes an asynchronous partial load operation that was started | |
| 4326 | + | // with g_file_load_partial_contents_async(). The data is always | |
| 4327 | + | // zero-terminated, but this is not included in the resultant @length. | |
| 4328 | + | // The returned @contents should be freed with g_free() when no longer | |
| 4329 | + | // needed. | |
| 4330 | + | func (x *FileBase) LoadPartialContentsFinish(ResVar AsyncResult, ContentsVar *[]string, LengthVar *uint, EtagOutVar *string) (bool, error) { | |
| 4331 | + | var cerr *glib.Error | |
| 4332 | + | ||
| 4333 | + | cret := XGFileLoadPartialContentsFinish(x.GoPointer(), ResVar.GoPointer(), ContentsVar, LengthVar, EtagOutVar, &cerr) | |
| 4334 | + | if cerr == nil { | |
| 4335 | + | return cret, nil | |
| 4336 | + | } | |
| 4337 | + | return cret, cerr | |
| 4338 | + | } | |
| 4339 | + | ||
| 4340 | + | // Creates a directory. | |
| 4341 | + | // | |
| 4342 | + | // Note that this will only create a child directory | |
| 4343 | + | // of the immediate parent directory of the path or URI given by the #GFile. | |
| 4344 | + | // To recursively create directories, see g_file_make_directory_with_parents(). | |
| 4345 | + | // | |
| 4346 | + | // This function will fail if the parent directory does not exist, setting | |
| 4347 | + | // @error to %G_IO_ERROR_NOT_FOUND. If the file system doesn't support | |
| 4348 | + | // creating directories, this function will fail, setting @error to | |
| 4349 | + | // %G_IO_ERROR_NOT_SUPPORTED. If the directory already exists, | |
| 4350 | + | // [error@Gio.IOErrorEnum.EXISTS] will be returned. | |
| 4351 | + | // | |
| 4352 | + | // For a local #GFile the newly created directory will have the default | |
| 4353 | + | // (current) ownership and permissions of the current process. | |
| 4354 | + | // | |
| 4355 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4356 | + | // triggering the cancellable object from another thread. If the operation | |
| 4357 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4358 | + | func (x *FileBase) MakeDirectory(CancellableVar *Cancellable) (bool, error) { | |
| 4359 | + | var cerr *glib.Error | |
| 4360 | + | ||
| 4361 | + | cret := XGFileMakeDirectory(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4362 | + | if cerr == nil { | |
| 4363 | + | return cret, nil | |
| 4364 | + | } | |
| 4365 | + | return cret, cerr | |
| 4366 | + | } | |
| 4367 | + | ||
| 4368 | + | // Asynchronously creates a directory. | |
| 4369 | + | func (x *FileBase) MakeDirectoryAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4370 | + | XGFileMakeDirectoryAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4371 | + | } | |
| 4372 | + | ||
| 4373 | + | // Finishes an asynchronous directory creation, started with | |
| 4374 | + | // g_file_make_directory_async(). | |
| 4375 | + | func (x *FileBase) MakeDirectoryFinish(ResultVar AsyncResult) (bool, error) { | |
| 4376 | + | var cerr *glib.Error | |
| 4377 | + | ||
| 4378 | + | cret := XGFileMakeDirectoryFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4379 | + | if cerr == nil { | |
| 4380 | + | return cret, nil | |
| 4381 | + | } | |
| 4382 | + | return cret, cerr | |
| 4383 | + | } | |
| 4384 | + | ||
| 4385 | + | // Creates a directory and any parent directories that may not | |
| 4386 | + | // exist similar to 'mkdir -p'. If the file system does not support | |
| 4387 | + | // creating directories, this function will fail, setting @error to | |
| 4388 | + | // %G_IO_ERROR_NOT_SUPPORTED. If the directory itself already exists, | |
| 4389 | + | // this function will fail setting @error to %G_IO_ERROR_EXISTS, unlike | |
| 4390 | + | // the similar g_mkdir_with_parents(). | |
| 4391 | + | // | |
| 4392 | + | // For a local #GFile the newly created directories will have the default | |
| 4393 | + | // (current) ownership and permissions of the current process. | |
| 4394 | + | // | |
| 4395 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4396 | + | // triggering the cancellable object from another thread. If the operation | |
| 4397 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4398 | + | func (x *FileBase) MakeDirectoryWithParents(CancellableVar *Cancellable) (bool, error) { | |
| 4399 | + | var cerr *glib.Error | |
| 4400 | + | ||
| 4401 | + | cret := XGFileMakeDirectoryWithParents(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4402 | + | if cerr == nil { | |
| 4403 | + | return cret, nil | |
| 4404 | + | } | |
| 4405 | + | return cret, cerr | |
| 4406 | + | } | |
| 4407 | + | ||
| 4408 | + | // Creates a symbolic link named @file which contains the string | |
| 4409 | + | // @symlink_value. | |
| 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) MakeSymbolicLink(SymlinkValueVar string, CancellableVar *Cancellable) (bool, error) { | |
| 4415 | + | var cerr *glib.Error | |
| 4416 | + | ||
| 4417 | + | cret := XGFileMakeSymbolicLink(x.GoPointer(), SymlinkValueVar, CancellableVar.GoPointer(), &cerr) | |
| 4418 | + | if cerr == nil { | |
| 4419 | + | return cret, nil | |
| 4420 | + | } | |
| 4421 | + | return cret, cerr | |
| 4422 | + | } | |
| 4423 | + | ||
| 4424 | + | // Asynchronously creates a symbolic link named @file which contains the | |
| 4425 | + | // string @symlink_value. | |
| 4426 | + | func (x *FileBase) MakeSymbolicLinkAsync(SymlinkValueVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4427 | + | XGFileMakeSymbolicLinkAsync(x.GoPointer(), SymlinkValueVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4428 | + | } | |
| 4429 | + | ||
| 4430 | + | // Finishes an asynchronous symbolic link creation, started with | |
| 4431 | + | // g_file_make_symbolic_link_async(). | |
| 4432 | + | func (x *FileBase) MakeSymbolicLinkFinish(ResultVar AsyncResult) (bool, error) { | |
| 4433 | + | var cerr *glib.Error | |
| 4434 | + | ||
| 4435 | + | cret := XGFileMakeSymbolicLinkFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4436 | + | if cerr == nil { | |
| 4437 | + | return cret, nil | |
| 4438 | + | } | |
| 4439 | + | return cret, cerr | |
| 4440 | + | } | |
| 4441 | + | ||
| 4442 | + | // Recursively measures the disk usage of @file. | |
| 4443 | + | // | |
| 4444 | + | // This is essentially an analog of the 'du' command, but it also | |
| 4445 | + | // reports the number of directories and non-directory files encountered | |
| 4446 | + | // (including things like symbolic links). | |
| 4447 | + | // | |
| 4448 | + | // By default, errors are only reported against the toplevel file | |
| 4449 | + | // itself. Errors found while recursing are silently ignored, unless | |
| 4450 | + | // %G_FILE_MEASURE_REPORT_ANY_ERROR is given in @flags. | |
| 4451 | + | // | |
| 4452 | + | // The returned size, @disk_usage, is in bytes and should be formatted | |
| 4453 | + | // with g_format_size() in order to get something reasonable for showing | |
| 4454 | + | // in a user interface. | |
| 4455 | + | // | |
| 4456 | + | // @progress_callback and @progress_data can be given to request | |
| 4457 | + | // periodic progress updates while scanning. See the documentation for | |
| 4458 | + | // #GFileMeasureProgressCallback for information about when and how the | |
| 4459 | + | // callback will be invoked. | |
| 4460 | + | func (x *FileBase) MeasureDiskUsage(FlagsVar FileMeasureFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) (bool, error) { | |
| 4461 | + | var cerr *glib.Error | |
| 4462 | + | ||
| 4463 | + | cret := XGFileMeasureDiskUsage(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, DiskUsageVar, NumDirsVar, NumFilesVar, &cerr) | |
| 4464 | + | if cerr == nil { | |
| 4465 | + | return cret, nil | |
| 4466 | + | } | |
| 4467 | + | return cret, cerr | |
| 4468 | + | } | |
| 4469 | + | ||
| 4470 | + | // Recursively measures the disk usage of @file. | |
| 4471 | + | // | |
| 4472 | + | // This is the asynchronous version of g_file_measure_disk_usage(). See | |
| 4473 | + | // there for more information. | |
| 4474 | + | func (x *FileBase) MeasureDiskUsageAsync(FlagsVar FileMeasureFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileMeasureProgressCallback, ProgressDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4475 | + | XGFileMeasureDiskUsageAsync(x.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4476 | + | } | |
| 4477 | + | ||
| 4478 | + | // Collects the results from an earlier call to | |
| 4479 | + | // g_file_measure_disk_usage_async(). See g_file_measure_disk_usage() for | |
| 4480 | + | // more information. | |
| 4481 | + | func (x *FileBase) MeasureDiskUsageFinish(ResultVar AsyncResult, DiskUsageVar *uint64, NumDirsVar *uint64, NumFilesVar *uint64) (bool, error) { | |
| 4482 | + | var cerr *glib.Error | |
| 4483 | + | ||
| 4484 | + | cret := XGFileMeasureDiskUsageFinish(x.GoPointer(), ResultVar.GoPointer(), DiskUsageVar, NumDirsVar, NumFilesVar, &cerr) | |
| 4485 | + | if cerr == nil { | |
| 4486 | + | return cret, nil | |
| 4487 | + | } | |
| 4488 | + | return cret, cerr | |
| 4489 | + | } | |
| 4490 | + | ||
| 4491 | + | // Obtains a file or directory monitor for the given file, | |
| 4492 | + | // depending on the type of the file. | |
| 4493 | + | // | |
| 4494 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4495 | + | // triggering the cancellable object from another thread. If the operation | |
| 4496 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4497 | + | func (x *FileBase) Monitor(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) { | |
| 4498 | + | var cls *FileMonitor | |
| 4499 | + | var cerr *glib.Error | |
| 4500 | + | ||
| 4501 | + | cret := XGFileMonitor(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 4502 | + | ||
| 4503 | + | if cret == 0 { | |
| 4504 | + | return nil, cerr | |
| 4505 | + | } | |
| 4506 | + | cls = &FileMonitor{} | |
| 4507 | + | cls.Ptr = cret | |
| 4508 | + | if cerr == nil { | |
| 4509 | + | return cls, nil | |
| 4510 | + | } | |
| 4511 | + | return cls, cerr | |
| 4512 | + | } | |
| 4513 | + | ||
| 4514 | + | // Obtains a directory monitor for the given file. | |
| 4515 | + | // This may fail if directory monitoring is not supported. | |
| 4516 | + | // | |
| 4517 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4518 | + | // triggering the cancellable object from another thread. If the operation | |
| 4519 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4520 | + | // | |
| 4521 | + | // It does not make sense for @flags to contain | |
| 4522 | + | // %G_FILE_MONITOR_WATCH_HARD_LINKS, since hard links can not be made to | |
| 4523 | + | // directories. It is not possible to monitor all the files in a | |
| 4524 | + | // directory for changes made via hard links; if you want to do this then | |
| 4525 | + | // you must register individual watches with g_file_monitor(). | |
| 4526 | + | func (x *FileBase) MonitorDirectory(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) { | |
| 4527 | + | var cls *FileMonitor | |
| 4528 | + | var cerr *glib.Error | |
| 4529 | + | ||
| 4530 | + | cret := XGFileMonitorDirectory(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 4531 | + | ||
| 4532 | + | if cret == 0 { | |
| 4533 | + | return nil, cerr | |
| 4534 | + | } | |
| 4535 | + | cls = &FileMonitor{} | |
| 4536 | + | cls.Ptr = cret | |
| 4537 | + | if cerr == nil { | |
| 4538 | + | return cls, nil | |
| 4539 | + | } | |
| 4540 | + | return cls, cerr | |
| 4541 | + | } | |
| 4542 | + | ||
| 4543 | + | // Obtains a file monitor for the given file. If no file notification | |
| 4544 | + | // mechanism exists, then regular polling of the file is used. | |
| 4545 | + | // | |
| 4546 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4547 | + | // triggering the cancellable object from another thread. If the operation | |
| 4548 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4549 | + | // | |
| 4550 | + | // If @flags contains %G_FILE_MONITOR_WATCH_HARD_LINKS then the monitor | |
| 4551 | + | // will also attempt to report changes made to the file via another | |
| 4552 | + | // filename (ie, a hard link). Without this flag, you can only rely on | |
| 4553 | + | // changes made through the filename contained in @file to be | |
| 4554 | + | // reported. Using this flag may result in an increase in resource | |
| 4555 | + | // usage, and may not have any effect depending on the #GFileMonitor | |
| 4556 | + | // backend and/or filesystem type. | |
| 4557 | + | func (x *FileBase) MonitorFile(FlagsVar FileMonitorFlags, CancellableVar *Cancellable) (*FileMonitor, error) { | |
| 4558 | + | var cls *FileMonitor | |
| 4559 | + | var cerr *glib.Error | |
| 4560 | + | ||
| 4561 | + | cret := XGFileMonitorFile(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 4562 | + | ||
| 4563 | + | if cret == 0 { | |
| 4564 | + | return nil, cerr | |
| 4565 | + | } | |
| 4566 | + | cls = &FileMonitor{} | |
| 4567 | + | cls.Ptr = cret | |
| 4568 | + | if cerr == nil { | |
| 4569 | + | return cls, nil | |
| 4570 | + | } | |
| 4571 | + | return cls, cerr | |
| 4572 | + | } | |
| 4573 | + | ||
| 4574 | + | // Starts a @mount_operation, mounting the volume that contains | |
| 4575 | + | // the file @location. | |
| 4576 | + | // | |
| 4577 | + | // When this operation has completed, @callback will be called with | |
| 4578 | + | // @user_user data, and the operation can be finalized with | |
| 4579 | + | // g_file_mount_enclosing_volume_finish(). | |
| 4580 | + | // | |
| 4581 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4582 | + | // triggering the cancellable object from another thread. If the operation | |
| 4583 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4584 | + | func (x *FileBase) MountEnclosingVolume(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4585 | + | XGFileMountEnclosingVolume(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4586 | + | } | |
| 4587 | + | ||
| 4588 | + | // Finishes a mount operation started by g_file_mount_enclosing_volume(). | |
| 4589 | + | func (x *FileBase) MountEnclosingVolumeFinish(ResultVar AsyncResult) (bool, error) { | |
| 4590 | + | var cerr *glib.Error | |
| 4591 | + | ||
| 4592 | + | cret := XGFileMountEnclosingVolumeFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4593 | + | if cerr == nil { | |
| 4594 | + | return cret, nil | |
| 4595 | + | } | |
| 4596 | + | return cret, cerr | |
| 4597 | + | } | |
| 4598 | + | ||
| 4599 | + | // Mounts a file of type G_FILE_TYPE_MOUNTABLE. | |
| 4600 | + | // Using @mount_operation, you can request callbacks when, for instance, | |
| 4601 | + | // passwords are needed during authentication. | |
| 4602 | + | // | |
| 4603 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4604 | + | // triggering the cancellable object from another thread. If the operation | |
| 4605 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4606 | + | // | |
| 4607 | + | // When the operation is finished, @callback will be called. | |
| 4608 | + | // You can then call g_file_mount_mountable_finish() to get | |
| 4609 | + | // the result of the operation. | |
| 4610 | + | func (x *FileBase) MountMountable(FlagsVar MountMountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4611 | + | XGFileMountMountable(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4612 | + | } | |
| 4613 | + | ||
| 4614 | + | // Finishes a mount operation. See g_file_mount_mountable() for details. | |
| 4615 | + | // | |
| 4616 | + | // Finish an asynchronous mount operation that was started | |
| 4617 | + | // with g_file_mount_mountable(). | |
| 4618 | + | func (x *FileBase) MountMountableFinish(ResultVar AsyncResult) (*FileBase, error) { | |
| 4619 | + | var cls *FileBase | |
| 4620 | + | var cerr *glib.Error | |
| 4621 | + | ||
| 4622 | + | cret := XGFileMountMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4623 | + | ||
| 4624 | + | if cret == 0 { | |
| 4625 | + | return nil, cerr | |
| 4626 | + | } | |
| 4627 | + | cls = &FileBase{} | |
| 4628 | + | cls.Ptr = cret | |
| 4629 | + | if cerr == nil { | |
| 4630 | + | return cls, nil | |
| 4631 | + | } | |
| 4632 | + | return cls, cerr | |
| 4633 | + | } | |
| 4634 | + | ||
| 4635 | + | // Tries to move the file or directory @source to the location specified | |
| 4636 | + | // by @destination. If native move operations are supported then this is | |
| 4637 | + | // used, otherwise a copy + delete fallback is used. The native | |
| 4638 | + | // implementation may support moving directories (for instance on moves | |
| 4639 | + | // inside the same filesystem), but the fallback code does not. | |
| 4640 | + | // | |
| 4641 | + | // If the flag %G_FILE_COPY_OVERWRITE is specified an already | |
| 4642 | + | // existing @destination file is overwritten. | |
| 4643 | + | // | |
| 4644 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4645 | + | // triggering the cancellable object from another thread. If the operation | |
| 4646 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4647 | + | // | |
| 4648 | + | // If @progress_callback is not %NULL, then the operation can be monitored | |
| 4649 | + | // by setting this to a #GFileProgressCallback function. | |
| 4650 | + | // @progress_callback_data will be passed to this function. It is | |
| 4651 | + | // guaranteed that this callback will be called after all data has been | |
| 4652 | + | // transferred with the total number of bytes copied during the operation. | |
| 4653 | + | // | |
| 4654 | + | // If the @source file does not exist, then the %G_IO_ERROR_NOT_FOUND | |
| 4655 | + | // error is returned, independent on the status of the @destination. | |
| 4656 | + | // | |
| 4657 | + | // If %G_FILE_COPY_OVERWRITE is not specified and the target exists, | |
| 4658 | + | // then the error %G_IO_ERROR_EXISTS is returned. | |
| 4659 | + | // | |
| 4660 | + | // If trying to overwrite a file over a directory, the %G_IO_ERROR_IS_DIRECTORY | |
| 4661 | + | // error is returned. If trying to overwrite a directory with a directory the | |
| 4662 | + | // %G_IO_ERROR_WOULD_MERGE error is returned. | |
| 4663 | + | // | |
| 4664 | + | // If the source is a directory and the target does not exist, or | |
| 4665 | + | // %G_FILE_COPY_OVERWRITE is specified and the target is a file, then | |
| 4666 | + | // the %G_IO_ERROR_WOULD_RECURSE error may be returned (if the native | |
| 4667 | + | // move operation isn't available). | |
| 4668 | + | func (x *FileBase) Move(DestinationVar File, FlagsVar FileCopyFlags, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr) (bool, error) { | |
| 4669 | + | var cerr *glib.Error | |
| 4670 | + | ||
| 4671 | + | cret := XGFileMove(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, &cerr) | |
| 4672 | + | if cerr == nil { | |
| 4673 | + | return cret, nil | |
| 4674 | + | } | |
| 4675 | + | return cret, cerr | |
| 4676 | + | } | |
| 4677 | + | ||
| 4678 | + | // Asynchronously moves a file @source to the location of @destination. For details of the behaviour, see g_file_move(). | |
| 4679 | + | // | |
| 4680 | + | // If @progress_callback is not %NULL, then that function that will be called | |
| 4681 | + | // just like in g_file_move(). The callback will run in the default main context | |
| 4682 | + | // of the thread calling g_file_move_async() — the same context as @callback is | |
| 4683 | + | // run in. | |
| 4684 | + | // | |
| 4685 | + | // When the operation is finished, @callback will be called. You can then call | |
| 4686 | + | // g_file_move_finish() to get the result of the operation. | |
| 4687 | + | func (x *FileBase) MoveAsync(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackVar *FileProgressCallback, ProgressCallbackDataVar uintptr, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4688 | + | XGFileMoveAsync(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(ProgressCallbackVar), ProgressCallbackDataVar, glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4689 | + | } | |
| 4690 | + | ||
| 4691 | + | // Version of [method@Gio.File.move_async] using closures instead of callbacks for | |
| 4692 | + | // easier binding in other languages. | |
| 4693 | + | func (x *FileBase) MoveAsyncWithClosures(DestinationVar File, FlagsVar FileCopyFlags, IoPriorityVar int, CancellableVar *Cancellable, ProgressCallbackClosureVar *gobject.Closure, ReadyCallbackClosureVar *gobject.Closure) { | |
| 4694 | + | XGFileMoveAsyncWithClosures(x.GoPointer(), DestinationVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), ProgressCallbackClosureVar, ReadyCallbackClosureVar) | |
| 4695 | + | } | |
| 4696 | + | ||
| 4697 | + | // Finishes an asynchronous file movement, started with | |
| 4698 | + | // g_file_move_async(). | |
| 4699 | + | func (x *FileBase) MoveFinish(ResultVar AsyncResult) (bool, error) { | |
| 4700 | + | var cerr *glib.Error | |
| 4701 | + | ||
| 4702 | + | cret := XGFileMoveFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4703 | + | if cerr == nil { | |
| 4704 | + | return cret, nil | |
| 4705 | + | } | |
| 4706 | + | return cret, cerr | |
| 4707 | + | } | |
| 4708 | + | ||
| 4709 | + | // Opens an existing file for reading and writing. The result is | |
| 4710 | + | // a #GFileIOStream that can be used to read and write the contents | |
| 4711 | + | // of the file. | |
| 4712 | + | // | |
| 4713 | + | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 4714 | + | // by triggering the cancellable object from another thread. If the | |
| 4715 | + | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 4716 | + | // returned. | |
| 4717 | + | // | |
| 4718 | + | // If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will | |
| 4719 | + | // be returned. If the file is a directory, the %G_IO_ERROR_IS_DIRECTORY | |
| 4720 | + | // error will be returned. Other errors are possible too, and depend on | |
| 4721 | + | // what kind of filesystem the file is on. Note that in many non-local | |
| 4722 | + | // file cases read and write streams are not supported, so make sure you | |
| 4723 | + | // really need to do read and write streaming, rather than just opening | |
| 4724 | + | // for reading or writing. | |
| 4725 | + | func (x *FileBase) OpenReadwrite(CancellableVar *Cancellable) (*FileIOStream, error) { | |
| 4726 | + | var cls *FileIOStream | |
| 4727 | + | var cerr *glib.Error | |
| 4728 | + | ||
| 4729 | + | cret := XGFileOpenReadwrite(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4730 | + | ||
| 4731 | + | if cret == 0 { | |
| 4732 | + | return nil, cerr | |
| 4733 | + | } | |
| 4734 | + | cls = &FileIOStream{} | |
| 4735 | + | cls.Ptr = cret | |
| 4736 | + | if cerr == nil { | |
| 4737 | + | return cls, nil | |
| 4738 | + | } | |
| 4739 | + | return cls, cerr | |
| 4740 | + | } | |
| 4741 | + | ||
| 4742 | + | // Asynchronously opens @file for reading and writing. | |
| 4743 | + | // | |
| 4744 | + | // For more details, see g_file_open_readwrite() which is | |
| 4745 | + | // the synchronous version of this call. | |
| 4746 | + | // | |
| 4747 | + | // When the operation is finished, @callback will be called. | |
| 4748 | + | // You can then call g_file_open_readwrite_finish() to get | |
| 4749 | + | // the result of the operation. | |
| 4750 | + | func (x *FileBase) OpenReadwriteAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4751 | + | XGFileOpenReadwriteAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4752 | + | } | |
| 4753 | + | ||
| 4754 | + | // Finishes an asynchronous file read operation started with | |
| 4755 | + | // g_file_open_readwrite_async(). | |
| 4756 | + | func (x *FileBase) OpenReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) { | |
| 4757 | + | var cls *FileIOStream | |
| 4758 | + | var cerr *glib.Error | |
| 4759 | + | ||
| 4760 | + | cret := XGFileOpenReadwriteFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 4761 | + | ||
| 4762 | + | if cret == 0 { | |
| 4763 | + | return nil, cerr | |
| 4764 | + | } | |
| 4765 | + | cls = &FileIOStream{} | |
| 4766 | + | cls.Ptr = cret | |
| 4767 | + | if cerr == nil { | |
| 4768 | + | return cls, nil | |
| 4769 | + | } | |
| 4770 | + | return cls, cerr | |
| 4771 | + | } | |
| 4772 | + | ||
| 4773 | + | // Exactly like g_file_get_path(), but caches the result via | |
| 4774 | + | // g_object_set_qdata_full(). This is useful for example in C | |
| 4775 | + | // applications which mix `g_file_*` APIs with native ones. It | |
| 4776 | + | // also avoids an extra duplicated string when possible, so will be | |
| 4777 | + | // generally more efficient. | |
| 4778 | + | // | |
| 4779 | + | // This call does no blocking I/O. | |
| 4780 | + | func (x *FileBase) PeekPath() string { | |
| 4781 | + | cret := XGFilePeekPath(x.GoPointer()) | |
| 4782 | + | return cret | |
| 4783 | + | } | |
| 4784 | + | ||
| 4785 | + | // Polls a file of type %G_FILE_TYPE_MOUNTABLE. | |
| 4786 | + | // | |
| 4787 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4788 | + | // triggering the cancellable object from another thread. If the operation | |
| 4789 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4790 | + | // | |
| 4791 | + | // When the operation is finished, @callback will be called. | |
| 4792 | + | // You can then call g_file_mount_mountable_finish() to get | |
| 4793 | + | // the result of the operation. | |
| 4794 | + | func (x *FileBase) PollMountable(CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4795 | + | XGFilePollMountable(x.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4796 | + | } | |
| 4797 | + | ||
| 4798 | + | // Finishes a poll operation. See g_file_poll_mountable() for details. | |
| 4799 | + | // | |
| 4800 | + | // Finish an asynchronous poll operation that was polled | |
| 4801 | + | // with g_file_poll_mountable(). | |
| 4802 | + | func (x *FileBase) PollMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 4803 | + | var cerr *glib.Error | |
| 4804 | + | ||
| 4805 | + | cret := XGFilePollMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4806 | + | if cerr == nil { | |
| 4807 | + | return cret, nil | |
| 4808 | + | } | |
| 4809 | + | return cret, cerr | |
| 4810 | + | } | |
| 4811 | + | ||
| 4812 | + | // Returns the #GAppInfo that is registered as the default | |
| 4813 | + | // application to handle the file specified by @file. | |
| 4814 | + | // | |
| 4815 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 4816 | + | // triggering the cancellable object from another thread. If the operation | |
| 4817 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 4818 | + | func (x *FileBase) QueryDefaultHandler(CancellableVar *Cancellable) (*AppInfoBase, error) { | |
| 4819 | + | var cls *AppInfoBase | |
| 4820 | + | var cerr *glib.Error | |
| 4821 | + | ||
| 4822 | + | cret := XGFileQueryDefaultHandler(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 4823 | + | ||
| 4824 | + | if cret == 0 { | |
| 4825 | + | return nil, cerr | |
| 4826 | + | } | |
| 4827 | + | cls = &AppInfoBase{} | |
| 4828 | + | cls.Ptr = cret | |
| 4829 | + | if cerr == nil { | |
| 4830 | + | return cls, nil | |
| 4831 | + | } | |
| 4832 | + | return cls, cerr | |
| 4833 | + | } | |
| 4834 | + | ||
| 4835 | + | // Async version of g_file_query_default_handler(). | |
| 4836 | + | func (x *FileBase) QueryDefaultHandlerAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4837 | + | XGFileQueryDefaultHandlerAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4838 | + | } | |
| 4839 | + | ||
| 4840 | + | // Finishes a g_file_query_default_handler_async() operation. | |
| 4841 | + | func (x *FileBase) QueryDefaultHandlerFinish(ResultVar AsyncResult) (*AppInfoBase, error) { | |
| 4842 | + | var cls *AppInfoBase | |
| 4843 | + | var cerr *glib.Error | |
| 4844 | + | ||
| 4845 | + | cret := XGFileQueryDefaultHandlerFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 4846 | + | ||
| 4847 | + | if cret == 0 { | |
| 4848 | + | return nil, cerr | |
| 4849 | + | } | |
| 4850 | + | cls = &AppInfoBase{} | |
| 4851 | + | cls.Ptr = cret | |
| 4852 | + | if cerr == nil { | |
| 4853 | + | return cls, nil | |
| 4854 | + | } | |
| 4855 | + | return cls, cerr | |
| 4856 | + | } | |
| 4857 | + | ||
| 4858 | + | // Utility function to check if a particular file exists. | |
| 4859 | + | // | |
| 4860 | + | // The fallback implementation of this API is using [method@Gio.File.query_info] | |
| 4861 | + | // and therefore may do blocking I/O. To asynchronously query the existence | |
| 4862 | + | // of a file, use [method@Gio.File.query_info_async]. | |
| 4863 | + | // | |
| 4864 | + | // 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) | |
| 4865 | + | // and then execute something based on the outcome of that, because the | |
| 4866 | + | // file might have been created or removed in between the operations. The | |
| 4867 | + | // general approach to handling that is to not check, but just do the | |
| 4868 | + | // operation and handle the errors as they come. | |
| 4869 | + | // | |
| 4870 | + | // As an example of race-free checking, take the case of reading a file, | |
| 4871 | + | // and if it doesn't exist, creating it. There are two racy versions: read | |
| 4872 | + | // it, and on error create it; and: check if it exists, if not create it. | |
| 4873 | + | // These can both result in two processes creating the file (with perhaps | |
| 4874 | + | // a partially written file as the result). The correct approach is to | |
| 4875 | + | // always try to create the file with g_file_create() which will either | |
| 4876 | + | // atomically create the file or fail with a %G_IO_ERROR_EXISTS error. | |
| 4877 | + | // | |
| 4878 | + | // However, in many cases an existence check is useful in a user interface, | |
| 4879 | + | // for instance to make a menu item sensitive/insensitive, so that you don't | |
| 4880 | + | // have to fool users that something is possible and then just show an error | |
| 4881 | + | // dialog. If you do this, you should make sure to also handle the errors | |
| 4882 | + | // that can happen due to races when you execute the operation. | |
| 4883 | + | func (x *FileBase) QueryExists(CancellableVar *Cancellable) bool { | |
| 4884 | + | cret := XGFileQueryExists(x.GoPointer(), CancellableVar.GoPointer()) | |
| 4885 | + | return cret | |
| 4886 | + | } | |
| 4887 | + | ||
| 4888 | + | // Utility function to inspect the #GFileType of a file. This is | |
| 4889 | + | // implemented using g_file_query_info() and as such does blocking I/O. | |
| 4890 | + | // | |
| 4891 | + | // The primary use case of this method is to check if a file is | |
| 4892 | + | // a regular file, directory, or symlink. | |
| 4893 | + | func (x *FileBase) QueryFileType(FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) FileType { | |
| 4894 | + | cret := XGFileQueryFileType(x.GoPointer(), FlagsVar, CancellableVar.GoPointer()) | |
| 4895 | + | return cret | |
| 4896 | + | } | |
| 4897 | + | ||
| 4898 | + | // Similar to g_file_query_info(), but obtains information | |
| 4899 | + | // about the filesystem the @file is on, rather than the file itself. | |
| 4900 | + | // For instance the amount of space available and the type of | |
| 4901 | + | // the filesystem. | |
| 4902 | + | // | |
| 4903 | + | // The @attributes value is a string that specifies the attributes | |
| 4904 | + | // that should be gathered. It is not an error if it's not possible | |
| 4905 | + | // to read a particular requested attribute from a file - it just | |
| 4906 | + | // won't be set. @attributes should be a comma-separated list of | |
| 4907 | + | // attributes or attribute wildcards. The wildcard "\*" means all | |
| 4908 | + | // attributes, and a wildcard like "filesystem::*" means all attributes | |
| 4909 | + | // in the filesystem namespace. The standard namespace for filesystem | |
| 4910 | + | // attributes is "filesystem". Common attributes of interest are | |
| 4911 | + | // %G_FILE_ATTRIBUTE_FILESYSTEM_SIZE (the total size of the filesystem | |
| 4912 | + | // in bytes), %G_FILE_ATTRIBUTE_FILESYSTEM_FREE (number of bytes available), | |
| 4913 | + | // and %G_FILE_ATTRIBUTE_FILESYSTEM_TYPE (type of the filesystem). | |
| 4914 | + | // | |
| 4915 | + | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 4916 | + | // by triggering the cancellable object from another thread. If the | |
| 4917 | + | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 4918 | + | // returned. | |
| 4919 | + | // | |
| 4920 | + | // If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will | |
| 4921 | + | // be returned. Other errors are possible too, and depend on what | |
| 4922 | + | // kind of filesystem the file is on. | |
| 4923 | + | func (x *FileBase) QueryFilesystemInfo(AttributesVar string, CancellableVar *Cancellable) (*FileInfo, error) { | |
| 4924 | + | var cls *FileInfo | |
| 4925 | + | var cerr *glib.Error | |
| 4926 | + | ||
| 4927 | + | cret := XGFileQueryFilesystemInfo(x.GoPointer(), AttributesVar, CancellableVar.GoPointer(), &cerr) | |
| 4928 | + | ||
| 4929 | + | if cret == 0 { | |
| 4930 | + | return nil, cerr | |
| 4931 | + | } | |
| 4932 | + | cls = &FileInfo{} | |
| 4933 | + | cls.Ptr = cret | |
| 4934 | + | if cerr == nil { | |
| 4935 | + | return cls, nil | |
| 4936 | + | } | |
| 4937 | + | return cls, cerr | |
| 4938 | + | } | |
| 4939 | + | ||
| 4940 | + | // Asynchronously gets the requested information about the filesystem | |
| 4941 | + | // that the specified @file is on. The result is a #GFileInfo object | |
| 4942 | + | // that contains key-value attributes (such as type or size for the | |
| 4943 | + | // file). | |
| 4944 | + | // | |
| 4945 | + | // For more details, see g_file_query_filesystem_info() which is the | |
| 4946 | + | // synchronous version of this call. | |
| 4947 | + | // | |
| 4948 | + | // When the operation is finished, @callback will be called. You can | |
| 4949 | + | // then call g_file_query_info_finish() to get the result of the | |
| 4950 | + | // operation. | |
| 4951 | + | func (x *FileBase) QueryFilesystemInfoAsync(AttributesVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 4952 | + | XGFileQueryFilesystemInfoAsync(x.GoPointer(), AttributesVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 4953 | + | } | |
| 4954 | + | ||
| 4955 | + | // Finishes an asynchronous filesystem info query. | |
| 4956 | + | // See g_file_query_filesystem_info_async(). | |
| 4957 | + | func (x *FileBase) QueryFilesystemInfoFinish(ResVar AsyncResult) (*FileInfo, error) { | |
| 4958 | + | var cls *FileInfo | |
| 4959 | + | var cerr *glib.Error | |
| 4960 | + | ||
| 4961 | + | cret := XGFileQueryFilesystemInfoFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 4962 | + | ||
| 4963 | + | if cret == 0 { | |
| 4964 | + | return nil, cerr | |
| 4965 | + | } | |
| 4966 | + | cls = &FileInfo{} | |
| 4967 | + | cls.Ptr = cret | |
| 4968 | + | if cerr == nil { | |
| 4969 | + | return cls, nil | |
| 4970 | + | } | |
| 4971 | + | return cls, cerr | |
| 4972 | + | } | |
| 4973 | + | ||
| 4974 | + | // Gets the requested information about specified @file. | |
| 4975 | + | // | |
| 4976 | + | // The result is a [class@Gio.FileInfo] object that contains key-value | |
| 4977 | + | // attributes (such as the type or size of the file). | |
| 4978 | + | // | |
| 4979 | + | // The @attributes value is a string that specifies the file | |
| 4980 | + | // attributes that should be gathered. It is not an error if | |
| 4981 | + | // it’s not possible to read a particular requested attribute | |
| 4982 | + | // from a file — it just won't be set. In particular this means that if a file | |
| 4983 | + | // is inaccessible (due to being in a folder with restrictive permissions), for | |
| 4984 | + | // example, you can expect the returned [class@Gio.FileInfo] to have very few | |
| 4985 | + | // attributes set. You should check whether an attribute is set using | |
| 4986 | + | // [method@Gio.FileInfo.has_attribute] before trying to retrieve its value. | |
| 4987 | + | // | |
| 4988 | + | // It is guaranteed that if any of the following attributes are listed in | |
| 4989 | + | // @attributes, they will always be set in the returned [class@Gio.FileInfo], | |
| 4990 | + | // even if the user doesn’t have permissions to access the file: | |
| 4991 | + | // | |
| 4992 | + | // - [const@Gio.FILE_ATTRIBUTE_STANDARD_NAME] | |
| 4993 | + | // - [const@Gio.FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME] | |
| 4994 | + | // | |
| 4995 | + | // @attributes should be a comma-separated list of attributes or attribute | |
| 4996 | + | // wildcards. The wildcard `"\*"` means all attributes, and a wildcard like | |
| 4997 | + | // `"standard::*"` means all attributes in the standard namespace. | |
| 4998 | + | // An example attribute query might be `"standard::*,owner::user"`. | |
| 4999 | + | // The standard attributes are available as defines, like | |
| 5000 | + | // [const@Gio.FILE_ATTRIBUTE_STANDARD_NAME]. | |
| 5001 | + | // | |
| 5002 | + | // If @cancellable is not `NULL`, then the operation can be cancelled | |
| 5003 | + | // by triggering the cancellable object from another thread. If the | |
| 5004 | + | // operation was cancelled, the error [error@Gio.IOErrorEnum.CANCELLED] will be | |
| 5005 | + | // returned. | |
| 5006 | + | // | |
| 5007 | + | // For symlinks, normally the information about the target of the | |
| 5008 | + | // symlink is returned, rather than information about the symlink | |
| 5009 | + | // itself. However if you pass [flags@Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS] | |
| 5010 | + | // in @flags the information about the symlink itself will be returned. | |
| 5011 | + | // Also, for symlinks that point to non-existing files the information | |
| 5012 | + | // about the symlink itself will be returned. | |
| 5013 | + | // | |
| 5014 | + | // If the file does not exist, the [error@Gio.IOErrorEnum.NOT_FOUND] error will be | |
| 5015 | + | // returned. Other errors are possible too, and depend on what kind of | |
| 5016 | + | // file system the file is on. | |
| 5017 | + | func (x *FileBase) QueryInfo(AttributesVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (*FileInfo, error) { | |
| 5018 | + | var cls *FileInfo | |
| 5019 | + | var cerr *glib.Error | |
| 5020 | + | ||
| 5021 | + | cret := XGFileQueryInfo(x.GoPointer(), AttributesVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5022 | + | ||
| 5023 | + | if cret == 0 { | |
| 5024 | + | return nil, cerr | |
| 5025 | + | } | |
| 5026 | + | cls = &FileInfo{} | |
| 5027 | + | cls.Ptr = cret | |
| 5028 | + | if cerr == nil { | |
| 5029 | + | return cls, nil | |
| 5030 | + | } | |
| 5031 | + | return cls, cerr | |
| 5032 | + | } | |
| 5033 | + | ||
| 5034 | + | // Asynchronously gets the requested information about specified @file. | |
| 5035 | + | // The result is a #GFileInfo object that contains key-value attributes | |
| 5036 | + | // (such as type or size for the file). | |
| 5037 | + | // | |
| 5038 | + | // For more details, see g_file_query_info() which is the synchronous | |
| 5039 | + | // version of this call. | |
| 5040 | + | // | |
| 5041 | + | // When the operation is finished, @callback will be called. You can | |
| 5042 | + | // then call g_file_query_info_finish() to get the result of the operation. | |
| 5043 | + | func (x *FileBase) QueryInfoAsync(AttributesVar string, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5044 | + | XGFileQueryInfoAsync(x.GoPointer(), AttributesVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5045 | + | } | |
| 5046 | + | ||
| 5047 | + | // Finishes an asynchronous file info query. | |
| 5048 | + | // See g_file_query_info_async(). | |
| 5049 | + | func (x *FileBase) QueryInfoFinish(ResVar AsyncResult) (*FileInfo, error) { | |
| 5050 | + | var cls *FileInfo | |
| 5051 | + | var cerr *glib.Error | |
| 5052 | + | ||
| 5053 | + | cret := XGFileQueryInfoFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5054 | + | ||
| 5055 | + | if cret == 0 { | |
| 5056 | + | return nil, cerr | |
| 5057 | + | } | |
| 5058 | + | cls = &FileInfo{} | |
| 5059 | + | cls.Ptr = cret | |
| 5060 | + | if cerr == nil { | |
| 5061 | + | return cls, nil | |
| 5062 | + | } | |
| 5063 | + | return cls, cerr | |
| 5064 | + | } | |
| 5065 | + | ||
| 5066 | + | // Obtain the list of settable attributes for the file. | |
| 5067 | + | // | |
| 5068 | + | // Returns the type and full attribute name of all the attributes | |
| 5069 | + | // that can be set on this file. This doesn't mean setting it will | |
| 5070 | + | // always succeed though, you might get an access failure, or some | |
| 5071 | + | // specific file may not support a specific attribute. | |
| 5072 | + | // | |
| 5073 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5074 | + | // triggering the cancellable object from another thread. If the operation | |
| 5075 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5076 | + | func (x *FileBase) QuerySettableAttributes(CancellableVar *Cancellable) (*FileAttributeInfoList, error) { | |
| 5077 | + | var cerr *glib.Error | |
| 5078 | + | ||
| 5079 | + | cret := XGFileQuerySettableAttributes(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5080 | + | if cerr != nil { | |
| 5081 | + | return nil, cerr | |
| 5082 | + | } | |
| 5083 | + | if cret == 0 { | |
| 5084 | + | return nil, nil | |
| 5085 | + | } | |
| 5086 | + | return (*FileAttributeInfoList)(unsafe.Pointer(cret)), nil | |
| 5087 | + | } | |
| 5088 | + | ||
| 5089 | + | // Obtain the list of attribute namespaces where new attributes | |
| 5090 | + | // can be created by a user. An example of this is extended | |
| 5091 | + | // attributes (in the "xattr" namespace). | |
| 5092 | + | // | |
| 5093 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5094 | + | // triggering the cancellable object from another thread. If the operation | |
| 5095 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5096 | + | func (x *FileBase) QueryWritableNamespaces(CancellableVar *Cancellable) (*FileAttributeInfoList, error) { | |
| 5097 | + | var cerr *glib.Error | |
| 5098 | + | ||
| 5099 | + | cret := XGFileQueryWritableNamespaces(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5100 | + | if cerr != nil { | |
| 5101 | + | return nil, cerr | |
| 5102 | + | } | |
| 5103 | + | if cret == 0 { | |
| 5104 | + | return nil, nil | |
| 5105 | + | } | |
| 5106 | + | return (*FileAttributeInfoList)(unsafe.Pointer(cret)), nil | |
| 5107 | + | } | |
| 5108 | + | ||
| 5109 | + | // Opens a file for reading. The result is a #GFileInputStream that | |
| 5110 | + | // can be used to read the contents of the file. | |
| 5111 | + | // | |
| 5112 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5113 | + | // triggering the cancellable object from another thread. If the operation | |
| 5114 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5115 | + | // | |
| 5116 | + | // If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will be | |
| 5117 | + | // returned. If the file is a directory, the %G_IO_ERROR_IS_DIRECTORY | |
| 5118 | + | // error will be returned. Other errors are possible too, and depend | |
| 5119 | + | // on what kind of filesystem the file is on. | |
| 5120 | + | func (x *FileBase) Read(CancellableVar *Cancellable) (*FileInputStream, error) { | |
| 5121 | + | var cls *FileInputStream | |
| 5122 | + | var cerr *glib.Error | |
| 5123 | + | ||
| 5124 | + | cret := XGFileRead(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5125 | + | ||
| 5126 | + | if cret == 0 { | |
| 5127 | + | return nil, cerr | |
| 5128 | + | } | |
| 5129 | + | cls = &FileInputStream{} | |
| 5130 | + | cls.Ptr = cret | |
| 5131 | + | if cerr == nil { | |
| 5132 | + | return cls, nil | |
| 5133 | + | } | |
| 5134 | + | return cls, cerr | |
| 5135 | + | } | |
| 5136 | + | ||
| 5137 | + | // Asynchronously opens @file for reading. | |
| 5138 | + | // | |
| 5139 | + | // For more details, see g_file_read() which is | |
| 5140 | + | // the synchronous version of this call. | |
| 5141 | + | // | |
| 5142 | + | // When the operation is finished, @callback will be called. | |
| 5143 | + | // You can then call g_file_read_finish() to get the result | |
| 5144 | + | // of the operation. | |
| 5145 | + | func (x *FileBase) ReadAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5146 | + | XGFileReadAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5147 | + | } | |
| 5148 | + | ||
| 5149 | + | // Finishes an asynchronous file read operation started with | |
| 5150 | + | // g_file_read_async(). | |
| 5151 | + | func (x *FileBase) ReadFinish(ResVar AsyncResult) (*FileInputStream, error) { | |
| 5152 | + | var cls *FileInputStream | |
| 5153 | + | var cerr *glib.Error | |
| 5154 | + | ||
| 5155 | + | cret := XGFileReadFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5156 | + | ||
| 5157 | + | if cret == 0 { | |
| 5158 | + | return nil, cerr | |
| 5159 | + | } | |
| 5160 | + | cls = &FileInputStream{} | |
| 5161 | + | cls.Ptr = cret | |
| 5162 | + | if cerr == nil { | |
| 5163 | + | return cls, nil | |
| 5164 | + | } | |
| 5165 | + | return cls, cerr | |
| 5166 | + | } | |
| 5167 | + | ||
| 5168 | + | // Returns an output stream for overwriting the file, possibly | |
| 5169 | + | // creating a backup copy of the file first. If the file doesn't exist, | |
| 5170 | + | // it will be created. | |
| 5171 | + | // | |
| 5172 | + | // This will try to replace the file in the safest way possible so | |
| 5173 | + | // that any errors during the writing will not affect an already | |
| 5174 | + | // existing copy of the file. For instance, for local files it | |
| 5175 | + | // may write to a temporary file and then atomically rename over | |
| 5176 | + | // the destination when the stream is closed. | |
| 5177 | + | // | |
| 5178 | + | // By default files created are generally readable by everyone, | |
| 5179 | + | // but if you pass %G_FILE_CREATE_PRIVATE in @flags the file | |
| 5180 | + | // will be made readable only to the current user, to the level that | |
| 5181 | + | // is supported on the target filesystem. | |
| 5182 | + | // | |
| 5183 | + | // If @cancellable is not %NULL, then the operation can be cancelled | |
| 5184 | + | // by triggering the cancellable object from another thread. If the | |
| 5185 | + | // operation was cancelled, the error %G_IO_ERROR_CANCELLED will be | |
| 5186 | + | // returned. | |
| 5187 | + | // | |
| 5188 | + | // If you pass in a non-%NULL @etag value and @file already exists, then | |
| 5189 | + | // this value is compared to the current entity tag of the file, and if | |
| 5190 | + | // they differ an %G_IO_ERROR_WRONG_ETAG error is returned. This | |
| 5191 | + | // generally means that the file has been changed since you last read | |
| 5192 | + | // it. You can get the new etag from g_file_output_stream_get_etag() | |
| 5193 | + | // after you've finished writing and closed the #GFileOutputStream. When | |
| 5194 | + | // you load a new file you can use g_file_input_stream_query_info() to | |
| 5195 | + | // get the etag of the file. | |
| 5196 | + | // | |
| 5197 | + | // If @make_backup is %TRUE, this function will attempt to make a | |
| 5198 | + | // backup of the current file before overwriting it. If this fails | |
| 5199 | + | // a %G_IO_ERROR_CANT_CREATE_BACKUP error will be returned. If you | |
| 5200 | + | // want to replace anyway, try again with @make_backup set to %FALSE. | |
| 5201 | + | // | |
| 5202 | + | // If the file is a directory the %G_IO_ERROR_IS_DIRECTORY error will | |
| 5203 | + | // be returned, and if the file is some other form of non-regular file | |
| 5204 | + | // then a %G_IO_ERROR_NOT_REGULAR_FILE error will be returned. Some | |
| 5205 | + | // file systems don't allow all file names, and may return an | |
| 5206 | + | // %G_IO_ERROR_INVALID_FILENAME error, and if the name is to long | |
| 5207 | + | // %G_IO_ERROR_FILENAME_TOO_LONG will be returned. Other errors are | |
| 5208 | + | // possible too, and depend on what kind of filesystem the file is on. | |
| 5209 | + | func (x *FileBase) Replace(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileOutputStream, error) { | |
| 5210 | + | var cls *FileOutputStream | |
| 5211 | + | var cerr *glib.Error | |
| 5212 | + | ||
| 5213 | + | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5214 | + | defer core.GFreeNullable(EtagVarPtr) | |
| 5215 | + | ||
| 5216 | + | cret := XGFileReplace(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5217 | + | ||
| 5218 | + | if cret == 0 { | |
| 5219 | + | return nil, cerr | |
| 5220 | + | } | |
| 5221 | + | cls = &FileOutputStream{} | |
| 5222 | + | cls.Ptr = cret | |
| 5223 | + | if cerr == nil { | |
| 5224 | + | return cls, nil | |
| 5225 | + | } | |
| 5226 | + | return cls, cerr | |
| 5227 | + | } | |
| 5228 | + | ||
| 5229 | + | // Asynchronously overwrites the file, replacing the contents, | |
| 5230 | + | // possibly creating a backup copy of the file first. | |
| 5231 | + | // | |
| 5232 | + | // For more details, see g_file_replace() which is | |
| 5233 | + | // the synchronous version of this call. | |
| 5234 | + | // | |
| 5235 | + | // When the operation is finished, @callback will be called. | |
| 5236 | + | // You can then call g_file_replace_finish() to get the result | |
| 5237 | + | // of the operation. | |
| 5238 | + | func (x *FileBase) ReplaceAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5239 | + | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5240 | + | defer core.GFreeNullable(EtagVarPtr) | |
| 5241 | + | ||
| 5242 | + | XGFileReplaceAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5243 | + | } | |
| 5244 | + | ||
| 5245 | + | // Replaces the contents of @file with @contents of @length bytes. | |
| 5246 | + | // | |
| 5247 | + | // If @etag is specified (not %NULL), any existing file must have that etag, | |
| 5248 | + | // or the error %G_IO_ERROR_WRONG_ETAG will be returned. | |
| 5249 | + | // | |
| 5250 | + | // If @make_backup is %TRUE, this function will attempt to make a backup | |
| 5251 | + | // of @file. Internally, it uses g_file_replace(), so will try to replace the | |
| 5252 | + | // file contents in the safest way possible. For example, atomic renames are | |
| 5253 | + | // used when replacing local files’ contents. | |
| 5254 | + | // | |
| 5255 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5256 | + | // triggering the cancellable object from another thread. If the operation | |
| 5257 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5258 | + | // | |
| 5259 | + | // The returned @new_etag can be used to verify that the file hasn't | |
| 5260 | + | // changed the next time it is saved over. | |
| 5261 | + | func (x *FileBase) ReplaceContents(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, NewEtagVar *string, CancellableVar *Cancellable) (bool, error) { | |
| 5262 | + | var cerr *glib.Error | |
| 5263 | + | ||
| 5264 | + | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5265 | + | defer core.GFreeNullable(EtagVarPtr) | |
| 5266 | + | ||
| 5267 | + | cret := XGFileReplaceContents(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, NewEtagVar, CancellableVar.GoPointer(), &cerr) | |
| 5268 | + | if cerr == nil { | |
| 5269 | + | return cret, nil | |
| 5270 | + | } | |
| 5271 | + | return cret, cerr | |
| 5272 | + | } | |
| 5273 | + | ||
| 5274 | + | // Starts an asynchronous replacement of @file with the given | |
| 5275 | + | // @contents of @length bytes. @etag will replace the document's | |
| 5276 | + | // current entity tag. | |
| 5277 | + | // | |
| 5278 | + | // When this operation has completed, @callback will be called with | |
| 5279 | + | // @user_user data, and the operation can be finalized with | |
| 5280 | + | // g_file_replace_contents_finish(). | |
| 5281 | + | // | |
| 5282 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5283 | + | // triggering the cancellable object from another thread. If the operation | |
| 5284 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5285 | + | // | |
| 5286 | + | // If @make_backup is %TRUE, this function will attempt to | |
| 5287 | + | // make a backup of @file. | |
| 5288 | + | // | |
| 5289 | + | // Note that no copy of @contents will be made, so it must stay valid | |
| 5290 | + | // until @callback is called. See g_file_replace_contents_bytes_async() | |
| 5291 | + | // for a #GBytes version that will automatically hold a reference to the | |
| 5292 | + | // contents (without copying) for the duration of the call. | |
| 5293 | + | func (x *FileBase) ReplaceContentsAsync(ContentsVar string, LengthVar uint, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5294 | + | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5295 | + | defer core.GFreeNullable(EtagVarPtr) | |
| 5296 | + | ||
| 5297 | + | XGFileReplaceContentsAsync(x.GoPointer(), ContentsVar, LengthVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5298 | + | } | |
| 5299 | + | ||
| 5300 | + | // Same as g_file_replace_contents_async() but takes a #GBytes input instead. | |
| 5301 | + | // This function will keep a ref on @contents until the operation is done. | |
| 5302 | + | // Unlike g_file_replace_contents_async() this allows forgetting about the | |
| 5303 | + | // content without waiting for the callback. | |
| 5304 | + | // | |
| 5305 | + | // When this operation has completed, @callback will be called with | |
| 5306 | + | // @user_user data, and the operation can be finalized with | |
| 5307 | + | // g_file_replace_contents_finish(). | |
| 5308 | + | func (x *FileBase) ReplaceContentsBytesAsync(ContentsVar *glib.Bytes, EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5309 | + | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5310 | + | defer core.GFreeNullable(EtagVarPtr) | |
| 5311 | + | ||
| 5312 | + | XGFileReplaceContentsBytesAsync(x.GoPointer(), ContentsVar, EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5313 | + | } | |
| 5314 | + | ||
| 5315 | + | // Finishes an asynchronous replace of the given @file. See | |
| 5316 | + | // g_file_replace_contents_async(). Sets @new_etag to the new entity | |
| 5317 | + | // tag for the document, if present. | |
| 5318 | + | func (x *FileBase) ReplaceContentsFinish(ResVar AsyncResult, NewEtagVar *string) (bool, error) { | |
| 5319 | + | var cerr *glib.Error | |
| 5320 | + | ||
| 5321 | + | cret := XGFileReplaceContentsFinish(x.GoPointer(), ResVar.GoPointer(), NewEtagVar, &cerr) | |
| 5322 | + | if cerr == nil { | |
| 5323 | + | return cret, nil | |
| 5324 | + | } | |
| 5325 | + | return cret, cerr | |
| 5326 | + | } | |
| 5327 | + | ||
| 5328 | + | // Finishes an asynchronous file replace operation started with | |
| 5329 | + | // g_file_replace_async(). | |
| 5330 | + | func (x *FileBase) ReplaceFinish(ResVar AsyncResult) (*FileOutputStream, error) { | |
| 5331 | + | var cls *FileOutputStream | |
| 5332 | + | var cerr *glib.Error | |
| 5333 | + | ||
| 5334 | + | cret := XGFileReplaceFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5335 | + | ||
| 5336 | + | if cret == 0 { | |
| 5337 | + | return nil, cerr | |
| 5338 | + | } | |
| 5339 | + | cls = &FileOutputStream{} | |
| 5340 | + | cls.Ptr = cret | |
| 5341 | + | if cerr == nil { | |
| 5342 | + | return cls, nil | |
| 5343 | + | } | |
| 5344 | + | return cls, cerr | |
| 5345 | + | } | |
| 5346 | + | ||
| 5347 | + | // Returns an output stream for overwriting the file in readwrite mode, | |
| 5348 | + | // possibly creating a backup copy of the file first. If the file doesn't | |
| 5349 | + | // exist, it will be created. | |
| 5350 | + | // | |
| 5351 | + | // For details about the behaviour, see g_file_replace() which does the | |
| 5352 | + | // same thing but returns an output stream only. | |
| 5353 | + | // | |
| 5354 | + | // Note that in many non-local file cases read and write streams are not | |
| 5355 | + | // supported, so make sure you really need to do read and write streaming, | |
| 5356 | + | // rather than just opening for reading or writing. | |
| 5357 | + | func (x *FileBase) ReplaceReadwrite(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, CancellableVar *Cancellable) (*FileIOStream, error) { | |
| 5358 | + | var cls *FileIOStream | |
| 5359 | + | var cerr *glib.Error | |
| 5360 | + | ||
| 5361 | + | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5362 | + | defer core.GFreeNullable(EtagVarPtr) | |
| 5363 | + | ||
| 5364 | + | cret := XGFileReplaceReadwrite(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5365 | + | ||
| 5366 | + | if cret == 0 { | |
| 5367 | + | return nil, cerr | |
| 5368 | + | } | |
| 5369 | + | cls = &FileIOStream{} | |
| 5370 | + | cls.Ptr = cret | |
| 5371 | + | if cerr == nil { | |
| 5372 | + | return cls, nil | |
| 5373 | + | } | |
| 5374 | + | return cls, cerr | |
| 5375 | + | } | |
| 5376 | + | ||
| 5377 | + | // Asynchronously overwrites the file in read-write mode, | |
| 5378 | + | // replacing the contents, possibly creating a backup copy | |
| 5379 | + | // of the file first. | |
| 5380 | + | // | |
| 5381 | + | // For more details, see g_file_replace_readwrite() which is | |
| 5382 | + | // the synchronous version of this call. | |
| 5383 | + | // | |
| 5384 | + | // When the operation is finished, @callback will be called. | |
| 5385 | + | // You can then call g_file_replace_readwrite_finish() to get | |
| 5386 | + | // the result of the operation. | |
| 5387 | + | func (x *FileBase) ReplaceReadwriteAsync(EtagVar *string, MakeBackupVar bool, FlagsVar FileCreateFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5388 | + | EtagVarPtr := core.GStrdupNullable(EtagVar) | |
| 5389 | + | defer core.GFreeNullable(EtagVarPtr) | |
| 5390 | + | ||
| 5391 | + | XGFileReplaceReadwriteAsync(x.GoPointer(), EtagVarPtr, MakeBackupVar, FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5392 | + | } | |
| 5393 | + | ||
| 5394 | + | // Finishes an asynchronous file replace operation started with | |
| 5395 | + | // g_file_replace_readwrite_async(). | |
| 5396 | + | func (x *FileBase) ReplaceReadwriteFinish(ResVar AsyncResult) (*FileIOStream, error) { | |
| 5397 | + | var cls *FileIOStream | |
| 5398 | + | var cerr *glib.Error | |
| 5399 | + | ||
| 5400 | + | cret := XGFileReplaceReadwriteFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5401 | + | ||
| 5402 | + | if cret == 0 { | |
| 5403 | + | return nil, cerr | |
| 5404 | + | } | |
| 5405 | + | cls = &FileIOStream{} | |
| 5406 | + | cls.Ptr = cret | |
| 5407 | + | if cerr == nil { | |
| 5408 | + | return cls, nil | |
| 5409 | + | } | |
| 5410 | + | return cls, cerr | |
| 5411 | + | } | |
| 5412 | + | ||
| 5413 | + | // Resolves a relative path for @file to an absolute path. | |
| 5414 | + | // | |
| 5415 | + | // This call does no blocking I/O. | |
| 5416 | + | // | |
| 5417 | + | // If the @relative_path is an absolute path name, the resolution | |
| 5418 | + | // is done absolutely (without taking @file path as base). | |
| 5419 | + | func (x *FileBase) ResolveRelativePath(RelativePathVar string) *FileBase { | |
| 5420 | + | var cls *FileBase | |
| 5421 | + | ||
| 5422 | + | cret := XGFileResolveRelativePath(x.GoPointer(), RelativePathVar) | |
| 5423 | + | ||
| 5424 | + | if cret == 0 { | |
| 5425 | + | return nil | |
| 5426 | + | } | |
| 5427 | + | cls = &FileBase{} | |
| 5428 | + | cls.Ptr = cret | |
| 5429 | + | return cls | |
| 5430 | + | } | |
| 5431 | + | ||
| 5432 | + | // Sets an attribute in the file with attribute name @attribute to @value_p. | |
| 5433 | + | // | |
| 5434 | + | // Some attributes can be unset by setting @type to | |
| 5435 | + | // %G_FILE_ATTRIBUTE_TYPE_INVALID and @value_p to %NULL. | |
| 5436 | + | // | |
| 5437 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5438 | + | // triggering the cancellable object from another thread. If the operation | |
| 5439 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5440 | + | func (x *FileBase) SetAttribute(AttributeVar string, TypeVar FileAttributeType, ValuePVar uintptr, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5441 | + | var cerr *glib.Error | |
| 5442 | + | ||
| 5443 | + | cret := XGFileSetAttribute(x.GoPointer(), AttributeVar, TypeVar, ValuePVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5444 | + | if cerr == nil { | |
| 5445 | + | return cret, nil | |
| 5446 | + | } | |
| 5447 | + | return cret, cerr | |
| 5448 | + | } | |
| 5449 | + | ||
| 5450 | + | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING to @value. | |
| 5451 | + | // If @attribute is of a different type, this operation will fail, | |
| 5452 | + | // returning %FALSE. | |
| 5453 | + | // | |
| 5454 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5455 | + | // triggering the cancellable object from another thread. If the operation | |
| 5456 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5457 | + | func (x *FileBase) SetAttributeByteString(AttributeVar string, ValueVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5458 | + | var cerr *glib.Error | |
| 5459 | + | ||
| 5460 | + | cret := XGFileSetAttributeByteString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5461 | + | if cerr == nil { | |
| 5462 | + | return cret, nil | |
| 5463 | + | } | |
| 5464 | + | return cret, cerr | |
| 5465 | + | } | |
| 5466 | + | ||
| 5467 | + | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT32 to @value. | |
| 5468 | + | // If @attribute is of a different type, this operation will fail. | |
| 5469 | + | // | |
| 5470 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5471 | + | // triggering the cancellable object from another thread. If the operation | |
| 5472 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5473 | + | func (x *FileBase) SetAttributeInt32(AttributeVar string, ValueVar int32, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5474 | + | var cerr *glib.Error | |
| 5475 | + | ||
| 5476 | + | cret := XGFileSetAttributeInt32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5477 | + | if cerr == nil { | |
| 5478 | + | return cret, nil | |
| 5479 | + | } | |
| 5480 | + | return cret, cerr | |
| 5481 | + | } | |
| 5482 | + | ||
| 5483 | + | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_INT64 to @value. | |
| 5484 | + | // If @attribute is of a different type, this operation will fail. | |
| 5485 | + | // | |
| 5486 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5487 | + | // triggering the cancellable object from another thread. If the operation | |
| 5488 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5489 | + | func (x *FileBase) SetAttributeInt64(AttributeVar string, ValueVar int64, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5490 | + | var cerr *glib.Error | |
| 5491 | + | ||
| 5492 | + | cret := XGFileSetAttributeInt64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5493 | + | if cerr == nil { | |
| 5494 | + | return cret, nil | |
| 5495 | + | } | |
| 5496 | + | return cret, cerr | |
| 5497 | + | } | |
| 5498 | + | ||
| 5499 | + | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_STRING to @value. | |
| 5500 | + | // If @attribute is of a different type, this operation will fail. | |
| 5501 | + | // | |
| 5502 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5503 | + | // triggering the cancellable object from another thread. If the operation | |
| 5504 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5505 | + | func (x *FileBase) SetAttributeString(AttributeVar string, ValueVar string, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5506 | + | var cerr *glib.Error | |
| 5507 | + | ||
| 5508 | + | cret := XGFileSetAttributeString(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5509 | + | if cerr == nil { | |
| 5510 | + | return cret, nil | |
| 5511 | + | } | |
| 5512 | + | return cret, cerr | |
| 5513 | + | } | |
| 5514 | + | ||
| 5515 | + | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT32 to @value. | |
| 5516 | + | // If @attribute is of a different type, this operation will fail. | |
| 5517 | + | // | |
| 5518 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5519 | + | // triggering the cancellable object from another thread. If the operation | |
| 5520 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5521 | + | func (x *FileBase) SetAttributeUint32(AttributeVar string, ValueVar uint32, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5522 | + | var cerr *glib.Error | |
| 5523 | + | ||
| 5524 | + | cret := XGFileSetAttributeUint32(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5525 | + | if cerr == nil { | |
| 5526 | + | return cret, nil | |
| 5527 | + | } | |
| 5528 | + | return cret, cerr | |
| 5529 | + | } | |
| 5530 | + | ||
| 5531 | + | // Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_UINT64 to @value. | |
| 5532 | + | // If @attribute is of a different type, this operation will fail. | |
| 5533 | + | // | |
| 5534 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5535 | + | // triggering the cancellable object from another thread. If the operation | |
| 5536 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5537 | + | func (x *FileBase) SetAttributeUint64(AttributeVar string, ValueVar uint64, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5538 | + | var cerr *glib.Error | |
| 5539 | + | ||
| 5540 | + | cret := XGFileSetAttributeUint64(x.GoPointer(), AttributeVar, ValueVar, FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5541 | + | if cerr == nil { | |
| 5542 | + | return cret, nil | |
| 5543 | + | } | |
| 5544 | + | return cret, cerr | |
| 5545 | + | } | |
| 5546 | + | ||
| 5547 | + | // Asynchronously sets the attributes of @file with @info. | |
| 5548 | + | // | |
| 5549 | + | // For more details, see g_file_set_attributes_from_info(), | |
| 5550 | + | // which is the synchronous version of this call. | |
| 5551 | + | // | |
| 5552 | + | // When the operation is finished, @callback will be called. | |
| 5553 | + | // You can then call g_file_set_attributes_finish() to get | |
| 5554 | + | // the result of the operation. | |
| 5555 | + | func (x *FileBase) SetAttributesAsync(InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5556 | + | XGFileSetAttributesAsync(x.GoPointer(), InfoVar.GoPointer(), FlagsVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5557 | + | } | |
| 5558 | + | ||
| 5559 | + | // Finishes setting an attribute started in g_file_set_attributes_async(). | |
| 5560 | + | func (x *FileBase) SetAttributesFinish(ResultVar AsyncResult, InfoVar **FileInfo) (bool, error) { | |
| 5561 | + | var cerr *glib.Error | |
| 5562 | + | ||
| 5563 | + | cret := XGFileSetAttributesFinish(x.GoPointer(), ResultVar.GoPointer(), InfoVar, &cerr) | |
| 5564 | + | if cerr == nil { | |
| 5565 | + | return cret, nil | |
| 5566 | + | } | |
| 5567 | + | return cret, cerr | |
| 5568 | + | } | |
| 5569 | + | ||
| 5570 | + | // Tries to set all attributes in the #GFileInfo on the target | |
| 5571 | + | // values, not stopping on the first error. | |
| 5572 | + | // | |
| 5573 | + | // If there is any error during this operation then @error will | |
| 5574 | + | // be set to the first error. Error on particular fields are flagged | |
| 5575 | + | // by setting the "status" field in the attribute value to | |
| 5576 | + | // %G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING, which means you can | |
| 5577 | + | // also detect further errors. | |
| 5578 | + | // | |
| 5579 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5580 | + | // triggering the cancellable object from another thread. If the operation | |
| 5581 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5582 | + | func (x *FileBase) SetAttributesFromInfo(InfoVar *FileInfo, FlagsVar FileQueryInfoFlags, CancellableVar *Cancellable) (bool, error) { | |
| 5583 | + | var cerr *glib.Error | |
| 5584 | + | ||
| 5585 | + | cret := XGFileSetAttributesFromInfo(x.GoPointer(), InfoVar.GoPointer(), FlagsVar, CancellableVar.GoPointer(), &cerr) | |
| 5586 | + | if cerr == nil { | |
| 5587 | + | return cret, nil | |
| 5588 | + | } | |
| 5589 | + | return cret, cerr | |
| 5590 | + | } | |
| 5591 | + | ||
| 5592 | + | // Renames @file to the specified display name. | |
| 5593 | + | // | |
| 5594 | + | // The display name is converted from UTF-8 to the correct encoding | |
| 5595 | + | // for the target filesystem if possible and the @file is renamed to this. | |
| 5596 | + | // | |
| 5597 | + | // If you want to implement a rename operation in the user interface the | |
| 5598 | + | // edit name (%G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME) should be used as the | |
| 5599 | + | // initial value in the rename widget, and then the result after editing | |
| 5600 | + | // should be passed to g_file_set_display_name(). | |
| 5601 | + | // | |
| 5602 | + | // On success the resulting converted filename is returned. | |
| 5603 | + | // | |
| 5604 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5605 | + | // triggering the cancellable object from another thread. If the operation | |
| 5606 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5607 | + | func (x *FileBase) SetDisplayName(DisplayNameVar string, CancellableVar *Cancellable) (*FileBase, error) { | |
| 5608 | + | var cls *FileBase | |
| 5609 | + | var cerr *glib.Error | |
| 5610 | + | ||
| 5611 | + | cret := XGFileSetDisplayName(x.GoPointer(), DisplayNameVar, CancellableVar.GoPointer(), &cerr) | |
| 5612 | + | ||
| 5613 | + | if cret == 0 { | |
| 5614 | + | return nil, cerr | |
| 5615 | + | } | |
| 5616 | + | cls = &FileBase{} | |
| 5617 | + | cls.Ptr = cret | |
| 5618 | + | if cerr == nil { | |
| 5619 | + | return cls, nil | |
| 5620 | + | } | |
| 5621 | + | return cls, cerr | |
| 5622 | + | } | |
| 5623 | + | ||
| 5624 | + | // Asynchronously sets the display name for a given #GFile. | |
| 5625 | + | // | |
| 5626 | + | // For more details, see g_file_set_display_name() which is | |
| 5627 | + | // the synchronous version of this call. | |
| 5628 | + | // | |
| 5629 | + | // When the operation is finished, @callback will be called. | |
| 5630 | + | // You can then call g_file_set_display_name_finish() to get | |
| 5631 | + | // the result of the operation. | |
| 5632 | + | func (x *FileBase) SetDisplayNameAsync(DisplayNameVar string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5633 | + | XGFileSetDisplayNameAsync(x.GoPointer(), DisplayNameVar, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5634 | + | } | |
| 5635 | + | ||
| 5636 | + | // Finishes setting a display name started with | |
| 5637 | + | // g_file_set_display_name_async(). | |
| 5638 | + | func (x *FileBase) SetDisplayNameFinish(ResVar AsyncResult) (*FileBase, error) { | |
| 5639 | + | var cls *FileBase | |
| 5640 | + | var cerr *glib.Error | |
| 5641 | + | ||
| 5642 | + | cret := XGFileSetDisplayNameFinish(x.GoPointer(), ResVar.GoPointer(), &cerr) | |
| 5643 | + | ||
| 5644 | + | if cret == 0 { | |
| 5645 | + | return nil, cerr | |
| 5646 | + | } | |
| 5647 | + | cls = &FileBase{} | |
| 5648 | + | cls.Ptr = cret | |
| 5649 | + | if cerr == nil { | |
| 5650 | + | return cls, nil | |
| 5651 | + | } | |
| 5652 | + | return cls, cerr | |
| 5653 | + | } | |
| 5654 | + | ||
| 5655 | + | // Starts a file of type %G_FILE_TYPE_MOUNTABLE. | |
| 5656 | + | // Using @start_operation, you can request callbacks when, for instance, | |
| 5657 | + | // passwords are needed during authentication. | |
| 5658 | + | // | |
| 5659 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5660 | + | // triggering the cancellable object from another thread. If the operation | |
| 5661 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5662 | + | // | |
| 5663 | + | // When the operation is finished, @callback will be called. | |
| 5664 | + | // You can then call g_file_mount_mountable_finish() to get | |
| 5665 | + | // the result of the operation. | |
| 5666 | + | func (x *FileBase) StartMountable(FlagsVar DriveStartFlags, StartOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5667 | + | XGFileStartMountable(x.GoPointer(), FlagsVar, StartOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5668 | + | } | |
| 5669 | + | ||
| 5670 | + | // Finishes a start operation. See g_file_start_mountable() for details. | |
| 5671 | + | // | |
| 5672 | + | // Finish an asynchronous start operation that was started | |
| 5673 | + | // with g_file_start_mountable(). | |
| 5674 | + | func (x *FileBase) StartMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 5675 | + | var cerr *glib.Error | |
| 5676 | + | ||
| 5677 | + | cret := XGFileStartMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5678 | + | if cerr == nil { | |
| 5679 | + | return cret, nil | |
| 5680 | + | } | |
| 5681 | + | return cret, cerr | |
| 5682 | + | } | |
| 5683 | + | ||
| 5684 | + | // Stops a file of type %G_FILE_TYPE_MOUNTABLE. | |
| 5685 | + | // | |
| 5686 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5687 | + | // triggering the cancellable object from another thread. If the operation | |
| 5688 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5689 | + | // | |
| 5690 | + | // When the operation is finished, @callback will be called. | |
| 5691 | + | // You can then call g_file_stop_mountable_finish() to get | |
| 5692 | + | // the result of the operation. | |
| 5693 | + | func (x *FileBase) StopMountable(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5694 | + | XGFileStopMountable(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5695 | + | } | |
| 5696 | + | ||
| 5697 | + | // Finishes a stop operation, see g_file_stop_mountable() for details. | |
| 5698 | + | // | |
| 5699 | + | // Finish an asynchronous stop operation that was started | |
| 5700 | + | // with g_file_stop_mountable(). | |
| 5701 | + | func (x *FileBase) StopMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 5702 | + | var cerr *glib.Error | |
| 5703 | + | ||
| 5704 | + | cret := XGFileStopMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5705 | + | if cerr == nil { | |
| 5706 | + | return cret, nil | |
| 5707 | + | } | |
| 5708 | + | return cret, cerr | |
| 5709 | + | } | |
| 5710 | + | ||
| 5711 | + | // Checks if @file supports thread-default main contexts | |
| 5712 | + | // (see [method@GLib.MainContext.push_thread_default]) | |
| 5713 | + | // If this returns %FALSE, you cannot perform asynchronous operations on | |
| 5714 | + | // @file in a thread that has a thread-default context. | |
| 5715 | + | func (x *FileBase) SupportsThreadContexts() bool { | |
| 5716 | + | cret := XGFileSupportsThreadContexts(x.GoPointer()) | |
| 5717 | + | return cret | |
| 5718 | + | } | |
| 5719 | + | ||
| 5720 | + | // Sends @file to the "Trashcan", if possible. This is similar to | |
| 5721 | + | // deleting it, but the user can recover it before emptying the trashcan. | |
| 5722 | + | // Trashing is disabled for system mounts by default (see | |
| 5723 | + | // g_unix_mount_entry_is_system_internal()), so this call can return the | |
| 5724 | + | // %G_IO_ERROR_NOT_SUPPORTED error. Since GLib 2.66, the `x-gvfs-notrash` unix | |
| 5725 | + | // mount option can be used to disable g_file_trash() support for particular | |
| 5726 | + | // mounts, the %G_IO_ERROR_NOT_SUPPORTED error will be returned in that case. | |
| 5727 | + | // Since 2.82, the `x-gvfs-trash` unix mount option can be used to enable | |
| 5728 | + | // g_file_trash() support for particular system mounts. | |
| 5729 | + | // | |
| 5730 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5731 | + | // triggering the cancellable object from another thread. If the operation | |
| 5732 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5733 | + | func (x *FileBase) Trash(CancellableVar *Cancellable) (bool, error) { | |
| 5734 | + | var cerr *glib.Error | |
| 5735 | + | ||
| 5736 | + | cret := XGFileTrash(x.GoPointer(), CancellableVar.GoPointer(), &cerr) | |
| 5737 | + | if cerr == nil { | |
| 5738 | + | return cret, nil | |
| 5739 | + | } | |
| 5740 | + | return cret, cerr | |
| 5741 | + | } | |
| 5742 | + | ||
| 5743 | + | // Asynchronously sends @file to the Trash location, if possible. | |
| 5744 | + | func (x *FileBase) TrashAsync(IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5745 | + | XGFileTrashAsync(x.GoPointer(), IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5746 | + | } | |
| 5747 | + | ||
| 5748 | + | // Finishes an asynchronous file trashing operation, started with | |
| 5749 | + | // g_file_trash_async(). | |
| 5750 | + | func (x *FileBase) TrashFinish(ResultVar AsyncResult) (bool, error) { | |
| 5751 | + | var cerr *glib.Error | |
| 5752 | + | ||
| 5753 | + | cret := XGFileTrashFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5754 | + | if cerr == nil { | |
| 5755 | + | return cret, nil | |
| 5756 | + | } | |
| 5757 | + | return cret, cerr | |
| 5758 | + | } | |
| 5759 | + | ||
| 5760 | + | // Unmounts a file of type G_FILE_TYPE_MOUNTABLE. | |
| 5761 | + | // | |
| 5762 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5763 | + | // triggering the cancellable object from another thread. If the operation | |
| 5764 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5765 | + | // | |
| 5766 | + | // When the operation is finished, @callback will be called. | |
| 5767 | + | // You can then call g_file_unmount_mountable_finish() to get | |
| 5768 | + | // the result of the operation. | |
| 5769 | + | func (x *FileBase) UnmountMountable(FlagsVar MountUnmountFlags, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5770 | + | XGFileUnmountMountable(x.GoPointer(), FlagsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5771 | + | } | |
| 5772 | + | ||
| 5773 | + | // Finishes an unmount operation, see g_file_unmount_mountable() for details. | |
| 5774 | + | // | |
| 5775 | + | // Finish an asynchronous unmount operation that was started | |
| 5776 | + | // with g_file_unmount_mountable(). | |
| 5777 | + | func (x *FileBase) UnmountMountableFinish(ResultVar AsyncResult) (bool, error) { | |
| 5778 | + | var cerr *glib.Error | |
| 5779 | + | ||
| 5780 | + | cret := XGFileUnmountMountableFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5781 | + | if cerr == nil { | |
| 5782 | + | return cret, nil | |
| 5783 | + | } | |
| 5784 | + | return cret, cerr | |
| 5785 | + | } | |
| 5786 | + | ||
| 5787 | + | // Unmounts a file of type %G_FILE_TYPE_MOUNTABLE. | |
| 5788 | + | // | |
| 5789 | + | // If @cancellable is not %NULL, then the operation can be cancelled by | |
| 5790 | + | // triggering the cancellable object from another thread. If the operation | |
| 5791 | + | // was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. | |
| 5792 | + | // | |
| 5793 | + | // When the operation is finished, @callback will be called. | |
| 5794 | + | // You can then call g_file_unmount_mountable_finish() to get | |
| 5795 | + | // the result of the operation. | |
| 5796 | + | func (x *FileBase) UnmountMountableWithOperation(FlagsVar MountUnmountFlags, MountOperationVar *MountOperation, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 5797 | + | XGFileUnmountMountableWithOperation(x.GoPointer(), FlagsVar, MountOperationVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 5798 | + | } | |
| 5799 | + | ||
| 5800 | + | // Finishes an unmount operation, | |
| 5801 | + | // see g_file_unmount_mountable_with_operation() for details. | |
| 5802 | + | // | |
| 5803 | + | // Finish an asynchronous unmount operation that was started | |
| 5804 | + | // with g_file_unmount_mountable_with_operation(). | |
| 5805 | + | func (x *FileBase) UnmountMountableWithOperationFinish(ResultVar AsyncResult) (bool, error) { | |
| 5806 | + | var cerr *glib.Error | |
| 5807 | + | ||
| 5808 | + | cret := XGFileUnmountMountableWithOperationFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| 5809 | + | if cerr == nil { | |
| 5810 | + | return cret, nil | |
| 5811 | + | } | |
| 5812 | + | return cret, cerr | |
| 5813 | + | } | |
| 5814 | + | ||
| 5815 | + | var ( | |
| 5816 | + | XGFileAppendTo func(uintptr, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 5817 | + | XGFileAppendToAsync func(uintptr, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 5818 | + | XGFileAppendToFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5819 | + | XGFileBuildAttributeListForCopy func(uintptr, FileCopyFlags, uintptr, **glib.Error) string | |
| 5820 | + | XGFileCopy func(uintptr, uintptr, FileCopyFlags, uintptr, uintptr, uintptr, **glib.Error) bool | |
| 5821 | + | XGFileCopyAsync func(uintptr, uintptr, FileCopyFlags, int, uintptr, uintptr, uintptr, uintptr, uintptr) | |
| 5822 | + | XGFileCopyAsyncWithClosures func(uintptr, uintptr, FileCopyFlags, int, uintptr, *gobject.Closure, *gobject.Closure) | |
| 5823 | + | XGFileCopyAttributes func(uintptr, uintptr, FileCopyFlags, uintptr, **glib.Error) bool | |
| 5824 | + | XGFileCopyFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5825 | + | XGFileCreate func(uintptr, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 5826 | + | XGFileCreateAsync func(uintptr, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 5827 | + | XGFileCreateFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5828 | + | XGFileCreateReadwrite func(uintptr, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 5829 | + | XGFileCreateReadwriteAsync func(uintptr, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 5830 | + | XGFileCreateReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5831 | + | XGFileDelete func(uintptr, uintptr, **glib.Error) bool | |
| 5832 | + | XGFileDeleteAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 5833 | + | XGFileDeleteFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5834 | + | XGFileDup func(uintptr) uintptr | |
| 5835 | + | XGFileEjectMountable func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr) | |
| 5836 | + | XGFileEjectMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5837 | + | XGFileEjectMountableWithOperation func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 5838 | + | XGFileEjectMountableWithOperationFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5839 | + | XGFileEnumerateChildren func(uintptr, string, FileQueryInfoFlags, uintptr, **glib.Error) uintptr | |
| 5840 | + | XGFileEnumerateChildrenAsync func(uintptr, string, FileQueryInfoFlags, int, uintptr, uintptr, uintptr) | |
| 5841 | + | XGFileEnumerateChildrenFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5842 | + | XGFileEqual func(uintptr, uintptr) bool | |
| 5843 | + | XGFileFindEnclosingMount func(uintptr, uintptr, **glib.Error) uintptr | |
| 5844 | + | XGFileFindEnclosingMountAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 5845 | + | XGFileFindEnclosingMountFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5846 | + | XGFileGetBasename func(uintptr) string | |
| 5847 | + | XGFileGetChild func(uintptr, string) uintptr | |
| 5848 | + | XGFileGetChildForDisplayName func(uintptr, string, **glib.Error) uintptr | |
| 5849 | + | XGFileGetParent func(uintptr) uintptr | |
| 5850 | + | XGFileGetParseName func(uintptr) string | |
| 5851 | + | XGFileGetPath func(uintptr) string | |
| 5852 | + | XGFileGetRelativePath func(uintptr, uintptr) string | |
| 5853 | + | XGFileGetUri func(uintptr) string | |
| 5854 | + | XGFileGetUriScheme func(uintptr) string | |
| 5855 | + | XGFileHasParent func(uintptr, uintptr) bool | |
| 5856 | + | XGFileHasPrefix func(uintptr, uintptr) bool | |
| 5857 | + | XGFileHasUriScheme func(uintptr, string) bool | |
| 5858 | + | XGFileHash func(uintptr) uint | |
| 5859 | + | XGFileIsNative func(uintptr) bool | |
| 5860 | + | XGFileLoadBytes func(uintptr, uintptr, *string, **glib.Error) uintptr | |
| 5861 | + | XGFileLoadBytesAsync func(uintptr, uintptr, uintptr, uintptr) | |
| 5862 | + | XGFileLoadBytesFinish func(uintptr, uintptr, *string, **glib.Error) uintptr | |
| 5863 | + | XGFileLoadContents func(uintptr, uintptr, *[]string, *uint, *string, **glib.Error) bool | |
| 5864 | + | XGFileLoadContentsAsync func(uintptr, uintptr, uintptr, uintptr) | |
| 5865 | + | XGFileLoadContentsFinish func(uintptr, uintptr, *[]string, *uint, *string, **glib.Error) bool | |
| 5866 | + | XGFileLoadPartialContentsAsync func(uintptr, uintptr, uintptr, uintptr, uintptr) | |
| 5867 | + | XGFileLoadPartialContentsFinish func(uintptr, uintptr, *[]string, *uint, *string, **glib.Error) bool | |
| 5868 | + | XGFileMakeDirectory func(uintptr, uintptr, **glib.Error) bool | |
| 5869 | + | XGFileMakeDirectoryAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 5870 | + | XGFileMakeDirectoryFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5871 | + | XGFileMakeDirectoryWithParents func(uintptr, uintptr, **glib.Error) bool | |
| 5872 | + | XGFileMakeSymbolicLink func(uintptr, string, uintptr, **glib.Error) bool | |
| 5873 | + | XGFileMakeSymbolicLinkAsync func(uintptr, string, int, uintptr, uintptr, uintptr) | |
| 5874 | + | XGFileMakeSymbolicLinkFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5875 | + | XGFileMeasureDiskUsage func(uintptr, FileMeasureFlags, uintptr, uintptr, uintptr, *uint64, *uint64, *uint64, **glib.Error) bool | |
| 5876 | + | XGFileMeasureDiskUsageAsync func(uintptr, FileMeasureFlags, int, uintptr, uintptr, uintptr, uintptr, uintptr) | |
| 5877 | + | XGFileMeasureDiskUsageFinish func(uintptr, uintptr, *uint64, *uint64, *uint64, **glib.Error) bool | |
| 5878 | + | XGFileMonitor func(uintptr, FileMonitorFlags, uintptr, **glib.Error) uintptr | |
| 5879 | + | XGFileMonitorDirectory func(uintptr, FileMonitorFlags, uintptr, **glib.Error) uintptr | |
| 5880 | + | XGFileMonitorFile func(uintptr, FileMonitorFlags, uintptr, **glib.Error) uintptr | |
| 5881 | + | XGFileMountEnclosingVolume func(uintptr, MountMountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 5882 | + | XGFileMountEnclosingVolumeFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5883 | + | XGFileMountMountable func(uintptr, MountMountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 5884 | + | XGFileMountMountableFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5885 | + | XGFileMove func(uintptr, uintptr, FileCopyFlags, uintptr, uintptr, uintptr, **glib.Error) bool | |
| 5886 | + | XGFileMoveAsync func(uintptr, uintptr, FileCopyFlags, int, uintptr, uintptr, uintptr, uintptr, uintptr) | |
| 5887 | + | XGFileMoveAsyncWithClosures func(uintptr, uintptr, FileCopyFlags, int, uintptr, *gobject.Closure, *gobject.Closure) | |
| 5888 | + | XGFileMoveFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5889 | + | XGFileOpenReadwrite func(uintptr, uintptr, **glib.Error) uintptr | |
| 5890 | + | XGFileOpenReadwriteAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 5891 | + | XGFileOpenReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5892 | + | XGFilePeekPath func(uintptr) string | |
| 5893 | + | XGFilePollMountable func(uintptr, uintptr, uintptr, uintptr) | |
| 5894 | + | XGFilePollMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5895 | + | XGFileQueryDefaultHandler func(uintptr, uintptr, **glib.Error) uintptr | |
| 5896 | + | XGFileQueryDefaultHandlerAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 5897 | + | XGFileQueryDefaultHandlerFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5898 | + | XGFileQueryExists func(uintptr, uintptr) bool | |
| 5899 | + | XGFileQueryFileType func(uintptr, FileQueryInfoFlags, uintptr) FileType | |
| 5900 | + | XGFileQueryFilesystemInfo func(uintptr, string, uintptr, **glib.Error) uintptr | |
| 5901 | + | XGFileQueryFilesystemInfoAsync func(uintptr, string, int, uintptr, uintptr, uintptr) | |
| 5902 | + | XGFileQueryFilesystemInfoFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5903 | + | XGFileQueryInfo func(uintptr, string, FileQueryInfoFlags, uintptr, **glib.Error) uintptr | |
| 5904 | + | XGFileQueryInfoAsync func(uintptr, string, FileQueryInfoFlags, int, uintptr, uintptr, uintptr) | |
| 5905 | + | XGFileQueryInfoFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5906 | + | XGFileQuerySettableAttributes func(uintptr, uintptr, **glib.Error) uintptr | |
| 5907 | + | XGFileQueryWritableNamespaces func(uintptr, uintptr, **glib.Error) uintptr | |
| 5908 | + | XGFileRead func(uintptr, uintptr, **glib.Error) uintptr | |
| 5909 | + | XGFileReadAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 5910 | + | XGFileReadFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5911 | + | XGFileReplace func(uintptr, uintptr, bool, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 5912 | + | XGFileReplaceAsync func(uintptr, uintptr, bool, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 5913 | + | XGFileReplaceContents func(uintptr, string, uint, uintptr, bool, FileCreateFlags, *string, uintptr, **glib.Error) bool | |
| 5914 | + | XGFileReplaceContentsAsync func(uintptr, string, uint, uintptr, bool, FileCreateFlags, uintptr, uintptr, uintptr) | |
| 5915 | + | XGFileReplaceContentsBytesAsync func(uintptr, *glib.Bytes, uintptr, bool, FileCreateFlags, uintptr, uintptr, uintptr) | |
| 5916 | + | XGFileReplaceContentsFinish func(uintptr, uintptr, *string, **glib.Error) bool | |
| 5917 | + | XGFileReplaceFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5918 | + | XGFileReplaceReadwrite func(uintptr, uintptr, bool, FileCreateFlags, uintptr, **glib.Error) uintptr | |
| 5919 | + | XGFileReplaceReadwriteAsync func(uintptr, uintptr, bool, FileCreateFlags, int, uintptr, uintptr, uintptr) | |
| 5920 | + | XGFileReplaceReadwriteFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5921 | + | XGFileResolveRelativePath func(uintptr, string) uintptr | |
| 5922 | + | XGFileSetAttribute func(uintptr, string, FileAttributeType, uintptr, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 5923 | + | XGFileSetAttributeByteString func(uintptr, string, string, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 5924 | + | XGFileSetAttributeInt32 func(uintptr, string, int32, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 5925 | + | XGFileSetAttributeInt64 func(uintptr, string, int64, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 5926 | + | XGFileSetAttributeString func(uintptr, string, string, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 5927 | + | XGFileSetAttributeUint32 func(uintptr, string, uint32, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 5928 | + | XGFileSetAttributeUint64 func(uintptr, string, uint64, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 5929 | + | XGFileSetAttributesAsync func(uintptr, uintptr, FileQueryInfoFlags, int, uintptr, uintptr, uintptr) | |
| 5930 | + | XGFileSetAttributesFinish func(uintptr, uintptr, **FileInfo, **glib.Error) bool | |
| 5931 | + | XGFileSetAttributesFromInfo func(uintptr, uintptr, FileQueryInfoFlags, uintptr, **glib.Error) bool | |
| 5932 | + | XGFileSetDisplayName func(uintptr, string, uintptr, **glib.Error) uintptr | |
| 5933 | + | XGFileSetDisplayNameAsync func(uintptr, string, int, uintptr, uintptr, uintptr) | |
| 5934 | + | XGFileSetDisplayNameFinish func(uintptr, uintptr, **glib.Error) uintptr | |
| 5935 | + | XGFileStartMountable func(uintptr, DriveStartFlags, uintptr, uintptr, uintptr, uintptr) | |
| 5936 | + | XGFileStartMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5937 | + | XGFileStopMountable func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 5938 | + | XGFileStopMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5939 | + | XGFileSupportsThreadContexts func(uintptr) bool | |
| 5940 | + | XGFileTrash func(uintptr, uintptr, **glib.Error) bool | |
| 5941 | + | XGFileTrashAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 5942 | + | XGFileTrashFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5943 | + | XGFileUnmountMountable func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr) | |
| 5944 | + | XGFileUnmountMountableFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5945 | + | XGFileUnmountMountableWithOperation func(uintptr, MountUnmountFlags, uintptr, uintptr, uintptr, uintptr) | |
| 5946 | + | XGFileUnmountMountableWithOperationFinish func(uintptr, uintptr, **glib.Error) bool | |
| 5947 | + | ) | |
| 5948 | + | ||
| 5949 | + | var xFileNewBuildFilenamev func([]string) uintptr | |
| 5950 | + | ||
| 5951 | + | // Constructs a #GFile from a vector of elements using the correct | |
| 5952 | + | // separator for filenames. | |
| 5953 | + | // | |
| 5954 | + | // Using this function is equivalent to calling g_build_filenamev(), | |
| 5955 | + | // followed by g_file_new_for_path() on the result. | |
| 5956 | + | func FileNewBuildFilenamev(ArgsVar []string) *FileBase { | |
| 5957 | + | var cls *FileBase | |
| 5958 | + | ||
| 5959 | + | cret := xFileNewBuildFilenamev(ArgsVar) | |
| 5960 | + | ||
| 5961 | + | if cret == 0 { | |
| 5962 | + | return nil | |
| 5963 | + | } | |
| 5964 | + | cls = &FileBase{} | |
| 5965 | + | cls.Ptr = cret | |
| 5966 | + | return cls | |
| 5967 | + | } | |
| 5968 | + | ||
| 5969 | + | var xFileNewForCommandlineArg func(string) uintptr | |
| 5970 | + | ||
| 5971 | + | // Creates a #GFile with the given argument from the command line. | |
| 5972 | + | // The value of @arg can be either a URI, an absolute path or a | |
| 5973 | + | // relative path resolved relative to the current working directory. | |
| 5974 | + | // This operation never fails, but the returned object might not | |
| 5975 | + | // support any I/O operation if @arg points to a malformed path. | |
| 5976 | + | // | |
| 5977 | + | // Note that on Windows, this function expects its argument to be in | |
| 5978 | + | // UTF-8 -- not the system code page. This means that you | |
| 5979 | + | // should not use this function with string from argv as it is passed | |
| 5980 | + | // to main(). g_win32_get_command_line() will return a UTF-8 version of | |
| 5981 | + | // the commandline. #GApplication also uses UTF-8 but | |
| 5982 | + | // g_application_command_line_create_file_for_arg() may be more useful | |
| 5983 | + | // for you there. It is also always possible to use this function with | |
| 5984 | + | // #GOptionContext arguments of type %G_OPTION_ARG_FILENAME. | |
| 5985 | + | func FileNewForCommandlineArg(ArgVar string) *FileBase { | |
| 5986 | + | var cls *FileBase | |
| 5987 | + | ||
| 5988 | + | cret := xFileNewForCommandlineArg(ArgVar) | |
| 5989 | + | ||
| 5990 | + | if cret == 0 { | |
| 5991 | + | return nil | |
| 5992 | + | } | |
| 5993 | + | cls = &FileBase{} | |
| 5994 | + | cls.Ptr = cret | |
| 5995 | + | return cls | |
| 5996 | + | } | |
| 5997 | + | ||
| 5998 | + | var xFileNewForCommandlineArgAndCwd func(string, string) uintptr | |
| 5999 | + | ||
| 6000 | + | // Creates a #GFile with the given argument from the command line. | |
| 6001 | + | // | |
| 6002 | + | // This function is similar to g_file_new_for_commandline_arg() except | |
| 6003 | + | // that it allows for passing the current working directory as an | |
| 6004 | + | // argument instead of using the current working directory of the | |
| 6005 | + | // process. | |
| 6006 | + | // | |
| 6007 | + | // This is useful if the commandline argument was given in a context | |
| 6008 | + | // other than the invocation of the current process. | |
| 6009 | + | // | |
| 6010 | + | // See also g_application_command_line_create_file_for_arg(). | |
| 6011 | + | func FileNewForCommandlineArgAndCwd(ArgVar string, CwdVar string) *FileBase { | |
| 6012 | + | var cls *FileBase | |
| 6013 | + | ||
| 6014 | + | cret := xFileNewForCommandlineArgAndCwd(ArgVar, CwdVar) | |
| 6015 | + | ||
| 6016 | + | if cret == 0 { | |
| 6017 | + | return nil | |
| 6018 | + | } | |
| 6019 | + | cls = &FileBase{} | |
| 6020 | + | cls.Ptr = cret | |
| 6021 | + | return cls | |
| 6022 | + | } | |
| 6023 | + | ||
| 6024 | + | var xFileNewForPath func(string) uintptr | |
| 6025 | + | ||
| 6026 | + | // Constructs a #GFile for a given path. This operation never | |
| 6027 | + | // fails, but the returned object might not support any I/O | |
| 6028 | + | // operation if @path is malformed. | |
| 6029 | + | func FileNewForPath(PathVar string) *FileBase { | |
| 6030 | + | var cls *FileBase | |
| 6031 | + | ||
| 6032 | + | cret := xFileNewForPath(PathVar) | |
| 6033 | + | ||
| 6034 | + | if cret == 0 { | |
| 6035 | + | return nil | |
| 6036 | + | } | |
| 6037 | + | cls = &FileBase{} | |
| 6038 | + | cls.Ptr = cret | |
| 6039 | + | return cls | |
| 6040 | + | } | |
| 6041 | + | ||
| 6042 | + | var xFileNewForUri func(string) uintptr | |
| 6043 | + | ||
| 6044 | + | // Constructs a #GFile for a given URI. This operation never | |
| 6045 | + | // fails, but the returned object might not support any I/O | |
| 6046 | + | // operation if @uri is malformed or if the uri type is | |
| 6047 | + | // not supported. | |
| 6048 | + | func FileNewForUri(UriVar string) *FileBase { | |
| 6049 | + | var cls *FileBase | |
| 6050 | + | ||
| 6051 | + | cret := xFileNewForUri(UriVar) | |
| 6052 | + | ||
| 6053 | + | if cret == 0 { | |
| 6054 | + | return nil | |
| 6055 | + | } | |
| 6056 | + | cls = &FileBase{} | |
| 6057 | + | cls.Ptr = cret | |
| 6058 | + | return cls | |
| 6059 | + | } | |
| 6060 | + | ||
| 6061 | + | var xFileNewTmp func(uintptr, **FileIOStream, **glib.Error) uintptr | |
| 6062 | + | ||
| 6063 | + | // Opens a file in the preferred directory for temporary files (as | |
| 6064 | + | // returned by g_get_tmp_dir()) and returns a #GFile and | |
| 6065 | + | // #GFileIOStream pointing to it. | |
| 6066 | + | // | |
| 6067 | + | // @tmpl should be a string in the GLib file name encoding | |
| 6068 | + | // containing a sequence of six 'X' characters, and containing no | |
| 6069 | + | // directory components. If it is %NULL, a default template is used. | |
| 6070 | + | // | |
| 6071 | + | // Unlike the other #GFile constructors, this will return %NULL if | |
| 6072 | + | // a temporary file could not be created. | |
| 6073 | + | func FileNewTmp(TmplVar *string, IostreamVar **FileIOStream) (*FileBase, error) { | |
| 6074 | + | var cls *FileBase | |
| 6075 | + | var cerr *glib.Error | |
| 6076 | + | ||
| 6077 | + | TmplVarPtr := core.GStrdupNullable(TmplVar) | |
| 6078 | + | defer core.GFreeNullable(TmplVarPtr) | |
| 6079 | + | ||
| 6080 | + | cret := xFileNewTmp(TmplVarPtr, IostreamVar, &cerr) | |
| 6081 | + | ||
| 6082 | + | if cret == 0 { | |
| 6083 | + | return nil, cerr | |
| 6084 | + | } | |
| 6085 | + | cls = &FileBase{} | |
| 6086 | + | cls.Ptr = cret | |
| 6087 | + | if cerr == nil { | |
| 6088 | + | return cls, nil | |
| 6089 | + | } | |
| 6090 | + | return cls, cerr | |
| 6091 | + | } | |
| 6092 | + | ||
| 6093 | + | var xFileNewTmpAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6094 | + | ||
| 6095 | + | // Asynchronously opens a file in the preferred directory for temporary files | |
| 6096 | + | // | |
| 6097 | + | // (as returned by g_get_tmp_dir()) as g_file_new_tmp(). | |
| 6098 | + | // | |
| 6099 | + | // @tmpl should be a string in the GLib file name encoding | |
| 6100 | + | // containing a sequence of six 'X' characters, and containing no | |
| 6101 | + | // directory components. If it is %NULL, a default template is used. | |
| 6102 | + | func FileNewTmpAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 6103 | + | TmplVarPtr := core.GStrdupNullable(TmplVar) | |
| 6104 | + | defer core.GFreeNullable(TmplVarPtr) | |
| 6105 | + | ||
| 6106 | + | xFileNewTmpAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 6107 | + | } | |
| 6108 | + | ||
| 6109 | + | var xFileNewTmpDirAsync func(uintptr, int, uintptr, uintptr, uintptr) | |
| 6110 | + | ||
| 6111 | + | // Asynchronously creates a directory in the preferred directory for | |
| 6112 | + | // temporary files (as returned by g_get_tmp_dir()) as g_dir_make_tmp(). | |
| 6113 | + | // | |
| 6114 | + | // @tmpl should be a string in the GLib file name encoding | |
| 6115 | + | // containing a sequence of six 'X' characters, and containing no | |
| 6116 | + | // directory components. If it is %NULL, a default template is used. | |
| 6117 | + | func FileNewTmpDirAsync(TmplVar *string, IoPriorityVar int, CancellableVar *Cancellable, CallbackVar *AsyncReadyCallback, UserDataVar uintptr) { | |
| 6118 | + | TmplVarPtr := core.GStrdupNullable(TmplVar) | |
| 6119 | + | defer core.GFreeNullable(TmplVarPtr) | |
| 6120 | + | ||
| 6121 | + | xFileNewTmpDirAsync(TmplVarPtr, IoPriorityVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 6122 | + | } | |
| 6123 | + | ||
| 6124 | + | var xFileNewTmpDirFinish func(uintptr, **glib.Error) uintptr | |
| 6125 | + | ||
| 6126 | + | // Finishes a temporary directory creation started by | |
| 6127 | + | // g_file_new_tmp_dir_async(). | |
| 6128 | + | func FileNewTmpDirFinish(ResultVar AsyncResult) (*FileBase, error) { | |
| 6129 | + | var cls *FileBase | |
| 6130 | + | var cerr *glib.Error | |
| 6131 | + | ||
| 6132 | + | cret := xFileNewTmpDirFinish(ResultVar.GoPointer(), &cerr) | |
| 6133 | + | ||
| 6134 | + | if cret == 0 { | |
| 6135 | + | return nil, cerr | |
| 6136 | + | } | |
| 6137 | + | cls = &FileBase{} | |
| 6138 | + | cls.Ptr = cret | |
| 6139 | + | if cerr == nil { | |
| 6140 | + | return cls, nil | |
| 6141 | + | } | |
| 6142 | + | return cls, cerr | |
| 6143 | + | } | |
| 6144 | + | ||
| 6145 | + | var xFileNewTmpFinish func(uintptr, **FileIOStream, **glib.Error) uintptr | |
| 6146 | + | ||
| 6147 | + | // Finishes a temporary file creation started by g_file_new_tmp_async(). | |
| 6148 | + | func FileNewTmpFinish(ResultVar AsyncResult, IostreamVar **FileIOStream) (*FileBase, error) { | |
| 6149 | + | var cls *FileBase | |
| 6150 | + | var cerr *glib.Error | |
| 6151 | + | ||
| 6152 | + | cret := xFileNewTmpFinish(ResultVar.GoPointer(), IostreamVar, &cerr) | |
| 6153 | + | ||
| 6154 | + | if cret == 0 { | |
| 6155 | + | return nil, cerr | |
| 6156 | + | } | |
| 6157 | + | cls = &FileBase{} | |
| 6158 | + | cls.Ptr = cret | |
| 6159 | + | if cerr == nil { | |
| 6160 | + | return cls, nil | |
| 6161 | + | } | |
| 6162 | + | return cls, cerr | |
| 6163 | + | } | |
| 6164 | + | ||
| 6165 | + | var xFileParseName func(string) uintptr | |
| 6166 | + | ||
| 6167 | + | // Constructs a #GFile with the given @parse_name (i.e. something | |
| 6168 | + | // given by g_file_get_parse_name()). This operation never fails, | |
| 6169 | + | // but the returned object might not support any I/O operation if | |
| 6170 | + | // the @parse_name cannot be parsed. | |
| 6171 | + | func FileParseName(ParseNameVar string) *FileBase { | |
| 6172 | + | var cls *FileBase | |
| 6173 | + | ||
| 6174 | + | cret := xFileParseName(ParseNameVar) | |
| 6175 | + | ||
| 6176 | + | if cret == 0 { | |
| 6177 | + | return nil | |
| 6178 | + | } | |
| 6179 | + | cls = &FileBase{} | |
| 6180 | + | cls.Ptr = cret | |
| 6181 | + | return cls | |
| 6182 | + | } | |
| 6183 | + | ||
| 6184 | + | func init() { | |
| 6185 | + | core.SetPackageName("GIO", "gio-2.0") | |
| 6186 | + | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 6187 | + | var libs []uintptr | |
| 6188 | + | for _, libPath := range core.GetPaths("GIO") { | |
| 6189 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 6190 | + | if err != nil { | |
| 6191 | + | panic(err) | |
| 6192 | + | } | |
| 6193 | + | libs = append(libs, lib) | |
| 6194 | + | } | |
| 6195 | + | ||
| 6196 | + | core.PuregoSafeRegister(&xFileNewBuildFilenamev, libs, "g_file_new_build_filenamev") | |
| 6197 | + | core.PuregoSafeRegister(&xFileNewForCommandlineArg, libs, "g_file_new_for_commandline_arg") | |
| 6198 | + | core.PuregoSafeRegister(&xFileNewForCommandlineArgAndCwd, libs, "g_file_new_for_commandline_arg_and_cwd") | |
| 6199 | + | core.PuregoSafeRegister(&xFileNewForPath, libs, "g_file_new_for_path") | |
| 6200 | + | core.PuregoSafeRegister(&xFileNewForUri, libs, "g_file_new_for_uri") | |
| 6201 | + | core.PuregoSafeRegister(&xFileNewTmp, libs, "g_file_new_tmp") | |
| 6202 | + | core.PuregoSafeRegister(&xFileNewTmpAsync, libs, "g_file_new_tmp_async") | |
| 6203 | + | core.PuregoSafeRegister(&xFileNewTmpDirAsync, libs, "g_file_new_tmp_dir_async") | |
| 6204 | + | core.PuregoSafeRegister(&xFileNewTmpDirFinish, libs, "g_file_new_tmp_dir_finish") | |
| 6205 | + | core.PuregoSafeRegister(&xFileNewTmpFinish, libs, "g_file_new_tmp_finish") | |
| 6206 | + | core.PuregoSafeRegister(&xFileParseName, libs, "g_file_parse_name") | |
| 6207 | + | ||
| 6208 | + | core.PuregoSafeRegister(&xFileGLibType, libs, "g_file_get_type") | |
| 6209 | + | ||
| 6210 | + | core.PuregoSafeRegister(&XGFileAppendTo, libs, "g_file_append_to") | |
| 6211 | + | core.PuregoSafeRegister(&XGFileAppendToAsync, libs, "g_file_append_to_async") | |
| 6212 | + | core.PuregoSafeRegister(&XGFileAppendToFinish, libs, "g_file_append_to_finish") | |
| 6213 | + | core.PuregoSafeRegister(&XGFileBuildAttributeListForCopy, libs, "g_file_build_attribute_list_for_copy") | |
| 6214 | + | core.PuregoSafeRegister(&XGFileCopy, libs, "g_file_copy") | |
| 6215 | + | core.PuregoSafeRegister(&XGFileCopyAsync, libs, "g_file_copy_async") | |
| 6216 | + | core.PuregoSafeRegister(&XGFileCopyAsyncWithClosures, libs, "g_file_copy_async_with_closures") | |
| 6217 | + | core.PuregoSafeRegister(&XGFileCopyAttributes, libs, "g_file_copy_attributes") | |
| 6218 | + | core.PuregoSafeRegister(&XGFileCopyFinish, libs, "g_file_copy_finish") | |
| 6219 | + | core.PuregoSafeRegister(&XGFileCreate, libs, "g_file_create") | |
| 6220 | + | core.PuregoSafeRegister(&XGFileCreateAsync, libs, "g_file_create_async") | |
| 6221 | + | core.PuregoSafeRegister(&XGFileCreateFinish, libs, "g_file_create_finish") | |
| 6222 | + | core.PuregoSafeRegister(&XGFileCreateReadwrite, libs, "g_file_create_readwrite") | |
| 6223 | + | core.PuregoSafeRegister(&XGFileCreateReadwriteAsync, libs, "g_file_create_readwrite_async") | |
| 6224 | + | core.PuregoSafeRegister(&XGFileCreateReadwriteFinish, libs, "g_file_create_readwrite_finish") | |
| 6225 | + | core.PuregoSafeRegister(&XGFileDelete, libs, "g_file_delete") | |
| 6226 | + | core.PuregoSafeRegister(&XGFileDeleteAsync, libs, "g_file_delete_async") | |
| 6227 | + | core.PuregoSafeRegister(&XGFileDeleteFinish, libs, "g_file_delete_finish") | |
| 6228 | + | core.PuregoSafeRegister(&XGFileDup, libs, "g_file_dup") | |
| 6229 | + | core.PuregoSafeRegister(&XGFileEjectMountable, libs, "g_file_eject_mountable") | |
| 6230 | + | core.PuregoSafeRegister(&XGFileEjectMountableFinish, libs, "g_file_eject_mountable_finish") | |
| 6231 | + | core.PuregoSafeRegister(&XGFileEjectMountableWithOperation, libs, "g_file_eject_mountable_with_operation") | |
| 6232 | + | core.PuregoSafeRegister(&XGFileEjectMountableWithOperationFinish, libs, "g_file_eject_mountable_with_operation_finish") | |
| 6233 | + | core.PuregoSafeRegister(&XGFileEnumerateChildren, libs, "g_file_enumerate_children") | |
| 6234 | + | core.PuregoSafeRegister(&XGFileEnumerateChildrenAsync, libs, "g_file_enumerate_children_async") | |
| 6235 | + | core.PuregoSafeRegister(&XGFileEnumerateChildrenFinish, libs, "g_file_enumerate_children_finish") | |
| 6236 | + | core.PuregoSafeRegister(&XGFileEqual, libs, "g_file_equal") | |
| 6237 | + | core.PuregoSafeRegister(&XGFileFindEnclosingMount, libs, "g_file_find_enclosing_mount") | |
| 6238 | + | core.PuregoSafeRegister(&XGFileFindEnclosingMountAsync, libs, "g_file_find_enclosing_mount_async") | |
| 6239 | + | core.PuregoSafeRegister(&XGFileFindEnclosingMountFinish, libs, "g_file_find_enclosing_mount_finish") | |
| 6240 | + | core.PuregoSafeRegister(&XGFileGetBasename, libs, "g_file_get_basename") | |
| 6241 | + | core.PuregoSafeRegister(&XGFileGetChild, libs, "g_file_get_child") | |
| 6242 | + | core.PuregoSafeRegister(&XGFileGetChildForDisplayName, libs, "g_file_get_child_for_display_name") | |
| 6243 | + | core.PuregoSafeRegister(&XGFileGetParent, libs, "g_file_get_parent") | |
| 6244 | + | core.PuregoSafeRegister(&XGFileGetParseName, libs, "g_file_get_parse_name") | |
| 6245 | + | core.PuregoSafeRegister(&XGFileGetPath, libs, "g_file_get_path") | |
| 6246 | + | core.PuregoSafeRegister(&XGFileGetRelativePath, libs, "g_file_get_relative_path") | |
| 6247 | + | core.PuregoSafeRegister(&XGFileGetUri, libs, "g_file_get_uri") | |
| 6248 | + | core.PuregoSafeRegister(&XGFileGetUriScheme, libs, "g_file_get_uri_scheme") | |
| 6249 | + | core.PuregoSafeRegister(&XGFileHasParent, libs, "g_file_has_parent") | |
| 6250 | + | core.PuregoSafeRegister(&XGFileHasPrefix, libs, "g_file_has_prefix") | |
| 6251 | + | core.PuregoSafeRegister(&XGFileHasUriScheme, libs, "g_file_has_uri_scheme") | |
| 6252 | + | core.PuregoSafeRegister(&XGFileHash, libs, "g_file_hash") | |
| 6253 | + | core.PuregoSafeRegister(&XGFileIsNative, libs, "g_file_is_native") | |
| 6254 | + | core.PuregoSafeRegister(&XGFileLoadBytes, libs, "g_file_load_bytes") | |
| 6255 | + | core.PuregoSafeRegister(&XGFileLoadBytesAsync, libs, "g_file_load_bytes_async") | |
| 6256 | + | core.PuregoSafeRegister(&XGFileLoadBytesFinish, libs, "g_file_load_bytes_finish") | |
| 6257 | + | core.PuregoSafeRegister(&XGFileLoadContents, libs, "g_file_load_contents") | |
| 6258 | + | core.PuregoSafeRegister(&XGFileLoadContentsAsync, libs, "g_file_load_contents_async") | |
| 6259 | + | core.PuregoSafeRegister(&XGFileLoadContentsFinish, libs, "g_file_load_contents_finish") | |
| 6260 | + | core.PuregoSafeRegister(&XGFileLoadPartialContentsAsync, libs, "g_file_load_partial_contents_async") | |
| 6261 | + | core.PuregoSafeRegister(&XGFileLoadPartialContentsFinish, libs, "g_file_load_partial_contents_finish") | |
| 6262 | + | core.PuregoSafeRegister(&XGFileMakeDirectory, libs, "g_file_make_directory") | |
| 6263 | + | core.PuregoSafeRegister(&XGFileMakeDirectoryAsync, libs, "g_file_make_directory_async") | |
| 6264 | + | core.PuregoSafeRegister(&XGFileMakeDirectoryFinish, libs, "g_file_make_directory_finish") | |
| 6265 | + | core.PuregoSafeRegister(&XGFileMakeDirectoryWithParents, libs, "g_file_make_directory_with_parents") | |
| 6266 | + | core.PuregoSafeRegister(&XGFileMakeSymbolicLink, libs, "g_file_make_symbolic_link") | |
| 6267 | + | core.PuregoSafeRegister(&XGFileMakeSymbolicLinkAsync, libs, "g_file_make_symbolic_link_async") | |
| 6268 | + | core.PuregoSafeRegister(&XGFileMakeSymbolicLinkFinish, libs, "g_file_make_symbolic_link_finish") | |
| 6269 | + | core.PuregoSafeRegister(&XGFileMeasureDiskUsage, libs, "g_file_measure_disk_usage") | |
| 6270 | + | core.PuregoSafeRegister(&XGFileMeasureDiskUsageAsync, libs, "g_file_measure_disk_usage_async") | |
| 6271 | + | core.PuregoSafeRegister(&XGFileMeasureDiskUsageFinish, libs, "g_file_measure_disk_usage_finish") | |
| 6272 | + | core.PuregoSafeRegister(&XGFileMonitor, libs, "g_file_monitor") | |
| 6273 | + | core.PuregoSafeRegister(&XGFileMonitorDirectory, libs, "g_file_monitor_directory") | |
| 6274 | + | core.PuregoSafeRegister(&XGFileMonitorFile, libs, "g_file_monitor_file") | |
| 6275 | + | core.PuregoSafeRegister(&XGFileMountEnclosingVolume, libs, "g_file_mount_enclosing_volume") | |
| 6276 | + | core.PuregoSafeRegister(&XGFileMountEnclosingVolumeFinish, libs, "g_file_mount_enclosing_volume_finish") | |
| 6277 | + | core.PuregoSafeRegister(&XGFileMountMountable, libs, "g_file_mount_mountable") | |
| 6278 | + | core.PuregoSafeRegister(&XGFileMountMountableFinish, libs, "g_file_mount_mountable_finish") | |
| 6279 | + | core.PuregoSafeRegister(&XGFileMove, libs, "g_file_move") | |
| 6280 | + | core.PuregoSafeRegister(&XGFileMoveAsync, libs, "g_file_move_async") | |
| 6281 | + | core.PuregoSafeRegister(&XGFileMoveAsyncWithClosures, libs, "g_file_move_async_with_closures") | |
| 6282 | + | core.PuregoSafeRegister(&XGFileMoveFinish, libs, "g_file_move_finish") | |
| 6283 | + | core.PuregoSafeRegister(&XGFileOpenReadwrite, libs, "g_file_open_readwrite") | |
| 6284 | + | core.PuregoSafeRegister(&XGFileOpenReadwriteAsync, libs, "g_file_open_readwrite_async") | |
| 6285 | + | core.PuregoSafeRegister(&XGFileOpenReadwriteFinish, libs, "g_file_open_readwrite_finish") | |
| 6286 | + | core.PuregoSafeRegister(&XGFilePeekPath, libs, "g_file_peek_path") | |
| 6287 | + | core.PuregoSafeRegister(&XGFilePollMountable, libs, "g_file_poll_mountable") | |
| 6288 | + | core.PuregoSafeRegister(&XGFilePollMountableFinish, libs, "g_file_poll_mountable_finish") | |
| 6289 | + | core.PuregoSafeRegister(&XGFileQueryDefaultHandler, libs, "g_file_query_default_handler") | |
| 6290 | + | core.PuregoSafeRegister(&XGFileQueryDefaultHandlerAsync, libs, "g_file_query_default_handler_async") | |
| 6291 | + | core.PuregoSafeRegister(&XGFileQueryDefaultHandlerFinish, libs, "g_file_query_default_handler_finish") | |
| 6292 | + | core.PuregoSafeRegister(&XGFileQueryExists, libs, "g_file_query_exists") | |
| 6293 | + | core.PuregoSafeRegister(&XGFileQueryFileType, libs, "g_file_query_file_type") | |
| 6294 | + | core.PuregoSafeRegister(&XGFileQueryFilesystemInfo, libs, "g_file_query_filesystem_info") | |
| 6295 | + | core.PuregoSafeRegister(&XGFileQueryFilesystemInfoAsync, libs, "g_file_query_filesystem_info_async") | |
| 6296 | + | core.PuregoSafeRegister(&XGFileQueryFilesystemInfoFinish, libs, "g_file_query_filesystem_info_finish") | |
| 6297 | + | core.PuregoSafeRegister(&XGFileQueryInfo, libs, "g_file_query_info") | |
| 6298 | + | core.PuregoSafeRegister(&XGFileQueryInfoAsync, libs, "g_file_query_info_async") | |
| 6299 | + | core.PuregoSafeRegister(&XGFileQueryInfoFinish, libs, "g_file_query_info_finish") | |
| 6300 | + | core.PuregoSafeRegister(&XGFileQuerySettableAttributes, libs, "g_file_query_settable_attributes") | |
| 6301 | + | core.PuregoSafeRegister(&XGFileQueryWritableNamespaces, libs, "g_file_query_writable_namespaces") | |
| 6302 | + | core.PuregoSafeRegister(&XGFileRead, libs, "g_file_read") | |
| 6303 | + | core.PuregoSafeRegister(&XGFileReadAsync, libs, "g_file_read_async") | |
| 6304 | + | core.PuregoSafeRegister(&XGFileReadFinish, libs, "g_file_read_finish") | |
| 6305 | + | core.PuregoSafeRegister(&XGFileReplace, libs, "g_file_replace") | |
| 6306 | + | core.PuregoSafeRegister(&XGFileReplaceAsync, libs, "g_file_replace_async") | |
| 6307 | + | core.PuregoSafeRegister(&XGFileReplaceContents, libs, "g_file_replace_contents") | |
| 6308 | + | core.PuregoSafeRegister(&XGFileReplaceContentsAsync, libs, "g_file_replace_contents_async") | |
| 6309 | + | core.PuregoSafeRegister(&XGFileReplaceContentsBytesAsync, libs, "g_file_replace_contents_bytes_async") | |
| 6310 | + | core.PuregoSafeRegister(&XGFileReplaceContentsFinish, libs, "g_file_replace_contents_finish") | |
| 6311 | + | core.PuregoSafeRegister(&XGFileReplaceFinish, libs, "g_file_replace_finish") | |
| 6312 | + | core.PuregoSafeRegister(&XGFileReplaceReadwrite, libs, "g_file_replace_readwrite") | |
| 6313 | + | core.PuregoSafeRegister(&XGFileReplaceReadwriteAsync, libs, "g_file_replace_readwrite_async") | |
| 6314 | + | core.PuregoSafeRegister(&XGFileReplaceReadwriteFinish, libs, "g_file_replace_readwrite_finish") | |
| 6315 | + | core.PuregoSafeRegister(&XGFileResolveRelativePath, libs, "g_file_resolve_relative_path") | |
| 6316 | + | core.PuregoSafeRegister(&XGFileSetAttribute, libs, "g_file_set_attribute") | |
| 6317 | + | core.PuregoSafeRegister(&XGFileSetAttributeByteString, libs, "g_file_set_attribute_byte_string") | |
| 6318 | + | core.PuregoSafeRegister(&XGFileSetAttributeInt32, libs, "g_file_set_attribute_int32") | |
| 6319 | + | core.PuregoSafeRegister(&XGFileSetAttributeInt64, libs, "g_file_set_attribute_int64") | |
| 6320 | + | core.PuregoSafeRegister(&XGFileSetAttributeString, libs, "g_file_set_attribute_string") | |
| 6321 | + | core.PuregoSafeRegister(&XGFileSetAttributeUint32, libs, "g_file_set_attribute_uint32") | |
| 6322 | + | core.PuregoSafeRegister(&XGFileSetAttributeUint64, libs, "g_file_set_attribute_uint64") | |
| 6323 | + | core.PuregoSafeRegister(&XGFileSetAttributesAsync, libs, "g_file_set_attributes_async") | |
| 6324 | + | core.PuregoSafeRegister(&XGFileSetAttributesFinish, libs, "g_file_set_attributes_finish") | |
| 6325 | + | core.PuregoSafeRegister(&XGFileSetAttributesFromInfo, libs, "g_file_set_attributes_from_info") | |
| 6326 | + | core.PuregoSafeRegister(&XGFileSetDisplayName, libs, "g_file_set_display_name") | |
| 6327 | + | core.PuregoSafeRegister(&XGFileSetDisplayNameAsync, libs, "g_file_set_display_name_async") | |
| 6328 | + | core.PuregoSafeRegister(&XGFileSetDisplayNameFinish, libs, "g_file_set_display_name_finish") | |
| 6329 | + | core.PuregoSafeRegister(&XGFileStartMountable, libs, "g_file_start_mountable") | |
| 6330 | + | core.PuregoSafeRegister(&XGFileStartMountableFinish, libs, "g_file_start_mountable_finish") | |
| 6331 | + | core.PuregoSafeRegister(&XGFileStopMountable, libs, "g_file_stop_mountable") | |
| 6332 | + | core.PuregoSafeRegister(&XGFileStopMountableFinish, libs, "g_file_stop_mountable_finish") | |
| 6333 | + | core.PuregoSafeRegister(&XGFileSupportsThreadContexts, libs, "g_file_supports_thread_contexts") | |
| 6334 | + | core.PuregoSafeRegister(&XGFileTrash, libs, "g_file_trash") | |
| 6335 | + | core.PuregoSafeRegister(&XGFileTrashAsync, libs, "g_file_trash_async") | |
| 6336 | + | core.PuregoSafeRegister(&XGFileTrashFinish, libs, "g_file_trash_finish") | |
| 6337 | + | core.PuregoSafeRegister(&XGFileUnmountMountable, libs, "g_file_unmount_mountable") | |
| 6338 | + | core.PuregoSafeRegister(&XGFileUnmountMountableFinish, libs, "g_file_unmount_mountable_finish") | |
| 6339 | + | core.PuregoSafeRegister(&XGFileUnmountMountableWithOperation, libs, "g_file_unmount_mountable_with_operation") | |
| 6340 | + | core.PuregoSafeRegister(&XGFileUnmountMountableWithOperationFinish, libs, "g_file_unmount_mountable_with_operation_finish") | |
| 6341 | + | } | |
A vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +769 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +202 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +1628 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +519 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +623 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +394 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +251 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +618 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gicon.go +371 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +550 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +289 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +202 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +865 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +2321 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +68 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +350 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giostream.go +727 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +1134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +122 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +328 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +232 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +420 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +177 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +616 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +760 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmenuexporter.go +10 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +995 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmount.go +1293 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +1009 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +155 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +94 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +346 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +32 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +394 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +279 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +283 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +1258 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +443 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +297 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +370 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +132 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +337 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +307 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +357 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +294 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +290 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +183 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +1045 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gresource.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +302 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +1830 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +681 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +587 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +442 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +498 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +612 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +75 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +454 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +1992 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +257 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +260 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +945 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +296 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +404 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +626 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +414 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +632 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +409 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtask.go +1334 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +234 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +300 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +319 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +463 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +768 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +293 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +826 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +883 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +130 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +522 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +330 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +222 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +378 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +349 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +704 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +1055 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +1190 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +316 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +225 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gio/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/garray.go +794 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +431 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +395 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +187 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +950 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gcache.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +460 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +278 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdate.go +812 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +1043 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gdir.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/genviron.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gerror.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +799 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghash.go +714 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +208 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghook.go +258 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +90 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +1123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +1164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +38 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/glibconfig.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/glist.go +57 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmacros.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmain.go +2504 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +780 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmem.go +519 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +1005 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gnode.go +424 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/goption.go +652 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +314 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +209 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +86 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +35 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +121 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +45 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gquark.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +471 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grand.go +223 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +198 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gregex.go +1610 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/grel.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +473 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +578 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gshell.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gslice.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gslist.go +56 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +618 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +375 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +1120 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstring.go +596 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +179 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +1439 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gthread.go +2438 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +277 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +377 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +94 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtree.go +503 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +258 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +1656 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/guri.go +1099 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gutils.go +745 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/guuid.go +48 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +3035 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +712 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gversion.go +44 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/gversionmacros.go +18 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/main.go +141 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more.go +366 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more_other.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more_sysv.go +29 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/glib/more_windows.go +6 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +172 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gmodule/gmoduleconf.go +12 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gmodule/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +369 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +65 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +543 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/genums.go +290 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +227 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +2233 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +924 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +1324 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +810 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +268 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +51 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +1648 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +383 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +895 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +214 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvaluecollector.go +11 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +52 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/main.go +28 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/more.go +154 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gobject/types/types.go +3 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +391 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-config.go +55 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +399 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +163 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-macros.go +8 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +830 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +198 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +231 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +319 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +268 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +464 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +142 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +194 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +240 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-types.go +53 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +396 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +410 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +97 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +98 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +124 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +90 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +123 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +130 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +100 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +91 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +102 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +569 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +667 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +148 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +120 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +99 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +137 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +80 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +129 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +195 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +236 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +341 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrenderreplay.go +33 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +139 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +125 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +111 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +2087 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +1284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +764 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +495 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +579 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +344 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +466 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +600 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +400 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +134 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +657 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +561 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +681 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +1025 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +952 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +520 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +1041 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +95 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +324 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +156 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +591 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +717 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +1021 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +356 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +910 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +829 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +1864 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +249 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +432 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +224 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +612 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +1046 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +180 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +174 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +221 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +125 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +774 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +230 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +696 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +565 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +271 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +873 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +573 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +305 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +521 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +426 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +247 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +491 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +927 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +219 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +469 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +180 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +1327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +652 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +366 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +318 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +559 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcssenums.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +40 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcsslocation.go +34 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +267 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +203 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +119 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +109 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +111 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +107 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +1022 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +58 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +418 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +532 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +391 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +604 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +237 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +756 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +539 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +347 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +1008 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +695 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +474 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +2253 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +666 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +764 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +2312 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +264 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +209 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +243 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +118 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +214 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +291 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +730 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +992 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +602 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +945 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +670 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +1095 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +706 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +254 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +494 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +407 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +453 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +207 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +262 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +1627 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +763 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +692 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +654 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +543 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +411 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +712 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +564 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +646 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +199 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +194 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +190 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +131 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +232 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +299 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +133 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +1000 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +499 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +780 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +488 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +758 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +637 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +359 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +538 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +1772 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +879 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +1251 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimmodule.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +238 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +703 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +873 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +1725 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +118 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +413 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +713 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +591 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +1777 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +188 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +381 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +100 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +938 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +815 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +582 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +185 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +321 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +388 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +566 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +1149 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +905 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +761 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +294 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +531 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +175 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +475 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +367 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +1549 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +147 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +101 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +494 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +234 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +447 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +507 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +928 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +364 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +765 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +93 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +832 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +923 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +526 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +634 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +416 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +489 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +556 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +473 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +1910 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +442 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +968 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +754 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +658 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +957 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +902 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +169 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +544 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +143 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +735 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +730 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +234 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +417 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +1157 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +539 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +973 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +159 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +219 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +564 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +1343 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +662 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +336 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +427 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +128 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +424 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +520 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +532 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +607 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +617 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +252 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +510 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +250 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +64 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +327 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +823 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +491 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +407 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +1409 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +405 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +1385 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +382 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +405 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +471 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +248 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +404 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +207 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +513 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +67 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +875 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +606 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +177 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +1730 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +2252 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +246 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +1393 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +259 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +1583 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +246 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +2802 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +674 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +169 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +395 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +615 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +599 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +136 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +1750 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +742 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +326 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +362 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +890 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +2663 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +994 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +513 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +182 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +145 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +632 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +512 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +377 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +5627 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +269 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +2140 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowcontrols.go +556 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowgroup.go +239 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowhandle.go +394 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/gtk/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCClass.go +524 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCContext.go +417 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCException.go +256 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCOptions.go +228 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCValue.go +1072 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVersion.go +81 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVirtualMachine.go +96 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCWeakValue.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/layershell/gtk4-layer-shell.go +340 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/main.go +30 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-attributes.go +1798 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-bidi-type.go +138 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-break.go +144 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-color.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-context.go +422 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-coverage.go +211 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-direction.go +50 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-features.go +13 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-font.go +2313 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-fontmap.go +580 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-fontset-simple.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-fontset.go +374 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-glyph-item.go +308 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-glyph.go +439 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-gravity.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-item.go +257 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-language.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-layout.go +1777 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-markup.go +106 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-matrix.go +246 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-renderer.go +782 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-script.go +427 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-tabs.go +281 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-types.go +250 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/pango/pango-utils.go +293 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-basic.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-digest.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-basic.go +152 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-digest.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain.go +403 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-manager.go +116 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-negotiate.go +74 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth-ntlm.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-auth.go +536 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cache.go +249 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-content-decoder.go +79 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-content-sniffer.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-db.go +121 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-text.go +117 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar.go +466 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-cookie.go +166 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-date-utils.go +76 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-form.go +150 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-headers.go +245 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer-db.go +118 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer.go +313 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-policy.go +7 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-logger.go +273 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-message-body.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-message-headers.go +626 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-message.go +1419 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-multipart-input-stream.go +264 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-multipart.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-server-message.go +693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-server.go +996 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-session-feature.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-session.go +1383 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-status.go +204 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-tld.go +105 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-types.go +816 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-uri-utils.go +104 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-version.go +111 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-connection.go +630 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-deflate.go +59 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-manager.go +63 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension.go +333 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/soup/soup-websocket.go +276 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitApplicationInfo.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitAuthenticationRequest.go +342 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitAutomationSession.go +222 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardList.go +250 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardListItem.go +115 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitClipboardPermissionRequest.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitColorChooserRequest.go +189 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenu.go +346 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuActions.go +112 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuItem.go +284 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitCookieManager.go +353 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitCredential.go +188 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitDeviceInfoPermissionRequest.go +74 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitDownload.go +433 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditingCommands.go +61 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditorState.go +200 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitError.go +335 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFaviconDatabase.go +205 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFeature.go +325 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFileChooserRequest.go +226 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFindController.go +356 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitFormSubmissionRequest.go +110 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationManager.go +285 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationPermissionRequest.go +89 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitHitTestResult.go +355 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitImage.go +275 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitInputMethodContext.go +1260 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitMediaKeySystemPermissionRequest.go +108 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitMemoryPressureSettings.go +211 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationAction.go +184 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationPolicyDecision.go +103 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkProxySettings.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkSession.go +425 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotification.go +216 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotificationPermissionRequest.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenu.go +191 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenuItem.go +129 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionRequest.go +153 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionStateQuery.go +135 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPointerLockPermissionRequest.go +73 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPolicyDecision.go +348 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitPrintOperation.go +283 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitResponsePolicyDecision.go +148 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitScriptDialog.go +178 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityManager.go +218 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityOrigin.go +164 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitSettings.go +2513 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIRequest.go +157 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIResponse.go +200 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeRequest.go +201 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeResponse.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIUtilities.go +36 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContent.go +329 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentFilterStore.go +295 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentManager.go +430 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMediaPermissionRequest.go +139 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMessage.go +241 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitVersion.go +84 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebContext.go +649 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtension.go +608 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtensionMatchPattern.go +261 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebInspector.go +392 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebResource.go +290 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebView.go +4693 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewBase.go +433 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewGtk4.go +43 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewSessionState.go +103 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteData.go +127 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataAccessPermissionRequest.go +113 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataManager.go +544 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsitePolicies.go +151 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitWindowProperties.go +342 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/WebKitXRPermissionRequest.go +247 -0 collapsed to keep the page light
A vendor/github.com/bnema/puregotk/v4/webkit/more.go +228 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/.gitignore +25 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/LICENSE +20 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/README.md +30 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/backoff.go +66 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/context.go +62 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/exponential.go +216 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/retry.go +146 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/ticker.go +97 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/timer.go +35 -0 collapsed to keep the page light
A vendor/github.com/cenkalti/backoff/v4/tries.go +38 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/cursor/cursor.go +221 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/help/help.go +240 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/key/key.go +140 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/README.md +71 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/defaultitem.go +229 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/keys.go +97 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/list.go +1330 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/list/style.go +99 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/paginator/paginator.go +214 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/runeutil/runeutil.go +102 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/spinner/spinner.go +224 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/table/table.go +450 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/textinput/textinput.go +890 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/viewport/keymap.go +60 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbles/viewport/viewport.go +544 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.gitattributes +1 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.gitignore +23 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.golangci.yml +44 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/.goreleaser.yml +5 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/README.md +400 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/Taskfile.yaml +14 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/commands.go +222 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/exec.go +133 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/focus.go +9 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/inputreader_other.go +19 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/inputreader_windows.go +129 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key.go +715 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key_other.go +13 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key_sequences.go +130 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/key_windows.go +441 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/logging.go +53 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/mouse.go +308 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/nil_renderer.go +29 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/options.go +252 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/renderer.go +88 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/screen.go +248 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/signals_unix.go +33 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/signals_windows.go +10 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/standard_renderer.go +790 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tea.go +941 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tea_init.go +22 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tty.go +141 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tty_unix.go +49 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/bubbletea/tty_windows.go +68 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/.golangci.yml +47 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/.goreleaser.yml +6 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/README.md +109 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/doc.go +4 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/env.go +294 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/env_other.go +8 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/env_windows.go +40 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/profile.go +108 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/colorprofile/writer.go +171 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/.golangci.yml +41 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/.goreleaser.yml +5 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/README.md +815 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/Taskfile.yaml +19 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/align.go +83 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/ansi_unix.go +7 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/ansi_windows.go +22 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/borders.go +490 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/color.go +172 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/get.go +556 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/join.go +175 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/position.go +154 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/ranges.go +48 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/renderer.go +181 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/runes.go +43 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/set.go +799 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/size.go +41 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/style.go +588 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/unset.go +331 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/lipgloss/whitespace.go +83 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/ansi.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/ascii.go +8 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/background.go +178 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/c0.go +79 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/c1.go +72 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/charset.go +55 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/clipboard.go +75 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/color.go +784 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/ctrl.go +156 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/cursor.go +637 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/cwd.go +26 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/doc.go +7 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/finalterm.go +67 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/focus.go +9 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/graphics.go +62 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/hyperlink.go +28 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/inband.go +24 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/iterm2.go +18 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/keypad.go +28 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/kitty.go +90 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/method.go +196 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/mode.go +690 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/mode_deprecated.go +495 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/modes.go +65 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/mouse.go +172 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/notification.go +32 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/palette.go +34 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser.go +417 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser/const.go +79 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser/seq.go +136 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser/transition_table.go +273 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser_decode.go +525 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser_handler.go +60 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/parser_sync.go +29 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/passthrough.go +60 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/paste.go +7 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/progress.go +49 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/reset.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/screen.go +410 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/sgr.go +79 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/status.go +168 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/style.go +819 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/termcap.go +41 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/title.go +48 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/truncate.go +290 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/urxvt.go +17 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/util.go +92 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/width.go +107 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/winop.go +59 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/wrap.go +472 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/ansi/xterm.go +138 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/buffer.go +474 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/cell.go +487 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/errors.go +6 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/geom.go +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/hardscroll.go +273 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/hashmap.go +301 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/link.go +14 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/pen.go +92 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/screen.go +1514 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/sequence.go +131 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/style.go +31 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/tabstop.go +137 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/utils.go +24 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/wrap.go +191 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/cellbuf/writer.go +340 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term.go +51 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_other.go +39 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_plan9.go +118 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_unix.go +96 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_unix_bsd.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_unix_other.go +11 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/term_windows.go +87 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/terminal.go +12 -0 collapsed to keep the page light
A vendor/github.com/charmbracelet/x/term/util.go +47 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/LICENSE +23 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/README.md +20 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser.go +57 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_darwin.go +5 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_freebsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_linux.go +21 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_netbsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_openbsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_unsupported.go +12 -0 collapsed to keep the page light
A vendor/github.com/cli/browser/browser_windows.go +7 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/.gitignore +3 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/AGENTS.md +51 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/CHANGELOG.md +129 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/README.md +190 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/gen.go +3 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/graphemes.go +73 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/options.go +30 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/trie.go +1699 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/truncate.go +149 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/displaywidth/width.go +239 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/README.md +120 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi.go +138 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi8.go +79 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/iterator.go +144 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/reader.go +25 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/splitfunc.go +205 -0 collapsed to keep the page light
A vendor/github.com/clipperhouse/uax29/v2/graphemes/trie.go +1717 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md +21 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/md2man/debug.go +62 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go +24 -0 collapsed to keep the page light
A vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go +416 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/LICENSE +15 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/bypass.go +145 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/bypasssafe.go +38 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/common.go +341 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/config.go +306 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/doc.go +211 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/dump.go +509 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/format.go +419 -0 collapsed to keep the page light
A vendor/github.com/davecgh/go-spew/spew/spew.go +148 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/.golangci.yml +24 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/README.md +2 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/keycodes.go +205 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/mode.go +82 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/read.go +154 -0 collapsed to keep the page light
A vendor/github.com/erikgeiser/coninput/records.go +486 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/LICENSE.md +20 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/README.md +189 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/color.go +733 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/color_windows.go +22 -0 collapsed to keep the page light
A vendor/github.com/fatih/color/doc.go +134 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/.gitignore +10 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/.mailmap +2 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/CHANGELOG.md +651 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md +147 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/LICENSE +25 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/README.md +214 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_fen.go +469 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_inotify.go +597 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_kqueue.go +735 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_other.go +22 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/backend_windows.go +702 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/fsnotify.go +526 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/darwin.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go +15 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go +15 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go +32 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_linux.go +56 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go +15 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go +16 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_solaris.go +45 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/debug_windows.go +40 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/freebsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/internal.go +2 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/unix.go +20 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/unix2.go +25 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/internal/windows.go +40 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/shared.go +64 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/staticcheck.conf +3 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/system_bsd.go +7 -0 collapsed to keep the page light
A vendor/github.com/fsnotify/fsnotify/system_darwin.go +8 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.editorconfig +24 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.envrc +7 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.gitignore +10 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/.golangci.yaml +48 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/CHANGELOG.md +104 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/README.md +81 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/decode_hooks.go +714 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/devenv.lock +103 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/devenv.nix +14 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/devenv.yaml +4 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/errors.go +244 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/internal/errors/errors.go +11 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/internal/errors/join.go +9 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/internal/errors/join_go1_19.go +61 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/mapstructure.go +1948 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/reflect_go1_19.go +44 -0 collapsed to keep the page light
A vendor/github.com/go-viper/mapstructure/v2/reflect_go1_20.go +10 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/.cirrus.yml +11 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/.golangci.yml +13 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/CONTRIBUTING.md +50 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/LICENSE +25 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/MAINTAINERS +3 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/README.md +47 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/SECURITY.md +13 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth.go +257 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_anonymous.go +16 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_default_other.go +7 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_default_windows.go +5 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_external.go +26 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/auth_sha1_windows.go +109 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/call.go +66 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn.go +1009 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_darwin.go +36 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_other.go +83 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_unix.go +40 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/conn_windows.go +13 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/dbus.go +427 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/decoder.go +376 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/default_handler.go +338 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/doc.go +70 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/encoder.go +235 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/escape.go +84 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/export.go +484 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/match.go +89 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/message.go +393 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/object.go +181 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/sequence.go +24 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/sequential_handler.go +125 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/server_interfaces.go +107 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/sig.go +298 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_darwin.go +6 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_generic.go +52 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_nonce_tcp.go +41 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_tcp.go +41 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unix.go +291 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_dragonfly.go +95 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go +94 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_linux.go +25 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_unixcred_openbsd.go +14 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/transport_zos.go +6 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/variant.go +169 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/variant_lexer.go +284 -0 collapsed to keep the page light
A vendor/github.com/godbus/dbus/v5/variant_parser.go +815 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/LICENSE +201 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/README.md +23 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/trap_others.go +16 -0 collapsed to keep the page light
A vendor/github.com/inconshreveable/mousetrap/trap_windows.go +42 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/.gitignore +101 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/CHANGELOG.md +72 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/LICENSE +7 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/README.md +490 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/colorgens.go +67 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/colors.go +1156 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/happy_palettegen.go +29 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/hexcolor.go +91 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/hsluv-snapshot-rev4.json +1 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/hsluv.go +208 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/rand.go +22 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/soft_palettegen.go +192 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/sort.go +191 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/warm_palettegen.go +29 -0 collapsed to keep the page light
A vendor/github.com/lucasb-eyer/go-colorful/widegamut.go +290 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/README.md +48 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/colorable_others.go +38 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/colorable_windows.go +1047 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/go.test.sh +12 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-colorable/noncolorable.go +57 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/LICENSE +9 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/README.md +50 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/doc.go +2 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/go.test.sh +12 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_bsd.go +20 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_others.go +17 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_plan9.go +23 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_solaris.go +21 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_tcgets.go +20 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-isatty/isatty_windows.go +136 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/README.md +23 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/localereader.go +19 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/localereader_unix.go +11 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-localereader/localereader_windows.go +85 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/README.md +27 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/benchstat.txt +43 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/new.txt +54 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/old.txt +54 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth.go +420 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_appengine.go +9 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_js.go +9 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_posix.go +81 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_table.go +488 -0 collapsed to keep the page light
A vendor/github.com/mattn/go-runewidth/runewidth_windows.go +34 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/LICENSE.txt +24 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/README.md +85 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/env.go +53 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/interpolate.go +213 -0 collapsed to keep the page light
A vendor/github.com/mfridman/interpolate/parser.go +281 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/.golangci.yml +27 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/README.md +31 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/ansi.go +7 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/buffer.go +40 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/compressor/writer.go +132 -0 collapsed to keep the page light
A vendor/github.com/muesli/ansi/writer.go +76 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/.golangci-soft.yml +47 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/.golangci.yml +29 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/README.md +64 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader.go +93 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_bsd.go +146 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_default.go +12 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_linux.go +154 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_select.go +136 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_unix.go +18 -0 collapsed to keep the page light
A vendor/github.com/muesli/cancelreader/cancelreader_windows.go +244 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/.gitignore +15 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/.golangci-soft.yml +43 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/.golangci.yml +28 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/README.md +431 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/ansi_compat.md +65 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/ansicolors.go +281 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/color.go +205 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_linux.go +8 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_solaris.go +8 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_unix.go +13 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/constants_zos.go +8 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/copy.go +37 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/hyperlink.go +11 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/notification.go +11 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/output.go +205 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/profile.go +112 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/screen.go +590 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/style.go +126 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/templatehelper.go +88 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv.go +115 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_other.go +30 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_posix.go +17 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_solaris.go +22 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_unix.go +301 -0 collapsed to keep the page light
A vendor/github.com/muesli/termenv/termenv_windows.go +140 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/.gitignore +24 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/README.md +35 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/atomic.go +73 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/file_unix.go +14 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/file_windows.go +33 -0 collapsed to keep the page light
A vendor/github.com/natefinch/atomic/zfile_windows.go +27 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.dockerignore +2 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.gitattributes +4 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.gitignore +8 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.golangci.toml +76 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/.goreleaser.yaml +128 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/AGENTS.md +73 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/CONTRIBUTING.md +254 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/Dockerfile +6 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/README.md +327 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/SECURITY.md +16 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/capability_baseline.txt +1 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/caps.sh +101 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/ci.sh +293 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/decode.go +538 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/decode_fused.go +362 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/doc.go +2 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/errors.go +233 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/parserbridge/parserbridge.go +37 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/tracker/key.go +49 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/tracker/seen.go +450 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go +2 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/localtime.go +121 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/marshaler.go +1697 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/strict.go +108 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/test-go-versions.sh +597 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/toml.abnf +246 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/types.go +24 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unmarshaler.go +2396 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/ast.go +124 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/bridge.go +21 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/doc.go +3 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/kind.go +83 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/marshaler.go +29 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/parser.go +1686 -0 collapsed to keep the page light
A vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go +43 -0 collapsed to keep the page light
A vendor/github.com/pmezard/go-difflib/LICENSE +27 -0 collapsed to keep the page light
A vendor/github.com/pmezard/go-difflib/difflib/difflib.go +772 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/.gitignore +22 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/.golangci.yaml +31 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/.goreleaser.yaml +37 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/CHANGELOG.md +350 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/Makefile +150 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/README.md +500 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/create.go +116 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/dialect/querier.go +25 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/dialect/querier_extended.go +22 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/dialects.go +214 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/doc.go +14 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/sql_extended.go +23 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/store.go +66 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/database/store_extended.go +33 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/db.go +48 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/dialect.go +74 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/down.go +107 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/fix.go +54 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/globals.go +104 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/goose.go +141 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/helpers.go +84 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/install.sh +37 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/controller/store.go +37 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/clickhouse.go +53 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/dsql.go +66 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/mysql.go +62 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/postgres.go +70 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/redshift.go +52 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/spanner.go +50 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/sqlite3.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/sqlserver.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/starrocks.go +54 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/tidb.go +52 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/turso.go +14 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/vertica.go +54 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/dialects/ydb.go +72 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/gooseutil/resolve.go +118 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/legacystore/legacystore.go +173 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/sqlparser/parse.go +59 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/internal/sqlparser/parser.go +394 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/store/postgres.go +282 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/store/store.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/table/config.go +28 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/internal/table/locker.go +237 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/locker.go +32 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/postgres.go +165 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/session_locker_options.go +98 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/lock/table_locker_options.go +136 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/log.go +36 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/migrate.go +379 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/migration.go +398 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/migration_sql.go +115 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/osfs.go +28 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider.go +669 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_collect.go +196 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_errors.go +48 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_options.go +280 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_run.go +535 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/provider_types.go +91 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/redo.go +51 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/register.go +133 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/reset.go +64 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/status.go +64 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/up.go +221 -0 collapsed to keep the page light
A vendor/github.com/pressly/goose/v3/version.go +52 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/LICENSE.txt +21 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/README.md +137 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/doc.go +108 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/eastasianwidth.go +2588 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/emojipresentation.go +295 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/gen_breaktest.go +215 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/gen_properties.go +261 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/grapheme.go +331 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/graphemeproperties.go +1915 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/graphemerules.go +176 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/line.go +134 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/lineproperties.go +3554 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/linerules.go +626 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/properties.go +208 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/sentence.go +90 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/sentenceproperties.go +2845 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/sentencerules.go +276 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/step.go +242 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/width.go +61 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/word.go +89 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/wordproperties.go +1883 -0 collapsed to keep the page light
A vendor/github.com/rivo/uniseg/wordrules.go +282 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/.gitignore +27 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/README.md +858 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/array.go +276 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/console.go +535 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/context.go +535 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/ctx.go +51 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/encoder.go +56 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/encoder_cbor.go +45 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/encoder_json.go +51 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/event.go +919 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/example.jsonl +7 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/fields.go +312 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/globals.go +208 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/globals_118.go +30 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/go112.go +7 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/hook.go +64 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/README.md +56 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/base.go +19 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/cbor.go +102 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +654 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/string.go +117 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/time.go +111 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/cbor/types.go +524 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/base.go +19 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/bytes.go +85 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/string.go +149 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/time.go +124 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/internal/json/types.go +466 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/log.go +528 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/not_go112.go +5 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/pretty.png +0 -0 binary file: no text diff
binary file: no text diff
A vendor/github.com/rs/zerolog/sampler.go +137 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/slog.go +247 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/syslog.go +89 -0 collapsed to keep the page light
A vendor/github.com/rs/zerolog/writer.go +355 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/.gitignore +8 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/.travis.yml +17 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/LICENSE.txt +29 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/README.md +335 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/block.go +1612 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/doc.go +46 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/entities.go +2236 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/esc.go +70 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/html.go +952 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/inline.go +1228 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/markdown.go +950 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/node.go +360 -0 collapsed to keep the page light
A vendor/github.com/russross/blackfriday/v2/smartypants.go +457 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.editorconfig +21 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.envrc +4 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.gitignore +5 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/.golangci.yaml +37 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/LICENSE +19 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/README.md +37 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/devenv.lock +103 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/devenv.nix +17 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/devenv.yaml +4 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/file_type.go +32 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/finder.go +171 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/glob.go +5 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/glob_windows.go +8 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/helpers.go +41 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/internal/queue/eager.go +53 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go +8 -0 collapsed to keep the page light
A vendor/github.com/sagikazarmark/locafero/justfile +14 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/.editorconfig +18 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/CONTRIBUTING.md +1 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/Makefile +59 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/README.md +186 -0 collapsed to keep the page light
A vendor/github.com/sahilm/fuzzy/fuzzy.go +263 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/LICENSE +202 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/README.md +185 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff.go +134 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff_constant.go +25 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff_exponential.go +47 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/backoff_fibonacci.go +56 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/rand.go +54 -0 collapsed to keep the page light
A vendor/github.com/sethvargo/go-retry/retry.go +104 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/.editorconfig +15 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/.golangci.yaml +48 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/LICENSE.txt +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/README.md +474 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/afero.go +111 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/appveyor.yml +10 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/basepath.go +222 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/cacheOnReadFs.go +315 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/const_bsds.go +23 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/const_win_unix.go +22 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/copyOnWriteFs.go +332 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/httpFs.go +114 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/internal/common/adapters.go +27 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/iofs.go +302 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/ioutil.go +243 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/lstater.go +27 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/match.go +110 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/mem/dir.go +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/mem/dirmap.go +43 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/mem/file.go +373 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/memmap.go +463 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/os.go +113 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/path.go +106 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/readonlyfs.go +96 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/regexpfs.go +223 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/symlink.go +55 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/unionFile.go +331 -0 collapsed to keep the page light
A vendor/github.com/spf13/afero/util.go +329 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/.editorconfig +15 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/.gitignore +25 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/.golangci.yaml +39 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/Makefile +40 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/README.md +79 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/alias.go +69 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/basic.go +131 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/cast.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/indirect.go +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/internal/time.go +79 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/internal/timeformattype_string.go +27 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/map.go +212 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/number.go +549 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/slice.go +106 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/time.go +116 -0 collapsed to keep the page light
A vendor/github.com/spf13/cast/zz_generated.go +261 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/.gitignore +39 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/.golangci.yml +66 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/.mailmap +3 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/CONDUCT.md +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/CONTRIBUTING.md +50 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/LICENSE.txt +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/MAINTAINERS +13 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/Makefile +35 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/README.md +133 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/SECURITY.md +105 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/active_help.go +60 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/args.go +131 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/bash_completions.go +709 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/bash_completionsV2.go +484 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/cobra.go +246 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/command.go +2072 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/command_notwin.go +20 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/command_win.go +41 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/completions.go +1020 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/man_docs.go +246 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/md_docs.go +158 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/rest_docs.go +186 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/util.go +52 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/doc/yaml_docs.go +175 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/fish_completions.go +292 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/flag_groups.go +290 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/powershell_completions.go +350 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/shell_completions.go +98 -0 collapsed to keep the page light
A vendor/github.com/spf13/cobra/zsh_completions.go +308 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.editorconfig +12 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.gitignore +2 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.golangci.yaml +4 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/.travis.yml +22 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/LICENSE +28 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/README.md +323 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bool.go +94 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bool_func.go +40 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bool_slice.go +185 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/bytes.go +209 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/count.go +96 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/duration.go +86 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/duration_slice.go +166 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/errors.go +149 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/flag.go +1289 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float32.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float32_slice.go +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float64.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/float64_slice.go +166 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/func.go +37 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/golangflag.go +161 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int16.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int32.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int32_slice.go +174 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int64.go +84 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int64_slice.go +166 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int8.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/int_slice.go +158 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ip.go +97 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ip_slice.go +186 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ipmask.go +122 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ipnet.go +98 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/ipnet_slice.go +147 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string.go +80 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_array.go +125 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_slice.go +163 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_to_int.go +149 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_to_int64.go +149 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/string_to_string.go +168 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/text.go +81 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/time.go +124 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint16.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint32.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint64.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint8.go +88 -0 collapsed to keep the page light
A vendor/github.com/spf13/pflag/uint_slice.go +168 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.editorconfig +21 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.envrc +4 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.gitignore +8 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.golangci.yaml +118 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.yamlignore +2 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/.yamllint.yaml +6 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/Makefile +87 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/README.md +931 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/TROUBLESHOOTING.md +32 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/UPGRADE.md +147 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/encoding.go +181 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/experimental.go +8 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/file.go +104 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/finder.go +55 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/flags.go +57 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/flake.lock +255 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/flake.nix +61 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/dotenv/codec.go +61 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/dotenv/map_utils.go +41 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/json/codec.go +17 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/toml/codec.go +16 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go +14 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/bind_struct.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/bind_struct_default.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/finder.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/internal/features/finder_default.go +5 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/logger.go +31 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/remote.go +259 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/util.go +211 -0 collapsed to keep the page light
A vendor/github.com/spf13/viper/viper.go +2077 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/.codeclimate.yml +21 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/.gitignore +11 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/LICENSE +22 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/README.md +91 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/Taskfile.yml +27 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/accessors.go +197 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/conversions.go +280 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/doc.go +66 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/map.go +214 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/mutations.go +77 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/security.go +12 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/tests.go +17 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/type_specific.go +346 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/type_specific_codegen.go +2261 -0 collapsed to keep the page light
A vendor/github.com/stretchr/objx/value.go +159 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_compare.go +495 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_format.go +866 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl +5 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_forward.go +1723 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl +5 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertion_order.go +81 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/assertions.go +2295 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/doc.go +50 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/errors.go +10 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/forward_assertions.go +16 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/http_assertions.go +165 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/yaml/yaml_custom.go +24 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/yaml/yaml_default.go +36 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/assert/yaml/yaml_fail.go +17 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/mock/doc.go +44 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/mock/mock.go +1298 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/doc.go +31 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/forward_requirements.go +16 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require.go +2180 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require.go.tmpl +6 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require_forward.go +1724 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/require_forward.go.tmpl +5 -0 collapsed to keep the page light
A vendor/github.com/stretchr/testify/require/requirements.go +29 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.env +1 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.env.invalid +1 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.gitignore +4 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/.golangci.yaml +7 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/CHANGELOG.md +105 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/README.md +129 -0 collapsed to keep the page light
A vendor/github.com/subosito/gotenv/gotenv.go +409 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/.gitignore +9 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/LICENSE +21 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/README.md +139 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/caps.go +31 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/capvals.go +1525 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/color.go +88 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/dec.go +245 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/load.go +64 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/param.go +405 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/stack.go +48 -0 collapsed to keep the page light
A vendor/github.com/xo/terminfo/terminfo.go +479 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/.codecov.yml +15 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/.gitignore +4 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/CHANGELOG.md +95 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/LICENSE.txt +19 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/Makefile +38 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/README.md +43 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/error.go +646 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/error_post_go120.go +48 -0 collapsed to keep the page light
A vendor/go.uber.org/multierr/error_pre_go120.go +79 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/LICENSE +50 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/NOTICE +13 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/README.md +171 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/apic.go +747 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/decode.go +1018 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/emitterc.go +2054 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/encode.go +577 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/parserc.go +1274 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/readerc.go +434 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/resolve.go +326 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/scannerc.go +3040 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/sorter.go +134 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/writerc.go +48 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/yaml.go +703 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/yamlh.go +811 -0 collapsed to keep the page light
A vendor/go.yaml.in/yaml/v3/yamlprivateh.go +198 -0 collapsed to keep the page light
A vendor/golang.org/x/image/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/image/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/image/draw/draw.go +67 -0 collapsed to keep the page light
A vendor/golang.org/x/image/draw/impl.go +8426 -0 collapsed to keep the page light
A vendor/golang.org/x/image/draw/scale.go +525 -0 collapsed to keep the page light
A vendor/golang.org/x/image/math/f64/f64.go +37 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go +78 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/print.go +184 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/read.go +962 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/rule.go +1951 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/modfile/work.go +333 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/module/module.go +840 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/module/pseudo.go +250 -0 collapsed to keep the page light
A vendor/golang.org/x/mod/semver/semver.go +407 -0 collapsed to keep the page light
A vendor/golang.org/x/net/LICENSE +27 -0 collapsed to keep the page light
A vendor/golang.org/x/net/PATENTS +22 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/atom/atom.go +78 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/atom/table.go +785 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/const.go +111 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/doc.go +122 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/doctype.go +156 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/entity.go +2252 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/escape.go +379 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/foreign.go +221 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/iter.go +54 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/node.go +230 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/nodetype_string.go +31 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/parse.go +2378 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/render.go +316 -0 collapsed to keep the page light
A vendor/golang.org/x/net/html/token.go +1322 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/idna.go +880 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/punycode.go +220 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/tables15.0.0.go +5144 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/tables17.0.0.go +5302 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/trie.go +51 -0 collapsed to keep the page light
A vendor/golang.org/x/net/idna/trieval.go +119 -0 collapsed to keep the page light
A vendor/golang.org/x/net/publicsuffix/data/children +0 -0 binary file: no text diff
binary file: no text diff
A vendor/golang.org/x/net/publicsuffix/data/nodes +0 -0 binary file: no text diff
binary file: no text diff