├── .github └── workflows │ └── release.yml ├── .gitignore ├── .goreleaser.yml ├── LICENSE ├── README.md ├── README_zh.md ├── arm-docker-build.sh ├── backend ├── all │ └── all.go └── drive │ ├── drive.go │ ├── drive_internal_test.go │ ├── drive_test.go │ ├── metadata.go │ ├── test │ ├── about.json │ └── files │ │ ├── example1.ods │ │ ├── example2.doc │ │ └── example3.odt │ └── upload.go ├── cmd ├── all │ └── all.go ├── copy │ └── copy.go └── sync │ └── sync.go ├── docker-build.sh ├── gclone.go ├── go.mod ├── go.sum ├── osx-arm-docker-build.sh ├── osx-docker-build.sh └── windows-docker-build.sh /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: goreleaser 2 | 3 | on: 4 | push: 5 | tags: 6 | - '*' 7 | 8 | jobs: 9 | goreleaser: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - 13 | name: Checkout 14 | uses: actions/checkout@v2 15 | - 16 | name: Unshallow 17 | run: git fetch --prune --unshallow 18 | - 19 | name: Set up Go 20 | uses: actions/setup-go@v1 21 | with: 22 | go-version: 1.13.x 23 | - 24 | name: Run GoReleaser 25 | uses: goreleaser/goreleaser-action@v1 26 | with: 27 | version: latest 28 | args: release --rm-dist 29 | key: ${{ secrets.YOUR_PRIVATE_KEY }} 30 | env: 31 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 32 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, built with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | 14 | # Dependency directories (remove the comment below to include it) 15 | vendor/ 16 | .idea 17 | credentials 18 | .DS_Store 19 | gclone.linux.* -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- 1 | env: 2 | - GO111MODULE=on 3 | before: 4 | hooks: 5 | - go mod download 6 | builds: 7 | - ldflags: -s -w 8 | env: 9 | - CGO_ENABLED=0 10 | goos: 11 | - linux 12 | - windows 13 | - darwin 14 | goarch: 15 | - 386 16 | - amd64 17 | - arm 18 | - arm64 19 | archives: 20 | - 21 | replacements: 22 | darwin: Darwin 23 | linux: Linux 24 | windows: Windows 25 | 386: i386 26 | amd64: x86_64 27 | format: gz 28 | format_overrides: 29 | - goos: windows 30 | format: zip 31 | files: 32 | - none* 33 | checksum: 34 | name_template: "checksums.txt" 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | gclone 3 | ==== 4 | English [简体中文](https://github.com/going/gclone/blob/master/README_zh.md) 5 | 6 | 7 | A modified version of the [rclone](//github.com/rclone/rclone) 8 | Provide dynamic replacement sa file support for google drive operation 9 | 10 | 11 | ## installation 12 | ``` 13 | bash <(wget -qO- https://git.io/gclone.sh) 14 | ``` 15 | 16 | ``` 17 | // View version information 18 | gclone version 19 | ``` 20 | 21 | ## Instructions 22 | ### 1.service_account_file_path Configuration 23 | add `service_account_file_path` Configuration.For dynamic replacement service_account_file(sa文件). Replace configuration when `rateLimitExceeded` error occurs 24 | `rclone.conf` example: 25 | ``` 26 | [gc] 27 | type = drive 28 | scope = drive 29 | service_account_file = /root/accounts/1.json 30 | service_account_file_path = /root/accounts/ 31 | root_folder_id = root 32 | ``` 33 | `/root/accounts/` Folder contains multiple access and edit permissions ***service account file(*.json)***. 34 | 35 | ### 2.Support incoming id 36 | If the original rclone is across team disks or shared folders, multiple configuration drive letters are required for operation. 37 | gclone supports incoming id operation 38 | ``` 39 | gclone copy gc:{folde_id1} gc:{folde_id2} --drive-server-side-across-configs 40 | ``` 41 | folde_id1 can be:Common directory, shared directory, team disk. 42 | 43 | ``` 44 | gclone copy gc:{folde_id1} gc:{folde_id2}/media/ --drive-server-side-across-configs 45 | 46 | ``` 47 | 48 | ``` 49 | gclone copy gc:{share_fiel_id} gc:{folde_id2} --drive-server-side-across-configs 50 | ``` 51 | 52 | 53 | -------------------------------------------------------------------------------- /README_zh.md: -------------------------------------------------------------------------------- 1 | 2 | gclone 3 | ==== 4 | [English](https://github.com/going/gclone/blob/master/README.md) 简体中文 5 | 6 | 7 | 一个[rclone](//github.com/rclone/rclone) 的修改版. 8 | 为Google Drive操作增加自动切换账户和命令行根目录id操作支持. 9 | 其他功能与原版rclone相同. 10 | ## 安装 11 | ``` 12 | bash <(wget -qO- https://git.io/gclone.sh) 13 | ``` 14 | 15 | ``` 16 | // 查看版本信息 17 | gclone version 18 | ``` 19 | 20 | ## 操作说明 21 | ### 1.service_account_file_path配置 22 | 添加`service_account_file_path`配置.用于动态替换service_account_file(sa文件).实现`rateLimitExceeded`错误时,替换当前用户,绕过750G限制. 23 | `rclone.conf`文件示例: 24 | ``` 25 | [gc] 26 | type = drive 27 | scope = drive 28 | service_account_file = /root/accounts/1.json 29 | service_account_file_path = /root/accounts/ <------- (核心)添加了这个配置 30 | root_folder_id = root 31 | ``` 32 | 其中`/root/accounts/`文件夹中存放了多个访问和编辑权限相同的service account file(*.json). 33 | 配置完成后.只要是`rclone`对`gc:`进行操作,出现`rateLimitExceeded`错误时,都会自动更换sa文件,实现无缝绕过限制. 34 | 35 | 36 | 37 | ### 2.命令行根目录id 38 | 原版rclone如果跨团队盘或者共享文件夹,需要多个配置盘符用于操作. 39 | gclone支持根目录`id`操作.共享目录和团队盘应该带`--drive-server-side-across-configs` 40 | ``` 41 | gclone copy gc:{目录1的id} gc:{目录2的id} --drive-server-side-across-configs 42 | ``` 43 | 目录id可以是:普通目录,共享目录,团队盘. 44 | 45 | 支持{目录id}后,跟后续路径 46 | ``` 47 | gclone copy gc:{共享目录id} gc:{团队盘id}/media/ --drive-server-side-across-configs 48 | 49 | ``` 50 | 51 | ### 3.直接拷贝单文件id 52 | `id`操作.共享目录和团队盘应该带`--drive-server-side-across-configs` 53 | ``` 54 | gclone copy gc:{共享文件的id} gc:{目录2的id} --drive-server-side-across-configs 55 | ``` 56 | 57 | 支持{目录id}后,跟后续路径 58 | ``` 59 | gclone copy gc:{共享文件的id} gc:{团队盘id}/media/ --drive-server-side-across-configs 60 | 61 | ``` 62 | -------------------------------------------------------------------------------- /arm-docker-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker run --platform=linux/arm64 --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e CGO_ENABLE=0 -e GOOS=linux -e GOARCH=arm64 golang:latest go build -tags "full" -ldflags="-s -w" -v 4 | -------------------------------------------------------------------------------- /backend/all/all.go: -------------------------------------------------------------------------------- 1 | // Package all imports all the backends 2 | package all 3 | 4 | import ( 5 | // Active file systems 6 | _ "github.com/going/gclone/backend/drive" 7 | _ "github.com/rclone/rclone/backend/alias" 8 | _ "github.com/rclone/rclone/backend/azureblob" 9 | _ "github.com/rclone/rclone/backend/azurefiles" 10 | _ "github.com/rclone/rclone/backend/b2" 11 | _ "github.com/rclone/rclone/backend/box" 12 | _ "github.com/rclone/rclone/backend/cache" 13 | _ "github.com/rclone/rclone/backend/chunker" 14 | _ "github.com/rclone/rclone/backend/combine" 15 | _ "github.com/rclone/rclone/backend/compress" 16 | _ "github.com/rclone/rclone/backend/crypt" 17 | _ "github.com/rclone/rclone/backend/dropbox" 18 | _ "github.com/rclone/rclone/backend/fichier" 19 | _ "github.com/rclone/rclone/backend/filefabric" 20 | _ "github.com/rclone/rclone/backend/ftp" 21 | _ "github.com/rclone/rclone/backend/googlecloudstorage" 22 | _ "github.com/rclone/rclone/backend/googlephotos" 23 | _ "github.com/rclone/rclone/backend/hasher" 24 | _ "github.com/rclone/rclone/backend/hdfs" 25 | _ "github.com/rclone/rclone/backend/hidrive" 26 | _ "github.com/rclone/rclone/backend/http" 27 | _ "github.com/rclone/rclone/backend/imagekit" 28 | _ "github.com/rclone/rclone/backend/internetarchive" 29 | _ "github.com/rclone/rclone/backend/jottacloud" 30 | _ "github.com/rclone/rclone/backend/koofr" 31 | _ "github.com/rclone/rclone/backend/linkbox" 32 | _ "github.com/rclone/rclone/backend/local" 33 | _ "github.com/rclone/rclone/backend/mailru" 34 | _ "github.com/rclone/rclone/backend/mega" 35 | _ "github.com/rclone/rclone/backend/memory" 36 | _ "github.com/rclone/rclone/backend/netstorage" 37 | _ "github.com/rclone/rclone/backend/onedrive" 38 | _ "github.com/rclone/rclone/backend/opendrive" 39 | _ "github.com/rclone/rclone/backend/oracleobjectstorage" 40 | _ "github.com/rclone/rclone/backend/pcloud" 41 | _ "github.com/rclone/rclone/backend/pikpak" 42 | _ "github.com/rclone/rclone/backend/premiumizeme" 43 | _ "github.com/rclone/rclone/backend/protondrive" 44 | _ "github.com/rclone/rclone/backend/putio" 45 | _ "github.com/rclone/rclone/backend/qingstor" 46 | _ "github.com/rclone/rclone/backend/quatrix" 47 | _ "github.com/rclone/rclone/backend/s3" 48 | _ "github.com/rclone/rclone/backend/seafile" 49 | _ "github.com/rclone/rclone/backend/sftp" 50 | _ "github.com/rclone/rclone/backend/sharefile" 51 | _ "github.com/rclone/rclone/backend/sia" 52 | _ "github.com/rclone/rclone/backend/smb" 53 | _ "github.com/rclone/rclone/backend/storj" 54 | _ "github.com/rclone/rclone/backend/sugarsync" 55 | _ "github.com/rclone/rclone/backend/swift" 56 | _ "github.com/rclone/rclone/backend/union" 57 | _ "github.com/rclone/rclone/backend/uptobox" 58 | _ "github.com/rclone/rclone/backend/webdav" 59 | _ "github.com/rclone/rclone/backend/yandex" 60 | _ "github.com/rclone/rclone/backend/zoho" 61 | ) 62 | -------------------------------------------------------------------------------- /backend/drive/drive_internal_test.go: -------------------------------------------------------------------------------- 1 | package drive 2 | 3 | import ( 4 | "bytes" 5 | "context" 6 | "encoding/json" 7 | "errors" 8 | "fmt" 9 | "io" 10 | "mime" 11 | "os" 12 | "path" 13 | "path/filepath" 14 | "strings" 15 | "testing" 16 | "time" 17 | 18 | _ "github.com/rclone/rclone/backend/local" 19 | "github.com/rclone/rclone/fs" 20 | "github.com/rclone/rclone/fs/filter" 21 | "github.com/rclone/rclone/fs/fserrors" 22 | "github.com/rclone/rclone/fs/hash" 23 | "github.com/rclone/rclone/fs/operations" 24 | "github.com/rclone/rclone/fs/sync" 25 | "github.com/rclone/rclone/fstest" 26 | "github.com/rclone/rclone/fstest/fstests" 27 | "github.com/rclone/rclone/lib/random" 28 | "github.com/stretchr/testify/assert" 29 | "github.com/stretchr/testify/require" 30 | "google.golang.org/api/drive/v3" 31 | "google.golang.org/api/googleapi" 32 | ) 33 | 34 | func TestDriveScopes(t *testing.T) { 35 | for _, test := range []struct { 36 | in string 37 | want []string 38 | wantFlag bool 39 | }{ 40 | {"", []string{ 41 | "https://www.googleapis.com/auth/drive", 42 | }, false}, 43 | {" drive.file , drive.readonly", []string{ 44 | "https://www.googleapis.com/auth/drive.file", 45 | "https://www.googleapis.com/auth/drive.readonly", 46 | }, false}, 47 | {" drive.file , drive.appfolder", []string{ 48 | "https://www.googleapis.com/auth/drive.file", 49 | "https://www.googleapis.com/auth/drive.appfolder", 50 | }, true}, 51 | } { 52 | got := driveScopes(test.in) 53 | assert.Equal(t, test.want, got, test.in) 54 | gotFlag := driveScopesContainsAppFolder(got) 55 | assert.Equal(t, test.wantFlag, gotFlag, test.in) 56 | } 57 | } 58 | 59 | /* 60 | var additionalMimeTypes = map[string]string{ 61 | "application/vnd.ms-excel.sheet.macroenabled.12": ".xlsm", 62 | "application/vnd.ms-excel.template.macroenabled.12": ".xltm", 63 | "application/vnd.ms-powerpoint.presentation.macroenabled.12": ".pptm", 64 | "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ".ppsm", 65 | "application/vnd.ms-powerpoint.template.macroenabled.12": ".potm", 66 | "application/vnd.ms-powerpoint": ".ppt", 67 | "application/vnd.ms-word.document.macroenabled.12": ".docm", 68 | "application/vnd.ms-word.template.macroenabled.12": ".dotm", 69 | "application/vnd.openxmlformats-officedocument.presentationml.template": ".potx", 70 | "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ".xltx", 71 | "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ".dotx", 72 | "application/vnd.sun.xml.writer": ".sxw", 73 | "text/richtext": ".rtf", 74 | } 75 | */ 76 | 77 | // Load the example export formats into exportFormats for testing 78 | func TestInternalLoadExampleFormats(t *testing.T) { 79 | fetchFormatsOnce.Do(func() {}) 80 | buf, err := os.ReadFile(filepath.FromSlash("test/about.json")) 81 | var about struct { 82 | ExportFormats map[string][]string `json:"exportFormats,omitempty"` 83 | ImportFormats map[string][]string `json:"importFormats,omitempty"` 84 | } 85 | require.NoError(t, err) 86 | require.NoError(t, json.Unmarshal(buf, &about)) 87 | _exportFormats = fixMimeTypeMap(about.ExportFormats) 88 | _importFormats = fixMimeTypeMap(about.ImportFormats) 89 | } 90 | 91 | func TestInternalParseExtensions(t *testing.T) { 92 | for _, test := range []struct { 93 | in string 94 | want []string 95 | wantErr error 96 | }{ 97 | {"doc", []string{".doc"}, nil}, 98 | {" docx ,XLSX, pptx,svg", []string{".docx", ".xlsx", ".pptx", ".svg"}, nil}, 99 | {"docx,svg,Docx", []string{".docx", ".svg"}, nil}, 100 | {"docx,potato,docx", []string{".docx"}, errors.New(`couldn't find MIME type for extension ".potato"`)}, 101 | } { 102 | extensions, _, gotErr := parseExtensions(test.in) 103 | if test.wantErr == nil { 104 | assert.NoError(t, gotErr) 105 | } else { 106 | assert.EqualError(t, gotErr, test.wantErr.Error()) 107 | } 108 | assert.Equal(t, test.want, extensions) 109 | } 110 | 111 | // Test it is appending 112 | extensions, _, gotErr := parseExtensions("docx,svg", "docx,svg,xlsx") 113 | assert.NoError(t, gotErr) 114 | assert.Equal(t, []string{".docx", ".svg", ".xlsx"}, extensions) 115 | } 116 | 117 | func TestInternalFindExportFormat(t *testing.T) { 118 | ctx := context.Background() 119 | item := &drive.File{ 120 | Name: "file", 121 | MimeType: "application/vnd.google-apps.document", 122 | } 123 | for _, test := range []struct { 124 | extensions []string 125 | wantExtension string 126 | wantMimeType string 127 | }{ 128 | {[]string{}, "", ""}, 129 | {[]string{".pdf"}, ".pdf", "application/pdf"}, 130 | {[]string{".pdf", ".rtf", ".xls"}, ".pdf", "application/pdf"}, 131 | {[]string{".xls", ".rtf", ".pdf"}, ".rtf", "application/rtf"}, 132 | {[]string{".xls", ".csv", ".svg"}, "", ""}, 133 | } { 134 | f := new(Fs) 135 | f.exportExtensions = test.extensions 136 | gotExtension, gotFilename, gotMimeType, gotIsDocument := f.findExportFormat(ctx, item) 137 | assert.Equal(t, test.wantExtension, gotExtension) 138 | if test.wantExtension != "" { 139 | assert.Equal(t, item.Name+gotExtension, gotFilename) 140 | } else { 141 | assert.Equal(t, "", gotFilename) 142 | } 143 | assert.Equal(t, test.wantMimeType, gotMimeType) 144 | assert.Equal(t, true, gotIsDocument) 145 | } 146 | } 147 | 148 | func TestMimeTypesToExtension(t *testing.T) { 149 | for mimeType, extension := range _mimeTypeToExtension { 150 | extensions, err := mime.ExtensionsByType(mimeType) 151 | assert.NoError(t, err) 152 | assert.Contains(t, extensions, extension) 153 | } 154 | } 155 | 156 | func TestExtensionToMimeType(t *testing.T) { 157 | for mimeType, extension := range _mimeTypeToExtension { 158 | gotMimeType := mime.TypeByExtension(extension) 159 | mediatype, _, err := mime.ParseMediaType(gotMimeType) 160 | assert.NoError(t, err) 161 | assert.Equal(t, mimeType, mediatype) 162 | } 163 | } 164 | 165 | func TestExtensionsForExportFormats(t *testing.T) { 166 | if _exportFormats == nil { 167 | t.Error("exportFormats == nil") 168 | } 169 | for fromMT, toMTs := range _exportFormats { 170 | for _, toMT := range toMTs { 171 | if !isInternalMimeType(toMT) { 172 | extensions, err := mime.ExtensionsByType(toMT) 173 | assert.NoError(t, err, "invalid MIME type %q", toMT) 174 | assert.NotEmpty(t, extensions, "No extension found for %q (from: %q)", fromMT, toMT) 175 | } 176 | } 177 | } 178 | } 179 | 180 | func TestExtensionsForImportFormats(t *testing.T) { 181 | t.Skip() 182 | if _importFormats == nil { 183 | t.Error("_importFormats == nil") 184 | } 185 | for fromMT := range _importFormats { 186 | if !isInternalMimeType(fromMT) { 187 | extensions, err := mime.ExtensionsByType(fromMT) 188 | assert.NoError(t, err, "invalid MIME type %q", fromMT) 189 | assert.NotEmpty(t, extensions, "No extension found for %q", fromMT) 190 | } 191 | } 192 | } 193 | 194 | func (f *Fs) InternalTestShouldRetry(t *testing.T) { 195 | ctx := context.Background() 196 | gatewayTimeout := googleapi.Error{ 197 | Code: 503, 198 | } 199 | timeoutRetry, timeoutError := f.shouldRetry(ctx, &gatewayTimeout) 200 | assert.True(t, timeoutRetry) 201 | assert.Equal(t, &gatewayTimeout, timeoutError) 202 | generic403 := googleapi.Error{ 203 | Code: 403, 204 | } 205 | rLEItem := googleapi.ErrorItem{ 206 | Reason: "rateLimitExceeded", 207 | Message: "User rate limit exceeded.", 208 | } 209 | generic403.Errors = append(generic403.Errors, rLEItem) 210 | oldStopUpload := f.opt.StopOnUploadLimit 211 | oldStopDownload := f.opt.StopOnDownloadLimit 212 | f.opt.StopOnUploadLimit = true 213 | f.opt.StopOnDownloadLimit = true 214 | defer func() { 215 | f.opt.StopOnUploadLimit = oldStopUpload 216 | f.opt.StopOnDownloadLimit = oldStopDownload 217 | }() 218 | expectedRLError := fserrors.FatalError(&generic403) 219 | rateLimitRetry, rateLimitErr := f.shouldRetry(ctx, &generic403) 220 | assert.False(t, rateLimitRetry) 221 | assert.Equal(t, rateLimitErr, expectedRLError) 222 | dQEItem := googleapi.ErrorItem{ 223 | Reason: "downloadQuotaExceeded", 224 | } 225 | generic403.Errors[0] = dQEItem 226 | expectedDQError := fserrors.FatalError(&generic403) 227 | downloadQuotaRetry, downloadQuotaError := f.shouldRetry(ctx, &generic403) 228 | assert.False(t, downloadQuotaRetry) 229 | assert.Equal(t, downloadQuotaError, expectedDQError) 230 | tDFLEItem := googleapi.ErrorItem{ 231 | Reason: "teamDriveFileLimitExceeded", 232 | } 233 | generic403.Errors[0] = tDFLEItem 234 | expectedTDFLError := fserrors.FatalError(&generic403) 235 | teamDriveFileLimitRetry, teamDriveFileLimitError := f.shouldRetry(ctx, &generic403) 236 | assert.False(t, teamDriveFileLimitRetry) 237 | assert.Equal(t, teamDriveFileLimitError, expectedTDFLError) 238 | qEItem := googleapi.ErrorItem{ 239 | Reason: "quotaExceeded", 240 | } 241 | generic403.Errors[0] = qEItem 242 | expectedQuotaError := fserrors.FatalError(&generic403) 243 | quotaExceededRetry, quotaExceededError := f.shouldRetry(ctx, &generic403) 244 | assert.False(t, quotaExceededRetry) 245 | assert.Equal(t, quotaExceededError, expectedQuotaError) 246 | 247 | sqEItem := googleapi.ErrorItem{ 248 | Reason: "storageQuotaExceeded", 249 | } 250 | generic403.Errors[0] = sqEItem 251 | expectedStorageQuotaError := fserrors.FatalError(&generic403) 252 | storageQuotaExceededRetry, storageQuotaExceededError := f.shouldRetry(ctx, &generic403) 253 | assert.False(t, storageQuotaExceededRetry) 254 | assert.Equal(t, storageQuotaExceededError, expectedStorageQuotaError) 255 | } 256 | 257 | func (f *Fs) InternalTestDocumentImport(t *testing.T) { 258 | oldAllow := f.opt.AllowImportNameChange 259 | f.opt.AllowImportNameChange = true 260 | defer func() { 261 | f.opt.AllowImportNameChange = oldAllow 262 | }() 263 | 264 | testFilesPath, err := filepath.Abs(filepath.FromSlash("test/files")) 265 | require.NoError(t, err) 266 | 267 | testFilesFs, err := fs.NewFs(context.Background(), testFilesPath) 268 | require.NoError(t, err) 269 | 270 | _, f.importMimeTypes, err = parseExtensions("odt,ods,doc") 271 | require.NoError(t, err) 272 | 273 | err = operations.CopyFile(context.Background(), f, testFilesFs, "example2.doc", "example2.doc") 274 | require.NoError(t, err) 275 | } 276 | 277 | func (f *Fs) InternalTestDocumentUpdate(t *testing.T) { 278 | testFilesPath, err := filepath.Abs(filepath.FromSlash("test/files")) 279 | require.NoError(t, err) 280 | 281 | testFilesFs, err := fs.NewFs(context.Background(), testFilesPath) 282 | require.NoError(t, err) 283 | 284 | _, f.importMimeTypes, err = parseExtensions("odt,ods,doc") 285 | require.NoError(t, err) 286 | 287 | err = operations.CopyFile(context.Background(), f, testFilesFs, "example2.xlsx", "example1.ods") 288 | require.NoError(t, err) 289 | } 290 | 291 | func (f *Fs) InternalTestDocumentExport(t *testing.T) { 292 | var buf bytes.Buffer 293 | var err error 294 | 295 | f.exportExtensions, _, err = parseExtensions("txt") 296 | require.NoError(t, err) 297 | 298 | obj, err := f.NewObject(context.Background(), "example2.txt") 299 | require.NoError(t, err) 300 | 301 | rc, err := obj.Open(context.Background()) 302 | require.NoError(t, err) 303 | defer func() { require.NoError(t, rc.Close()) }() 304 | 305 | _, err = io.Copy(&buf, rc) 306 | require.NoError(t, err) 307 | text := buf.String() 308 | 309 | for _, excerpt := range []string{ 310 | "Lorem ipsum dolor sit amet, consectetur", 311 | "porta at ultrices in, consectetur at augue.", 312 | } { 313 | require.Contains(t, text, excerpt) 314 | } 315 | } 316 | 317 | func (f *Fs) InternalTestDocumentLink(t *testing.T) { 318 | var buf bytes.Buffer 319 | var err error 320 | 321 | f.exportExtensions, _, err = parseExtensions("link.html") 322 | require.NoError(t, err) 323 | 324 | obj, err := f.NewObject(context.Background(), "example2.link.html") 325 | require.NoError(t, err) 326 | 327 | rc, err := obj.Open(context.Background()) 328 | require.NoError(t, err) 329 | defer func() { require.NoError(t, rc.Close()) }() 330 | 331 | _, err = io.Copy(&buf, rc) 332 | require.NoError(t, err) 333 | text := buf.String() 334 | 335 | require.True(t, strings.HasPrefix(text, "")) 336 | require.True(t, strings.HasSuffix(text, "\n")) 337 | for _, excerpt := range []string{ 338 | ` & ? + ≠/z.txt` 349 | existingSubDir = "êé" 350 | ) 351 | 352 | // TestIntegration/FsMkdir/FsPutFiles/Internal/Shortcuts 353 | func (f *Fs) InternalTestShortcuts(t *testing.T) { 354 | ctx := context.Background() 355 | srcObj, err := f.NewObject(ctx, existingFile) 356 | require.NoError(t, err) 357 | srcHash, err := srcObj.Hash(ctx, hash.MD5) 358 | require.NoError(t, err) 359 | assert.NotEqual(t, "", srcHash) 360 | t.Run("Errors", func(t *testing.T) { 361 | _, err := f.makeShortcut(ctx, "", f, "") 362 | assert.Error(t, err) 363 | assert.Contains(t, err.Error(), "can't be root") 364 | 365 | _, err = f.makeShortcut(ctx, "notfound", f, "dst") 366 | assert.Error(t, err) 367 | assert.Contains(t, err.Error(), "can't find source") 368 | 369 | _, err = f.makeShortcut(ctx, existingFile, f, existingFile) 370 | assert.Error(t, err) 371 | assert.Contains(t, err.Error(), "not overwriting") 372 | assert.Contains(t, err.Error(), "existing file") 373 | 374 | _, err = f.makeShortcut(ctx, existingFile, f, existingDir) 375 | assert.Error(t, err) 376 | assert.Contains(t, err.Error(), "not overwriting") 377 | assert.Contains(t, err.Error(), "existing directory") 378 | }) 379 | t.Run("File", func(t *testing.T) { 380 | dstObj, err := f.makeShortcut(ctx, existingFile, f, "shortcut.txt") 381 | require.NoError(t, err) 382 | require.NotNil(t, dstObj) 383 | assert.Equal(t, "shortcut.txt", dstObj.Remote()) 384 | dstHash, err := dstObj.Hash(ctx, hash.MD5) 385 | require.NoError(t, err) 386 | assert.Equal(t, srcHash, dstHash) 387 | require.NoError(t, dstObj.Remove(ctx)) 388 | }) 389 | t.Run("Dir", func(t *testing.T) { 390 | dstObj, err := f.makeShortcut(ctx, existingDir, f, "shortcutdir") 391 | require.NoError(t, err) 392 | require.Nil(t, dstObj) 393 | entries, err := f.List(ctx, "shortcutdir") 394 | require.NoError(t, err) 395 | require.Equal(t, 1, len(entries)) 396 | require.Equal(t, "shortcutdir/"+existingSubDir, entries[0].Remote()) 397 | require.NoError(t, f.Rmdir(ctx, "shortcutdir")) 398 | }) 399 | t.Run("Command", func(t *testing.T) { 400 | _, err := f.Command(ctx, "shortcut", []string{"one"}, nil) 401 | require.Error(t, err) 402 | require.Contains(t, err.Error(), "need exactly 2 arguments") 403 | 404 | _, err = f.Command(ctx, "shortcut", []string{"one", "two"}, map[string]string{ 405 | "target": "doesnotexistremote:", 406 | }) 407 | require.Error(t, err) 408 | require.Contains(t, err.Error(), "couldn't find target") 409 | 410 | _, err = f.Command(ctx, "shortcut", []string{"one", "two"}, map[string]string{ 411 | "target": ".", 412 | }) 413 | require.Error(t, err) 414 | require.Contains(t, err.Error(), "target is not a drive backend") 415 | 416 | dstObjI, err := f.Command(ctx, "shortcut", []string{existingFile, "shortcut2.txt"}, map[string]string{ 417 | "target": fs.ConfigString(f), 418 | }) 419 | require.NoError(t, err) 420 | dstObj := dstObjI.(*Object) 421 | assert.Equal(t, "shortcut2.txt", dstObj.Remote()) 422 | dstHash, err := dstObj.Hash(ctx, hash.MD5) 423 | require.NoError(t, err) 424 | assert.Equal(t, srcHash, dstHash) 425 | require.NoError(t, dstObj.Remove(ctx)) 426 | 427 | dstObjI, err = f.Command(ctx, "shortcut", []string{existingFile, "shortcut3.txt"}, nil) 428 | require.NoError(t, err) 429 | dstObj = dstObjI.(*Object) 430 | assert.Equal(t, "shortcut3.txt", dstObj.Remote()) 431 | dstHash, err = dstObj.Hash(ctx, hash.MD5) 432 | require.NoError(t, err) 433 | assert.Equal(t, srcHash, dstHash) 434 | require.NoError(t, dstObj.Remove(ctx)) 435 | }) 436 | } 437 | 438 | // TestIntegration/FsMkdir/FsPutFiles/Internal/UnTrash 439 | func (f *Fs) InternalTestUnTrash(t *testing.T) { 440 | ctx := context.Background() 441 | 442 | // Make some objects, one in a subdir 443 | contents := random.String(100) 444 | file1 := fstest.NewItem("trashDir/toBeTrashed", contents, time.Now()) 445 | obj1 := fstests.PutTestContents(ctx, t, f, &file1, contents, false) 446 | file2 := fstest.NewItem("trashDir/subdir/toBeTrashed", contents, time.Now()) 447 | _ = fstests.PutTestContents(ctx, t, f, &file2, contents, false) 448 | 449 | // Check objects 450 | checkObjects := func() { 451 | fstest.CheckListingWithRoot(t, f, "trashDir", []fstest.Item{ 452 | file1, 453 | file2, 454 | }, []string{ 455 | "trashDir/subdir", 456 | }, f.Precision()) 457 | } 458 | checkObjects() 459 | 460 | // Make sure we are using the trash 461 | require.Equal(t, true, f.opt.UseTrash) 462 | 463 | // Remove the object and the dir 464 | require.NoError(t, obj1.Remove(ctx)) 465 | require.NoError(t, f.Purge(ctx, "trashDir/subdir")) 466 | 467 | // Check objects gone 468 | fstest.CheckListingWithRoot(t, f, "trashDir", []fstest.Item{}, []string{}, f.Precision()) 469 | 470 | // Restore the object and directory 471 | r, err := f.unTrashDir(ctx, "trashDir", true) 472 | require.NoError(t, err) 473 | assert.Equal(t, unTrashResult{Errors: 0, Untrashed: 2}, r) 474 | 475 | // Check objects restored 476 | checkObjects() 477 | 478 | // Remove the test dir 479 | require.NoError(t, f.Purge(ctx, "trashDir")) 480 | } 481 | 482 | // TestIntegration/FsMkdir/FsPutFiles/Internal/CopyID 483 | func (f *Fs) InternalTestCopyID(t *testing.T) { 484 | ctx := context.Background() 485 | obj, err := f.NewObject(ctx, existingFile) 486 | require.NoError(t, err) 487 | o := obj.(*Object) 488 | 489 | dir := t.TempDir() 490 | 491 | checkFile := func(name string) { 492 | filePath := filepath.Join(dir, name) 493 | fi, err := os.Stat(filePath) 494 | require.NoError(t, err) 495 | assert.Equal(t, int64(100), fi.Size()) 496 | err = os.Remove(filePath) 497 | require.NoError(t, err) 498 | } 499 | 500 | t.Run("BadID", func(t *testing.T) { 501 | err = f.copyID(ctx, "ID-NOT-FOUND", dir+"/") 502 | require.Error(t, err) 503 | assert.Contains(t, err.Error(), "couldn't find id") 504 | }) 505 | 506 | t.Run("Directory", func(t *testing.T) { 507 | rootID, err := f.dirCache.RootID(ctx, false) 508 | require.NoError(t, err) 509 | err = f.copyID(ctx, rootID, dir+"/") 510 | require.Error(t, err) 511 | assert.Contains(t, err.Error(), "can't copy directory") 512 | }) 513 | 514 | t.Run("WithoutDestName", func(t *testing.T) { 515 | err = f.copyID(ctx, o.id, dir+"/") 516 | require.NoError(t, err) 517 | checkFile(path.Base(existingFile)) 518 | }) 519 | 520 | t.Run("WithDestName", func(t *testing.T) { 521 | err = f.copyID(ctx, o.id, dir+"/potato.txt") 522 | require.NoError(t, err) 523 | checkFile("potato.txt") 524 | }) 525 | } 526 | 527 | // TestIntegration/FsMkdir/FsPutFiles/Internal/AgeQuery 528 | func (f *Fs) InternalTestAgeQuery(t *testing.T) { 529 | // Check set up for filtering 530 | assert.True(t, f.Features().FilterAware) 531 | 532 | opt := &filter.Opt{} 533 | err := opt.MaxAge.Set("1h") 534 | assert.NoError(t, err) 535 | flt, err := filter.NewFilter(opt) 536 | assert.NoError(t, err) 537 | 538 | defCtx := context.Background() 539 | fltCtx := filter.ReplaceConfig(defCtx, flt) 540 | 541 | testCtx1 := fltCtx 542 | testCtx2 := filter.SetUseFilter(testCtx1, true) 543 | testCtx3, testCancel := context.WithCancel(testCtx2) 544 | testCtx4 := filter.SetUseFilter(testCtx3, false) 545 | testCancel() 546 | assert.False(t, filter.GetUseFilter(testCtx1)) 547 | assert.True(t, filter.GetUseFilter(testCtx2)) 548 | assert.True(t, filter.GetUseFilter(testCtx3)) 549 | assert.False(t, filter.GetUseFilter(testCtx4)) 550 | 551 | subRemote := fmt.Sprintf("%s:%s/%s", f.Name(), f.Root(), "agequery-testdir") 552 | subFsResult, err := fs.NewFs(defCtx, subRemote) 553 | require.NoError(t, err) 554 | subFs, isDriveFs := subFsResult.(*Fs) 555 | require.True(t, isDriveFs) 556 | 557 | tempDir1 := t.TempDir() 558 | tempFs1, err := fs.NewFs(defCtx, tempDir1) 559 | require.NoError(t, err) 560 | 561 | tempDir2 := t.TempDir() 562 | tempFs2, err := fs.NewFs(defCtx, tempDir2) 563 | require.NoError(t, err) 564 | 565 | file1 := fstest.Item{ModTime: time.Now(), Path: "agequery.txt"} 566 | _ = fstests.PutTestContents(defCtx, t, tempFs1, &file1, "abcxyz", true) 567 | 568 | // validate sync/copy 569 | const timeQuery = "(modifiedTime >= '" 570 | 571 | assert.NoError(t, sync.CopyDir(defCtx, subFs, tempFs1, false)) 572 | assert.NotContains(t, subFs.lastQuery, timeQuery) 573 | 574 | assert.NoError(t, sync.CopyDir(fltCtx, subFs, tempFs1, false)) 575 | assert.Contains(t, subFs.lastQuery, timeQuery) 576 | 577 | assert.NoError(t, sync.CopyDir(fltCtx, tempFs2, subFs, false)) 578 | assert.Contains(t, subFs.lastQuery, timeQuery) 579 | 580 | assert.NoError(t, sync.CopyDir(defCtx, tempFs2, subFs, false)) 581 | assert.NotContains(t, subFs.lastQuery, timeQuery) 582 | 583 | // validate list/walk 584 | devNull, errOpen := os.OpenFile(os.DevNull, os.O_WRONLY, 0) 585 | require.NoError(t, errOpen) 586 | defer func() { 587 | _ = devNull.Close() 588 | }() 589 | 590 | assert.NoError(t, operations.List(defCtx, subFs, devNull)) 591 | assert.NotContains(t, subFs.lastQuery, timeQuery) 592 | 593 | assert.NoError(t, operations.List(fltCtx, subFs, devNull)) 594 | assert.Contains(t, subFs.lastQuery, timeQuery) 595 | } 596 | 597 | func (f *Fs) InternalTest(t *testing.T) { 598 | // These tests all depend on each other so run them as nested tests 599 | t.Run("DocumentImport", func(t *testing.T) { 600 | f.InternalTestDocumentImport(t) 601 | t.Run("DocumentUpdate", func(t *testing.T) { 602 | f.InternalTestDocumentUpdate(t) 603 | t.Run("DocumentExport", func(t *testing.T) { 604 | f.InternalTestDocumentExport(t) 605 | t.Run("DocumentLink", func(t *testing.T) { 606 | f.InternalTestDocumentLink(t) 607 | }) 608 | }) 609 | }) 610 | }) 611 | t.Run("Shortcuts", f.InternalTestShortcuts) 612 | t.Run("UnTrash", f.InternalTestUnTrash) 613 | t.Run("CopyID", f.InternalTestCopyID) 614 | t.Run("AgeQuery", f.InternalTestAgeQuery) 615 | t.Run("ShouldRetry", f.InternalTestShouldRetry) 616 | } 617 | 618 | var _ fstests.InternalTester = (*Fs)(nil) 619 | -------------------------------------------------------------------------------- /backend/drive/drive_test.go: -------------------------------------------------------------------------------- 1 | // Test Drive filesystem interface 2 | 3 | package drive 4 | 5 | import ( 6 | "testing" 7 | 8 | "github.com/rclone/rclone/fs" 9 | "github.com/rclone/rclone/fstest/fstests" 10 | ) 11 | 12 | // TestIntegration runs integration tests against the remote 13 | func TestIntegration(t *testing.T) { 14 | fstests.Run(t, &fstests.Opt{ 15 | RemoteName: "TestDrive:", 16 | NilObject: (*Object)(nil), 17 | ChunkedUpload: fstests.ChunkedUploadConfig{ 18 | MinChunkSize: minChunkSize, 19 | CeilChunkSize: fstests.NextPowerOfTwo, 20 | }, 21 | }) 22 | } 23 | 24 | func (f *Fs) SetUploadChunkSize(cs fs.SizeSuffix) (fs.SizeSuffix, error) { 25 | return f.setUploadChunkSize(cs) 26 | } 27 | 28 | func (f *Fs) SetUploadCutoff(cs fs.SizeSuffix) (fs.SizeSuffix, error) { 29 | return f.setUploadCutoff(cs) 30 | } 31 | 32 | var ( 33 | _ fstests.SetUploadChunkSizer = (*Fs)(nil) 34 | _ fstests.SetUploadCutoffer = (*Fs)(nil) 35 | ) 36 | -------------------------------------------------------------------------------- /backend/drive/metadata.go: -------------------------------------------------------------------------------- 1 | package drive 2 | 3 | import ( 4 | "context" 5 | "encoding/json" 6 | "fmt" 7 | "strconv" 8 | "strings" 9 | "sync" 10 | 11 | "github.com/rclone/rclone/fs" 12 | "golang.org/x/sync/errgroup" 13 | drive "google.golang.org/api/drive/v3" 14 | "google.golang.org/api/googleapi" 15 | ) 16 | 17 | // system metadata keys which this backend owns 18 | var systemMetadataInfo = map[string]fs.MetadataHelp{ 19 | "content-type": { 20 | Help: "The MIME type of the file.", 21 | Type: "string", 22 | Example: "text/plain", 23 | }, 24 | "mtime": { 25 | Help: "Time of last modification with mS accuracy.", 26 | Type: "RFC 3339", 27 | Example: "2006-01-02T15:04:05.999Z07:00", 28 | }, 29 | "btime": { 30 | Help: "Time of file birth (creation) with mS accuracy. Note that this is only writable on fresh uploads - it can't be written for updates.", 31 | Type: "RFC 3339", 32 | Example: "2006-01-02T15:04:05.999Z07:00", 33 | }, 34 | "copy-requires-writer-permission": { 35 | Help: "Whether the options to copy, print, or download this file, should be disabled for readers and commenters.", 36 | Type: "boolean", 37 | Example: "true", 38 | }, 39 | "writers-can-share": { 40 | Help: "Whether users with only writer permission can modify the file's permissions. Not populated for items in shared drives.", 41 | Type: "boolean", 42 | Example: "false", 43 | }, 44 | "viewed-by-me": { 45 | Help: "Whether the file has been viewed by this user.", 46 | Type: "boolean", 47 | Example: "true", 48 | ReadOnly: true, 49 | }, 50 | "owner": { 51 | Help: "The owner of the file. Usually an email address. Enable with --drive-metadata-owner.", 52 | Type: "string", 53 | Example: "user@example.com", 54 | }, 55 | "permissions": { 56 | Help: "Permissions in a JSON dump of Google drive format. On shared drives these will only be present if they aren't inherited. Enable with --drive-metadata-permissions.", 57 | Type: "JSON", 58 | Example: "{}", 59 | }, 60 | "folder-color-rgb": { 61 | Help: "The color for a folder or a shortcut to a folder as an RGB hex string.", 62 | Type: "string", 63 | Example: "881133", 64 | }, 65 | "description": { 66 | Help: "A short description of the file.", 67 | Type: "string", 68 | Example: "Contract for signing", 69 | }, 70 | "starred": { 71 | Help: "Whether the user has starred the file.", 72 | Type: "boolean", 73 | Example: "false", 74 | }, 75 | "labels": { 76 | Help: "Labels attached to this file in a JSON dump of Googled drive format. Enable with --drive-metadata-labels.", 77 | Type: "JSON", 78 | Example: "[]", 79 | }, 80 | } 81 | 82 | // Extra fields we need to fetch to implement the system metadata above 83 | var metadataFields = googleapi.Field(strings.Join([]string{ 84 | "copyRequiresWriterPermission", 85 | "description", 86 | "folderColorRgb", 87 | "hasAugmentedPermissions", 88 | "owners", 89 | "permissionIds", 90 | "permissions", 91 | "properties", 92 | "starred", 93 | "viewedByMe", 94 | "viewedByMeTime", 95 | "writersCanShare", 96 | }, ",")) 97 | 98 | // Fields we need to read from permissions 99 | var permissionsFields = googleapi.Field(strings.Join([]string{ 100 | "*", 101 | "permissionDetails/*", 102 | }, ",")) 103 | 104 | // getPermission returns permissions for the fileID and permissionID passed in 105 | func (f *Fs) getPermission(ctx context.Context, fileID, permissionID string, useCache bool) (perm *drive.Permission, inherited bool, err error) { 106 | f.permissionsMu.Lock() 107 | defer f.permissionsMu.Unlock() 108 | if useCache { 109 | perm = f.permissions[permissionID] 110 | if perm != nil { 111 | return perm, false, nil 112 | } 113 | } 114 | fs.Debugf(f, "Fetching permission %q", permissionID) 115 | err = f.pacer.Call(func() (bool, error) { 116 | perm, err = f.svc.Permissions.Get(fileID, permissionID). 117 | Fields(permissionsFields). 118 | SupportsAllDrives(true). 119 | Context(ctx).Do() 120 | return f.shouldRetry(ctx, err) 121 | }) 122 | if err != nil { 123 | return nil, false, err 124 | } 125 | 126 | inherited = len(perm.PermissionDetails) > 0 && perm.PermissionDetails[0].Inherited 127 | 128 | cleanPermission(perm) 129 | 130 | // cache the permission 131 | f.permissions[permissionID] = perm 132 | 133 | return perm, inherited, err 134 | } 135 | 136 | // Set the permissions on the info 137 | func (f *Fs) setPermissions(ctx context.Context, info *drive.File, permissions []*drive.Permission) (err error) { 138 | for _, perm := range permissions { 139 | if perm.Role == "owner" { 140 | // ignore owner permissions - these are set with owner 141 | continue 142 | } 143 | cleanPermissionForWrite(perm) 144 | err = f.pacer.Call(func() (bool, error) { 145 | _, err = f.svc.Permissions.Create(info.Id, perm). 146 | SupportsAllDrives(true). 147 | Context(ctx).Do() 148 | return f.shouldRetry(ctx, err) 149 | }) 150 | if err != nil { 151 | return fmt.Errorf("failed to set permission: %w", err) 152 | } 153 | } 154 | return nil 155 | } 156 | 157 | // Clean attributes from permissions which we can't write 158 | func cleanPermissionForWrite(perm *drive.Permission) { 159 | perm.Deleted = false 160 | perm.DisplayName = "" 161 | perm.Id = "" 162 | perm.Kind = "" 163 | perm.PermissionDetails = nil 164 | perm.TeamDrivePermissionDetails = nil 165 | } 166 | 167 | // Clean and cache the permission if not already cached 168 | func (f *Fs) cleanAndCachePermission(perm *drive.Permission) { 169 | f.permissionsMu.Lock() 170 | defer f.permissionsMu.Unlock() 171 | cleanPermission(perm) 172 | if _, found := f.permissions[perm.Id]; !found { 173 | f.permissions[perm.Id] = perm 174 | } 175 | } 176 | 177 | // Clean fields we don't need to keep from the permission 178 | func cleanPermission(perm *drive.Permission) { 179 | // DisplayName: Output only. The "pretty" name of the value of the 180 | // permission. The following is a list of examples for each type of 181 | // permission: * `user` - User's full name, as defined for their Google 182 | // account, such as "Joe Smith." * `group` - Name of the Google Group, 183 | // such as "The Company Administrators." * `domain` - String domain 184 | // name, such as "thecompany.com." * `anyone` - No `displayName` is 185 | // present. 186 | perm.DisplayName = "" 187 | 188 | // Kind: Output only. Identifies what kind of resource this is. Value: 189 | // the fixed string "drive#permission". 190 | perm.Kind = "" 191 | 192 | // PermissionDetails: Output only. Details of whether the permissions on 193 | // this shared drive item are inherited or directly on this item. This 194 | // is an output-only field which is present only for shared drive items. 195 | perm.PermissionDetails = nil 196 | 197 | // PhotoLink: Output only. A link to the user's profile photo, if 198 | // available. 199 | perm.PhotoLink = "" 200 | 201 | // TeamDrivePermissionDetails: Output only. Deprecated: Output only. Use 202 | // `permissionDetails` instead. 203 | perm.TeamDrivePermissionDetails = nil 204 | } 205 | 206 | // Fields we need to read from labels 207 | var labelsFields = googleapi.Field(strings.Join([]string{ 208 | "*", 209 | }, ",")) 210 | 211 | // getLabels returns labels for the fileID passed in 212 | func (f *Fs) getLabels(ctx context.Context, fileID string) (labels []*drive.Label, err error) { 213 | fs.Debugf(f, "Fetching labels for %q", fileID) 214 | listLabels := f.svc.Files.ListLabels(fileID). 215 | Fields(labelsFields). 216 | Context(ctx) 217 | for { 218 | var info *drive.LabelList 219 | err = f.pacer.Call(func() (bool, error) { 220 | info, err = listLabels.Do() 221 | return f.shouldRetry(ctx, err) 222 | }) 223 | if err != nil { 224 | return nil, err 225 | } 226 | labels = append(labels, info.Labels...) 227 | if info.NextPageToken == "" { 228 | break 229 | } 230 | listLabels.PageToken(info.NextPageToken) 231 | } 232 | for _, label := range labels { 233 | cleanLabel(label) 234 | } 235 | return labels, nil 236 | } 237 | 238 | // Set the labels on the info 239 | func (f *Fs) setLabels(ctx context.Context, info *drive.File, labels []*drive.Label) (err error) { 240 | if len(labels) == 0 { 241 | return nil 242 | } 243 | req := drive.ModifyLabelsRequest{} 244 | for _, label := range labels { 245 | req.LabelModifications = append(req.LabelModifications, &drive.LabelModification{ 246 | FieldModifications: labelFieldsToFieldModifications(label.Fields), 247 | LabelId: label.Id, 248 | }) 249 | } 250 | err = f.pacer.Call(func() (bool, error) { 251 | _, err = f.svc.Files.ModifyLabels(info.Id, &req). 252 | Context(ctx).Do() 253 | return f.shouldRetry(ctx, err) 254 | }) 255 | if err != nil { 256 | return fmt.Errorf("failed to set owner: %w", err) 257 | } 258 | return nil 259 | } 260 | 261 | // Convert label fields into something which can set the fields 262 | func labelFieldsToFieldModifications(fields map[string]drive.LabelField) (out []*drive.LabelFieldModification) { 263 | for id, field := range fields { 264 | var emails []string 265 | for _, user := range field.User { 266 | emails = append(emails, user.EmailAddress) 267 | } 268 | out = append(out, &drive.LabelFieldModification{ 269 | // FieldId: The ID of the field to be modified. 270 | FieldId: id, 271 | 272 | // SetDateValues: Replaces the value of a dateString Field with these 273 | // new values. The string must be in the RFC 3339 full-date format: 274 | // YYYY-MM-DD. 275 | SetDateValues: field.DateString, 276 | 277 | // SetIntegerValues: Replaces the value of an `integer` field with these 278 | // new values. 279 | SetIntegerValues: field.Integer, 280 | 281 | // SetSelectionValues: Replaces a `selection` field with these new 282 | // values. 283 | SetSelectionValues: field.Selection, 284 | 285 | // SetTextValues: Sets the value of a `text` field. 286 | SetTextValues: field.Text, 287 | 288 | // SetUserValues: Replaces a `user` field with these new values. The 289 | // values must be valid email addresses. 290 | SetUserValues: emails, 291 | }) 292 | } 293 | return out 294 | } 295 | 296 | // Clean fields we don't need to keep from the label 297 | func cleanLabel(label *drive.Label) { 298 | // Kind: This is always drive#label 299 | label.Kind = "" 300 | 301 | for name, field := range label.Fields { 302 | // Kind: This is always drive#labelField. 303 | field.Kind = "" 304 | 305 | // Note the fields are copies so we need to write them 306 | // back to the map 307 | label.Fields[name] = field 308 | } 309 | } 310 | 311 | // Parse the metadata from drive item 312 | // 313 | // It should return nil if there is no Metadata 314 | func (o *baseObject) parseMetadata(ctx context.Context, info *drive.File) (err error) { 315 | metadata := make(fs.Metadata, 16) 316 | 317 | // Dump user metadata first as it overrides system metadata 318 | for k, v := range info.Properties { 319 | metadata[k] = v 320 | } 321 | 322 | // System metadata 323 | metadata["copy-requires-writer-permission"] = fmt.Sprint(info.CopyRequiresWriterPermission) 324 | metadata["writers-can-share"] = fmt.Sprint(info.WritersCanShare) 325 | metadata["viewed-by-me"] = fmt.Sprint(info.ViewedByMe) 326 | metadata["content-type"] = info.MimeType 327 | 328 | // Owners: Output only. The owner of this file. Only certain legacy 329 | // files may have more than one owner. This field isn't populated for 330 | // items in shared drives. 331 | if o.fs.opt.MetadataOwner.IsSet(rwRead) && len(info.Owners) > 0 { 332 | user := info.Owners[0] 333 | if len(info.Owners) > 1 { 334 | fs.Logf(o, "Ignoring more than 1 owner") 335 | } 336 | if user != nil { 337 | id := user.EmailAddress 338 | if id == "" { 339 | id = user.DisplayName 340 | } 341 | metadata["owner"] = id 342 | } 343 | } 344 | 345 | if o.fs.opt.MetadataPermissions.IsSet(rwRead) { 346 | // We only write permissions out if they are not inherited. 347 | // 348 | // On My Drives permissions seem to be attached to every item 349 | // so they will always be written out. 350 | // 351 | // On Shared Drives only non-inherited permissions will be 352 | // written out. 353 | 354 | // To read the inherited permissions flag will mean we need to 355 | // read the permissions for each object and the cache will be 356 | // useless. However shared drives don't return permissions 357 | // only permissionIds so will need to fetch them for each 358 | // object. We use HasAugmentedPermissions to see if there are 359 | // special permissions before fetching them to save transactions. 360 | 361 | // HasAugmentedPermissions: Output only. Whether there are permissions 362 | // directly on this file. This field is only populated for items in 363 | // shared drives. 364 | if o.fs.isTeamDrive && !info.HasAugmentedPermissions { 365 | // Don't process permissions if there aren't any specifically set 366 | info.Permissions = nil 367 | info.PermissionIds = nil 368 | } 369 | 370 | // PermissionIds: Output only. List of permission IDs for users with 371 | // access to this file. 372 | // 373 | // Only process these if we have no Permissions 374 | if len(info.PermissionIds) > 0 && len(info.Permissions) == 0 { 375 | info.Permissions = make([]*drive.Permission, 0, len(info.PermissionIds)) 376 | g, gCtx := errgroup.WithContext(ctx) 377 | g.SetLimit(o.fs.ci.Checkers) 378 | var mu sync.Mutex // protect the info.Permissions from concurrent writes 379 | for _, permissionID := range info.PermissionIds { 380 | permissionID := permissionID 381 | g.Go(func() error { 382 | // must fetch the team drive ones individually to check the inherited flag 383 | perm, inherited, err := o.fs.getPermission(gCtx, actualID(info.Id), permissionID, !o.fs.isTeamDrive) 384 | if err != nil { 385 | return fmt.Errorf("failed to read permission: %w", err) 386 | } 387 | // Don't write inherited permissions out 388 | if inherited { 389 | return nil 390 | } 391 | // Don't write owner role out - these are covered by the owner metadata 392 | if perm.Role == "owner" { 393 | return nil 394 | } 395 | mu.Lock() 396 | info.Permissions = append(info.Permissions, perm) 397 | mu.Unlock() 398 | return nil 399 | }) 400 | } 401 | err = g.Wait() 402 | if err != nil { 403 | return err 404 | } 405 | } else { 406 | // Clean the fetched permissions 407 | for _, perm := range info.Permissions { 408 | o.fs.cleanAndCachePermission(perm) 409 | } 410 | } 411 | 412 | // Permissions: Output only. The full list of permissions for the file. 413 | // This is only available if the requesting user can share the file. Not 414 | // populated for items in shared drives. 415 | if len(info.Permissions) > 0 { 416 | buf, err := json.Marshal(info.Permissions) 417 | if err != nil { 418 | return fmt.Errorf("failed to marshal permissions: %w", err) 419 | } 420 | metadata["permissions"] = string(buf) 421 | } 422 | 423 | // Permission propagation 424 | // https://developers.google.com/drive/api/guides/manage-sharing#permission-propagation 425 | // Leads me to believe that in non shared drives, permissions 426 | // are added to each item when you set permissions for a 427 | // folder whereas in shared drives they are inherited and 428 | // placed on the item directly. 429 | } 430 | 431 | if info.FolderColorRgb != "" { 432 | metadata["folder-color-rgb"] = info.FolderColorRgb 433 | } 434 | if info.Description != "" { 435 | metadata["description"] = info.Description 436 | } 437 | metadata["starred"] = fmt.Sprint(info.Starred) 438 | metadata["btime"] = info.CreatedTime 439 | metadata["mtime"] = info.ModifiedTime 440 | 441 | if o.fs.opt.MetadataLabels.IsSet(rwRead) { 442 | // FIXME would be really nice if we knew if files had labels 443 | // before listing but we need to know all possible label IDs 444 | // to get it in the listing. 445 | 446 | labels, err := o.fs.getLabels(ctx, actualID(info.Id)) 447 | if err != nil { 448 | return fmt.Errorf("failed to fetch labels: %w", err) 449 | } 450 | buf, err := json.Marshal(labels) 451 | if err != nil { 452 | return fmt.Errorf("failed to marshal labels: %w", err) 453 | } 454 | metadata["labels"] = string(buf) 455 | } 456 | 457 | o.metadata = &metadata 458 | return nil 459 | } 460 | 461 | // Set the owner on the info 462 | func (f *Fs) setOwner(ctx context.Context, info *drive.File, owner string) (err error) { 463 | perm := drive.Permission{ 464 | Role: "owner", 465 | EmailAddress: owner, 466 | // Type: The type of the grantee. Valid values are: * `user` * `group` * 467 | // `domain` * `anyone` When creating a permission, if `type` is `user` 468 | // or `group`, you must provide an `emailAddress` for the user or group. 469 | // When `type` is `domain`, you must provide a `domain`. There isn't 470 | // extra information required for an `anyone` type. 471 | Type: "user", 472 | } 473 | err = f.pacer.Call(func() (bool, error) { 474 | _, err = f.svc.Permissions.Create(info.Id, &perm). 475 | SupportsAllDrives(true). 476 | TransferOwnership(true). 477 | // SendNotificationEmail(false). - required apparently! 478 | Context(ctx).Do() 479 | return f.shouldRetry(ctx, err) 480 | }) 481 | if err != nil { 482 | return fmt.Errorf("failed to set owner: %w", err) 483 | } 484 | return nil 485 | } 486 | 487 | // Call back to set metadata that can't be set on the upload/update 488 | // 489 | // The *drive.File passed in holds the current state of the drive.File 490 | // and this should update it with any modifications. 491 | type updateMetadataFn func(context.Context, *drive.File) error 492 | 493 | // read the metadata from meta and write it into updateInfo 494 | // 495 | // update should be true if this is being used to create metadata for 496 | // an update/PATCH call as the rules on what can be updated are 497 | // slightly different there. 498 | // 499 | // It returns a callback which should be called to finish the updates 500 | // after the data is uploaded. 501 | func (f *Fs) updateMetadata(ctx context.Context, updateInfo *drive.File, meta fs.Metadata, update bool) (callback updateMetadataFn, err error) { 502 | callbackFns := []updateMetadataFn{} 503 | callback = func(ctx context.Context, info *drive.File) error { 504 | for _, fn := range callbackFns { 505 | err := fn(ctx, info) 506 | if err != nil { 507 | return err 508 | } 509 | } 510 | return nil 511 | } 512 | // merge metadata into request and user metadata 513 | for k, v := range meta { 514 | k, v := k, v 515 | // parse a boolean from v and write into out 516 | parseBool := func(out *bool) error { 517 | b, err := strconv.ParseBool(v) 518 | if err != nil { 519 | return fmt.Errorf("can't parse metadata %q = %q: %w", k, v, err) 520 | } 521 | *out = b 522 | return nil 523 | } 524 | switch k { 525 | case "copy-requires-writer-permission": 526 | if err := parseBool(&updateInfo.CopyRequiresWriterPermission); err != nil { 527 | return nil, err 528 | } 529 | case "writers-can-share": 530 | if err := parseBool(&updateInfo.WritersCanShare); err != nil { 531 | return nil, err 532 | } 533 | case "viewed-by-me": 534 | // Can't write this 535 | case "content-type": 536 | updateInfo.MimeType = v 537 | case "owner": 538 | if !f.opt.MetadataOwner.IsSet(rwWrite) { 539 | continue 540 | } 541 | // Can't set Owner on upload so need to set afterwards 542 | callbackFns = append(callbackFns, func(ctx context.Context, info *drive.File) error { 543 | return f.setOwner(ctx, info, v) 544 | }) 545 | case "permissions": 546 | if !f.opt.MetadataPermissions.IsSet(rwWrite) { 547 | continue 548 | } 549 | var perms []*drive.Permission 550 | err := json.Unmarshal([]byte(v), &perms) 551 | if err != nil { 552 | return nil, fmt.Errorf("failed to unmarshal permissions: %w", err) 553 | } 554 | // Can't set Permissions on upload so need to set afterwards 555 | callbackFns = append(callbackFns, func(ctx context.Context, info *drive.File) error { 556 | return f.setPermissions(ctx, info, perms) 557 | }) 558 | case "labels": 559 | if !f.opt.MetadataLabels.IsSet(rwWrite) { 560 | continue 561 | } 562 | var labels []*drive.Label 563 | err := json.Unmarshal([]byte(v), &labels) 564 | if err != nil { 565 | return nil, fmt.Errorf("failed to unmarshal labels: %w", err) 566 | } 567 | // Can't set Labels on upload so need to set afterwards 568 | callbackFns = append(callbackFns, func(ctx context.Context, info *drive.File) error { 569 | return f.setLabels(ctx, info, labels) 570 | }) 571 | case "folder-color-rgb": 572 | updateInfo.FolderColorRgb = v 573 | case "description": 574 | updateInfo.Description = v 575 | case "starred": 576 | if err := parseBool(&updateInfo.Starred); err != nil { 577 | return nil, err 578 | } 579 | case "btime": 580 | if update { 581 | fs.Debugf(f, "Skipping btime metadata as can't update it on an existing file: %v", v) 582 | } else { 583 | updateInfo.CreatedTime = v 584 | } 585 | case "mtime": 586 | updateInfo.ModifiedTime = v 587 | default: 588 | if updateInfo.Properties == nil { 589 | updateInfo.Properties = make(map[string]string, 1) 590 | } 591 | updateInfo.Properties[k] = v 592 | } 593 | } 594 | return callback, nil 595 | } 596 | 597 | // Fetch metadata and update updateInfo if --metadata is in use 598 | func (f *Fs) fetchAndUpdateMetadata(ctx context.Context, src fs.ObjectInfo, options []fs.OpenOption, updateInfo *drive.File, update bool) (callback updateMetadataFn, err error) { 599 | meta, err := fs.GetMetadataOptions(ctx, f, src, options) 600 | if err != nil { 601 | return nil, fmt.Errorf("failed to read metadata from source object: %w", err) 602 | } 603 | callback, err = f.updateMetadata(ctx, updateInfo, meta, update) 604 | if err != nil { 605 | return nil, fmt.Errorf("failed to update metadata from source object: %w", err) 606 | } 607 | return callback, nil 608 | } 609 | -------------------------------------------------------------------------------- /backend/drive/test/about.json: -------------------------------------------------------------------------------- 1 | { 2 | "importFormats": { 3 | "text/tab-separated-values": [ 4 | "application/vnd.google-apps.spreadsheet" 5 | ], 6 | "application/x-vnd.oasis.opendocument.presentation": [ 7 | "application/vnd.google-apps.presentation" 8 | ], 9 | "image/jpeg": [ 10 | "application/vnd.google-apps.document" 11 | ], 12 | "image/bmp": [ 13 | "application/vnd.google-apps.document" 14 | ], 15 | "image/gif": [ 16 | "application/vnd.google-apps.document" 17 | ], 18 | "application/vnd.ms-excel.sheet.macroenabled.12": [ 19 | "application/vnd.google-apps.spreadsheet" 20 | ], 21 | "application/vnd.openxmlformats-officedocument.wordprocessingml.template": [ 22 | "application/vnd.google-apps.document" 23 | ], 24 | "application/vnd.ms-powerpoint.presentation.macroenabled.12": [ 25 | "application/vnd.google-apps.presentation" 26 | ], 27 | "application/vnd.ms-word.template.macroenabled.12": [ 28 | "application/vnd.google-apps.document" 29 | ], 30 | "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [ 31 | "application/vnd.google-apps.document" 32 | ], 33 | "image/pjpeg": [ 34 | "application/vnd.google-apps.document" 35 | ], 36 | "application/vnd.google-apps.script+text/plain": [ 37 | "application/vnd.google-apps.script" 38 | ], 39 | "application/vnd.ms-excel": [ 40 | "application/vnd.google-apps.spreadsheet" 41 | ], 42 | "application/vnd.sun.xml.writer": [ 43 | "application/vnd.google-apps.document" 44 | ], 45 | "application/vnd.ms-word.document.macroenabled.12": [ 46 | "application/vnd.google-apps.document" 47 | ], 48 | "application/vnd.ms-powerpoint.slideshow.macroenabled.12": [ 49 | "application/vnd.google-apps.presentation" 50 | ], 51 | "text/rtf": [ 52 | "application/vnd.google-apps.document" 53 | ], 54 | "text/plain": [ 55 | "application/vnd.google-apps.document" 56 | ], 57 | "application/vnd.oasis.opendocument.spreadsheet": [ 58 | "application/vnd.google-apps.spreadsheet" 59 | ], 60 | "application/x-vnd.oasis.opendocument.spreadsheet": [ 61 | "application/vnd.google-apps.spreadsheet" 62 | ], 63 | "image/png": [ 64 | "application/vnd.google-apps.document" 65 | ], 66 | "application/x-vnd.oasis.opendocument.text": [ 67 | "application/vnd.google-apps.document" 68 | ], 69 | "application/msword": [ 70 | "application/vnd.google-apps.document" 71 | ], 72 | "application/pdf": [ 73 | "application/vnd.google-apps.document" 74 | ], 75 | "application/json": [ 76 | "application/vnd.google-apps.script" 77 | ], 78 | "application/x-msmetafile": [ 79 | "application/vnd.google-apps.drawing" 80 | ], 81 | "application/vnd.openxmlformats-officedocument.spreadsheetml.template": [ 82 | "application/vnd.google-apps.spreadsheet" 83 | ], 84 | "application/vnd.ms-powerpoint": [ 85 | "application/vnd.google-apps.presentation" 86 | ], 87 | "application/vnd.ms-excel.template.macroenabled.12": [ 88 | "application/vnd.google-apps.spreadsheet" 89 | ], 90 | "image/x-bmp": [ 91 | "application/vnd.google-apps.document" 92 | ], 93 | "application/rtf": [ 94 | "application/vnd.google-apps.document" 95 | ], 96 | "application/vnd.openxmlformats-officedocument.presentationml.template": [ 97 | "application/vnd.google-apps.presentation" 98 | ], 99 | "image/x-png": [ 100 | "application/vnd.google-apps.document" 101 | ], 102 | "text/html": [ 103 | "application/vnd.google-apps.document" 104 | ], 105 | "application/vnd.oasis.opendocument.text": [ 106 | "application/vnd.google-apps.document" 107 | ], 108 | "application/vnd.openxmlformats-officedocument.presentationml.presentation": [ 109 | "application/vnd.google-apps.presentation" 110 | ], 111 | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": [ 112 | "application/vnd.google-apps.spreadsheet" 113 | ], 114 | "application/vnd.google-apps.script+json": [ 115 | "application/vnd.google-apps.script" 116 | ], 117 | "application/vnd.openxmlformats-officedocument.presentationml.slideshow": [ 118 | "application/vnd.google-apps.presentation" 119 | ], 120 | "application/vnd.ms-powerpoint.template.macroenabled.12": [ 121 | "application/vnd.google-apps.presentation" 122 | ], 123 | "text/csv": [ 124 | "application/vnd.google-apps.spreadsheet" 125 | ], 126 | "application/vnd.oasis.opendocument.presentation": [ 127 | "application/vnd.google-apps.presentation" 128 | ], 129 | "image/jpg": [ 130 | "application/vnd.google-apps.document" 131 | ], 132 | "text/richtext": [ 133 | "application/vnd.google-apps.document" 134 | ] 135 | }, 136 | "exportFormats": { 137 | "application/vnd.google-apps.document": [ 138 | "application/rtf", 139 | "application/vnd.oasis.opendocument.text", 140 | "text/html", 141 | "application/pdf", 142 | "application/epub+zip", 143 | "application/zip", 144 | "application/vnd.openxmlformats-officedocument.wordprocessingml.document", 145 | "text/plain" 146 | ], 147 | "application/vnd.google-apps.spreadsheet": [ 148 | "application/x-vnd.oasis.opendocument.spreadsheet", 149 | "text/tab-separated-values", 150 | "application/pdf", 151 | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", 152 | "text/csv", 153 | "application/zip", 154 | "application/vnd.oasis.opendocument.spreadsheet" 155 | ], 156 | "application/vnd.google-apps.jam": [ 157 | "application/pdf" 158 | ], 159 | "application/vnd.google-apps.script": [ 160 | "application/vnd.google-apps.script+json" 161 | ], 162 | "application/vnd.google-apps.presentation": [ 163 | "application/vnd.oasis.opendocument.presentation", 164 | "application/pdf", 165 | "application/vnd.openxmlformats-officedocument.presentationml.presentation", 166 | "text/plain" 167 | ], 168 | "application/vnd.google-apps.form": [ 169 | "application/zip" 170 | ], 171 | "application/vnd.google-apps.drawing": [ 172 | "image/svg+xml", 173 | "image/png", 174 | "application/pdf", 175 | "image/jpeg" 176 | ] 177 | } 178 | } 179 | -------------------------------------------------------------------------------- /backend/drive/test/files/example1.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/going/gclone/d2288bd0320c4362901583fb0e81c7ab388932b3/backend/drive/test/files/example1.ods -------------------------------------------------------------------------------- /backend/drive/test/files/example2.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/going/gclone/d2288bd0320c4362901583fb0e81c7ab388932b3/backend/drive/test/files/example2.doc -------------------------------------------------------------------------------- /backend/drive/test/files/example3.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/going/gclone/d2288bd0320c4362901583fb0e81c7ab388932b3/backend/drive/test/files/example3.odt -------------------------------------------------------------------------------- /backend/drive/upload.go: -------------------------------------------------------------------------------- 1 | // Upload for drive 2 | // 3 | // Docs 4 | // Resumable upload: https://developers.google.com/drive/web/manage-uploads#resumable 5 | // Best practices: https://developers.google.com/drive/web/manage-uploads#best-practices 6 | // Files insert: https://developers.google.com/drive/v2/reference/files/insert 7 | // Files update: https://developers.google.com/drive/v2/reference/files/update 8 | // 9 | // This contains code adapted from google.golang.org/api (C) the GO AUTHORS 10 | 11 | package drive 12 | 13 | import ( 14 | "bytes" 15 | "context" 16 | "encoding/json" 17 | "fmt" 18 | "io" 19 | "net/http" 20 | "net/url" 21 | "strconv" 22 | 23 | "github.com/rclone/rclone/fs" 24 | "github.com/rclone/rclone/fs/fserrors" 25 | "github.com/rclone/rclone/lib/readers" 26 | "google.golang.org/api/drive/v3" 27 | "google.golang.org/api/googleapi" 28 | ) 29 | 30 | const ( 31 | // statusResumeIncomplete is the code returned by the Google uploader when the transfer is not yet complete. 32 | statusResumeIncomplete = 308 33 | ) 34 | 35 | // resumableUpload is used by the generated APIs to provide resumable uploads. 36 | // It is not used by developers directly. 37 | type resumableUpload struct { 38 | f *Fs 39 | remote string 40 | // URI is the resumable resource destination provided by the server after specifying "&uploadType=resumable". 41 | URI string 42 | // Media is the object being uploaded. 43 | Media io.Reader 44 | // MediaType defines the media type, e.g. "image/jpeg". 45 | MediaType string 46 | // ContentLength is the full size of the object being uploaded. 47 | ContentLength int64 48 | // Return value 49 | ret *drive.File 50 | } 51 | 52 | // Upload the io.Reader in of size bytes with contentType and info 53 | func (f *Fs) Upload(ctx context.Context, in io.Reader, size int64, contentType, fileID, remote string, info *drive.File) (*drive.File, error) { 54 | params := url.Values{ 55 | "alt": {"json"}, 56 | "uploadType": {"resumable"}, 57 | "fields": {partialFields}, 58 | } 59 | params.Set("supportsAllDrives", "true") 60 | if f.opt.KeepRevisionForever { 61 | params.Set("keepRevisionForever", "true") 62 | } 63 | urls := "https://www.googleapis.com/upload/drive/v3/files" 64 | method := "POST" 65 | if fileID != "" { 66 | params.Set("setModifiedDate", "true") 67 | urls += "/{fileId}" 68 | method = "PATCH" 69 | } 70 | urls += "?" + params.Encode() 71 | var res *http.Response 72 | var err error 73 | err = f.pacer.Call(func() (bool, error) { 74 | var body io.Reader 75 | body, err = googleapi.WithoutDataWrapper.JSONReader(info) 76 | if err != nil { 77 | return false, err 78 | } 79 | var req *http.Request 80 | req, err = http.NewRequestWithContext(ctx, method, urls, body) 81 | if err != nil { 82 | return false, err 83 | } 84 | googleapi.Expand(req.URL, map[string]string{ 85 | "fileId": fileID, 86 | }) 87 | req.Header.Set("Content-Type", "application/json; charset=UTF-8") 88 | req.Header.Set("X-Upload-Content-Type", contentType) 89 | if size >= 0 { 90 | req.Header.Set("X-Upload-Content-Length", fmt.Sprintf("%v", size)) 91 | } 92 | res, err = f.client.Do(req) 93 | if err == nil { 94 | defer googleapi.CloseBody(res) 95 | err = googleapi.CheckResponse(res) 96 | } 97 | return f.shouldRetry(ctx, err) 98 | }) 99 | if err != nil { 100 | return nil, err 101 | } 102 | loc := res.Header.Get("Location") 103 | rx := &resumableUpload{ 104 | f: f, 105 | remote: remote, 106 | URI: loc, 107 | Media: in, 108 | MediaType: contentType, 109 | ContentLength: size, 110 | } 111 | return rx.Upload(ctx) 112 | } 113 | 114 | // Make an http.Request for the range passed in 115 | func (rx *resumableUpload) makeRequest(ctx context.Context, start int64, body io.ReadSeeker, reqSize int64) *http.Request { 116 | req, _ := http.NewRequestWithContext(ctx, "POST", rx.URI, body) 117 | req.ContentLength = reqSize 118 | totalSize := "*" 119 | if rx.ContentLength >= 0 { 120 | totalSize = strconv.FormatInt(rx.ContentLength, 10) 121 | } 122 | if reqSize != 0 { 123 | req.Header.Set("Content-Range", fmt.Sprintf("bytes %v-%v/%v", start, start+reqSize-1, totalSize)) 124 | } else { 125 | req.Header.Set("Content-Range", fmt.Sprintf("bytes */%v", totalSize)) 126 | } 127 | req.Header.Set("Content-Type", rx.MediaType) 128 | return req 129 | } 130 | 131 | // Transfer a chunk - caller must call googleapi.CloseBody(res) if err == nil || res != nil 132 | func (rx *resumableUpload) transferChunk(ctx context.Context, start int64, chunk io.ReadSeeker, chunkSize int64) (int, error) { 133 | _, _ = chunk.Seek(0, io.SeekStart) 134 | req := rx.makeRequest(ctx, start, chunk, chunkSize) 135 | res, err := rx.f.client.Do(req) 136 | if err != nil { 137 | return 599, err 138 | } 139 | defer googleapi.CloseBody(res) 140 | if res.StatusCode == statusResumeIncomplete { 141 | return res.StatusCode, nil 142 | } 143 | err = googleapi.CheckResponse(res) 144 | if err != nil { 145 | return res.StatusCode, err 146 | } 147 | 148 | // When the entire file upload is complete, the server 149 | // responds with an HTTP 201 Created along with any metadata 150 | // associated with this resource. If this request had been 151 | // updating an existing entity rather than creating a new one, 152 | // the HTTP response code for a completed upload would have 153 | // been 200 OK. 154 | // 155 | // So parse the response out of the body. We aren't expecting 156 | // any other 2xx codes, so we parse it unconditionally on 157 | // StatusCode 158 | if err = json.NewDecoder(res.Body).Decode(&rx.ret); err != nil { 159 | return 598, err 160 | } 161 | 162 | return res.StatusCode, nil 163 | } 164 | 165 | // Upload uploads the chunks from the input 166 | // It retries each chunk using the pacer and --low-level-retries 167 | func (rx *resumableUpload) Upload(ctx context.Context) (*drive.File, error) { 168 | start := int64(0) 169 | var StatusCode int 170 | var err error 171 | buf := make([]byte, int(rx.f.opt.ChunkSize)) 172 | for finished := false; !finished; { 173 | var reqSize int64 174 | var chunk io.ReadSeeker 175 | if rx.ContentLength >= 0 { 176 | // If size known use repeatable reader for smoother bwlimit 177 | if start >= rx.ContentLength { 178 | break 179 | } 180 | reqSize = rx.ContentLength - start 181 | if reqSize >= int64(rx.f.opt.ChunkSize) { 182 | reqSize = int64(rx.f.opt.ChunkSize) 183 | } 184 | chunk = readers.NewRepeatableLimitReaderBuffer(rx.Media, buf, reqSize) 185 | } else { 186 | // If size unknown read into buffer 187 | var n int 188 | n, err = readers.ReadFill(rx.Media, buf) 189 | if err == io.EOF { 190 | // Send the last chunk with the correct ContentLength 191 | // otherwise Google doesn't know we've finished 192 | rx.ContentLength = start + int64(n) 193 | finished = true 194 | } else if err != nil { 195 | return nil, err 196 | } 197 | reqSize = int64(n) 198 | chunk = bytes.NewReader(buf[:reqSize]) 199 | } 200 | 201 | // Transfer the chunk 202 | err = rx.f.pacer.Call(func() (bool, error) { 203 | fs.Debugf(rx.remote, "Sending chunk %d length %d", start, reqSize) 204 | StatusCode, err = rx.transferChunk(ctx, start, chunk, reqSize) 205 | again, err := rx.f.shouldRetry(ctx, err) 206 | if StatusCode == statusResumeIncomplete || StatusCode == http.StatusCreated || StatusCode == http.StatusOK { 207 | again = false 208 | err = nil 209 | } 210 | return again, err 211 | }) 212 | if err != nil { 213 | return nil, err 214 | } 215 | 216 | start += reqSize 217 | } 218 | // Resume or retry uploads that fail due to connection interruptions or 219 | // any 5xx errors, including: 220 | // 221 | // 500 Internal Server Error 222 | // 502 Bad Gateway 223 | // 503 Service Unavailable 224 | // 504 Gateway Timeout 225 | // 226 | // Use an exponential backoff strategy if any 5xx server error is 227 | // returned when resuming or retrying upload requests. These errors can 228 | // occur if a server is getting overloaded. Exponential backoff can help 229 | // alleviate these kinds of problems during periods of high volume of 230 | // requests or heavy network traffic. Other kinds of requests should not 231 | // be handled by exponential backoff but you can still retry a number of 232 | // them. When retrying these requests, limit the number of times you 233 | // retry them. For example your code could limit to ten retries or less 234 | // before reporting an error. 235 | // 236 | // Handle 404 Not Found errors when doing resumable uploads by starting 237 | // the entire upload over from the beginning. 238 | if rx.ret == nil { 239 | return nil, fserrors.RetryErrorf("Incomplete upload - retry, last error %d", StatusCode) 240 | } 241 | return rx.ret, nil 242 | } 243 | -------------------------------------------------------------------------------- /cmd/all/all.go: -------------------------------------------------------------------------------- 1 | // Package all imports all the commands 2 | package all 3 | 4 | import ( 5 | // Active commands 6 | _ "github.com/going/gclone/cmd/copy" 7 | _ "github.com/going/gclone/cmd/sync" 8 | _ "github.com/rclone/rclone/cmd" 9 | _ "github.com/rclone/rclone/cmd/about" 10 | _ "github.com/rclone/rclone/cmd/authorize" 11 | _ "github.com/rclone/rclone/cmd/backend" 12 | _ "github.com/rclone/rclone/cmd/bisync" 13 | _ "github.com/rclone/rclone/cmd/cachestats" 14 | _ "github.com/rclone/rclone/cmd/cat" 15 | _ "github.com/rclone/rclone/cmd/check" 16 | _ "github.com/rclone/rclone/cmd/checksum" 17 | _ "github.com/rclone/rclone/cmd/cleanup" 18 | _ "github.com/rclone/rclone/cmd/cmount" 19 | _ "github.com/rclone/rclone/cmd/config" 20 | _ "github.com/rclone/rclone/cmd/copyto" 21 | _ "github.com/rclone/rclone/cmd/copyurl" 22 | _ "github.com/rclone/rclone/cmd/cryptcheck" 23 | _ "github.com/rclone/rclone/cmd/cryptdecode" 24 | _ "github.com/rclone/rclone/cmd/dedupe" 25 | _ "github.com/rclone/rclone/cmd/delete" 26 | _ "github.com/rclone/rclone/cmd/deletefile" 27 | _ "github.com/rclone/rclone/cmd/genautocomplete" 28 | _ "github.com/rclone/rclone/cmd/gendocs" 29 | _ "github.com/rclone/rclone/cmd/hashsum" 30 | _ "github.com/rclone/rclone/cmd/link" 31 | _ "github.com/rclone/rclone/cmd/listremotes" 32 | _ "github.com/rclone/rclone/cmd/ls" 33 | _ "github.com/rclone/rclone/cmd/lsd" 34 | _ "github.com/rclone/rclone/cmd/lsf" 35 | _ "github.com/rclone/rclone/cmd/lsjson" 36 | _ "github.com/rclone/rclone/cmd/lsl" 37 | _ "github.com/rclone/rclone/cmd/md5sum" 38 | _ "github.com/rclone/rclone/cmd/mkdir" 39 | _ "github.com/rclone/rclone/cmd/mount" 40 | _ "github.com/rclone/rclone/cmd/mount2" 41 | _ "github.com/rclone/rclone/cmd/move" 42 | _ "github.com/rclone/rclone/cmd/moveto" 43 | _ "github.com/rclone/rclone/cmd/ncdu" 44 | _ "github.com/rclone/rclone/cmd/nfsmount" 45 | _ "github.com/rclone/rclone/cmd/obscure" 46 | _ "github.com/rclone/rclone/cmd/purge" 47 | _ "github.com/rclone/rclone/cmd/rc" 48 | _ "github.com/rclone/rclone/cmd/rcat" 49 | _ "github.com/rclone/rclone/cmd/rcd" 50 | _ "github.com/rclone/rclone/cmd/reveal" 51 | _ "github.com/rclone/rclone/cmd/rmdir" 52 | _ "github.com/rclone/rclone/cmd/rmdirs" 53 | _ "github.com/rclone/rclone/cmd/selfupdate" 54 | _ "github.com/rclone/rclone/cmd/serve" 55 | _ "github.com/rclone/rclone/cmd/settier" 56 | _ "github.com/rclone/rclone/cmd/sha1sum" 57 | _ "github.com/rclone/rclone/cmd/size" 58 | _ "github.com/rclone/rclone/cmd/test" 59 | _ "github.com/rclone/rclone/cmd/test/changenotify" 60 | _ "github.com/rclone/rclone/cmd/test/histogram" 61 | _ "github.com/rclone/rclone/cmd/test/info" 62 | _ "github.com/rclone/rclone/cmd/test/makefiles" 63 | _ "github.com/rclone/rclone/cmd/test/memory" 64 | _ "github.com/rclone/rclone/cmd/touch" 65 | _ "github.com/rclone/rclone/cmd/tree" 66 | _ "github.com/rclone/rclone/cmd/version" 67 | ) 68 | -------------------------------------------------------------------------------- /cmd/copy/copy.go: -------------------------------------------------------------------------------- 1 | package copy 2 | 3 | import ( 4 | "context" 5 | "strings" 6 | 7 | "github.com/rclone/rclone/cmd" 8 | "github.com/rclone/rclone/fs/config/flags" 9 | "github.com/rclone/rclone/fs/operations" 10 | "github.com/rclone/rclone/fs/sync" 11 | "github.com/spf13/cobra" 12 | ) 13 | 14 | var ( 15 | createEmptySrcDirs = false 16 | ) 17 | 18 | func init() { 19 | cmd.Root.AddCommand(commandDefinition) 20 | cmdFlags := commandDefinition.Flags() 21 | flags.BoolVarP(cmdFlags, &createEmptySrcDirs, "create-empty-src-dirs", "", createEmptySrcDirs, "Create empty source dirs on destination after copy", "") 22 | } 23 | 24 | var commandDefinition = &cobra.Command{ 25 | Use: "copy source:path dest:path", 26 | Short: `Copy files from source to dest, skipping identical files.`, 27 | // Note: "|" will be replaced by backticks below 28 | Long: strings.ReplaceAll(` 29 | Copy the source to the destination. Does not transfer files that are 30 | identical on source and destination, testing by size and modification 31 | time or MD5SUM. Doesn't delete files from the destination. If you 32 | want to also delete files from destination, to make it match source, 33 | use the [sync](/commands/rclone_sync/) command instead. 34 | 35 | Note that it is always the contents of the directory that is synced, 36 | not the directory itself. So when source:path is a directory, it's the 37 | contents of source:path that are copied, not the directory name and 38 | contents. 39 | 40 | To copy single files, use the [copyto](/commands/rclone_copyto/) 41 | command instead. 42 | 43 | If dest:path doesn't exist, it is created and the source:path contents 44 | go there. 45 | 46 | For example 47 | 48 | rclone copy source:sourcepath dest:destpath 49 | 50 | Let's say there are two files in sourcepath 51 | 52 | sourcepath/one.txt 53 | sourcepath/two.txt 54 | 55 | This copies them to 56 | 57 | destpath/one.txt 58 | destpath/two.txt 59 | 60 | Not to 61 | 62 | destpath/sourcepath/one.txt 63 | destpath/sourcepath/two.txt 64 | 65 | If you are familiar with |rsync|, rclone always works as if you had 66 | written a trailing |/| - meaning "copy the contents of this directory". 67 | This applies to all commands and whether you are talking about the 68 | source or destination. 69 | 70 | See the [--no-traverse](/docs/#no-traverse) option for controlling 71 | whether rclone lists the destination directory or not. Supplying this 72 | option when copying a small number of files into a large destination 73 | can speed transfers up greatly. 74 | 75 | For example, if you have many files in /path/to/src but only a few of 76 | them change every day, you can copy all the files which have changed 77 | recently very efficiently like this: 78 | 79 | rclone copy --max-age 24h --no-traverse /path/to/src remote: 80 | 81 | **Note**: Use the |-P|/|--progress| flag to view real-time transfer statistics. 82 | 83 | **Note**: Use the |--dry-run| or the |--interactive|/|-i| flag to test without copying anything. 84 | `, "|", "`"), 85 | Annotations: map[string]string{ 86 | "groups": "Copy,Filter,Listing,Important", 87 | }, 88 | Run: func(command *cobra.Command, args []string) { 89 | cmd.CheckArgs(2, 2, command, args) 90 | fsrc, srcFileName, fdst := cmd.NewFsSrcFileDst(args) 91 | if len(fsrc.Root()) > 7 && "isFile:" == fsrc.Root()[0:7] { 92 | srcFileName = fsrc.Root()[7:] 93 | } 94 | cmd.Run(true, true, command, func() error { 95 | if srcFileName == "" { 96 | return sync.CopyDir(context.Background(), fdst, fsrc, createEmptySrcDirs) 97 | } 98 | return operations.CopyFile(context.Background(), fdst, fsrc, srcFileName, srcFileName) 99 | }) 100 | }, 101 | } 102 | -------------------------------------------------------------------------------- /cmd/sync/sync.go: -------------------------------------------------------------------------------- 1 | package sync 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/rclone/rclone/cmd" 7 | "github.com/rclone/rclone/fs/config/flags" 8 | "github.com/rclone/rclone/fs/operations" 9 | "github.com/rclone/rclone/fs/sync" 10 | "github.com/spf13/cobra" 11 | ) 12 | 13 | var ( 14 | createEmptySrcDirs = false 15 | ) 16 | 17 | func init() { 18 | cmd.Root.AddCommand(commandDefinition) 19 | cmdFlags := commandDefinition.Flags() 20 | flags.BoolVarP(cmdFlags, &createEmptySrcDirs, "create-empty-src-dirs", "", createEmptySrcDirs, "Create empty source dirs on destination after sync", "") 21 | } 22 | 23 | var commandDefinition = &cobra.Command{ 24 | Use: "sync source:path dest:path", 25 | Short: `Make source and dest identical, modifying destination only.`, 26 | Long: ` 27 | Sync the source to the destination, changing the destination 28 | only. Doesn't transfer files that are identical on source and 29 | destination, testing by size and modification time or MD5SUM. 30 | Destination is updated to match source, including deleting files 31 | if necessary (except duplicate objects, see below). If you don't 32 | want to delete files from destination, use the 33 | [copy](/commands/rclone_copy/) command instead. 34 | 35 | **Important**: Since this can cause data loss, test first with the 36 | ` + "`--dry-run` or the `--interactive`/`-i`" + ` flag. 37 | 38 | rclone sync --interactive SOURCE remote:DESTINATION 39 | 40 | Note that files in the destination won't be deleted if there were any 41 | errors at any point. Duplicate objects (files with the same name, on 42 | those providers that support it) are also not yet handled. 43 | 44 | It is always the contents of the directory that is synced, not the 45 | directory itself. So when source:path is a directory, it's the contents of 46 | source:path that are copied, not the directory name and contents. See 47 | extended explanation in the [copy](/commands/rclone_copy/) command if unsure. 48 | 49 | If dest:path doesn't exist, it is created and the source:path contents 50 | go there. 51 | 52 | It is not possible to sync overlapping remotes. However, you may exclude 53 | the destination from the sync with a filter rule or by putting an 54 | exclude-if-present file inside the destination directory and sync to a 55 | destination that is inside the source directory. 56 | 57 | **Note**: Use the ` + "`-P`" + `/` + "`--progress`" + ` flag to view real-time transfer statistics 58 | 59 | **Note**: Use the ` + "`rclone dedupe`" + ` command to deal with "Duplicate object/directory found in source/destination - ignoring" errors. 60 | See [this forum post](https://forum.rclone.org/t/sync-not-clearing-duplicates/14372) for more info. 61 | `, 62 | Annotations: map[string]string{ 63 | "groups": "Sync,Copy,Filter,Listing,Important", 64 | }, 65 | Run: func(command *cobra.Command, args []string) { 66 | cmd.CheckArgs(2, 2, command, args) 67 | fsrc, srcFileName, fdst := cmd.NewFsSrcFileDst(args) 68 | if len(fsrc.Root()) > 7 && "isFile:" == fsrc.Root()[0:7] { 69 | srcFileName = fsrc.Root()[7:] 70 | } 71 | cmd.Run(true, true, command, func() error { 72 | if srcFileName == "" { 73 | return sync.Sync(context.Background(), fdst, fsrc, createEmptySrcDirs) 74 | } 75 | return operations.CopyFile(context.Background(), fdst, fsrc, srcFileName, srcFileName) 76 | }) 77 | }, 78 | } 79 | -------------------------------------------------------------------------------- /docker-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker run --platform=linux/amd64 --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e CC=gcc -e GOOS=linux -e GOARCH=amd64 golang:alpine go build -tags "full" -ldflags="-s -w" -v 4 | -------------------------------------------------------------------------------- /gclone.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | _ "github.com/going/gclone/backend/all" // import all backends 5 | _ "github.com/going/gclone/backend/drive" 6 | _ "github.com/going/gclone/cmd/all" // import all commands 7 | "github.com/rclone/rclone/cmd" 8 | "github.com/rclone/rclone/fs" 9 | _ "github.com/rclone/rclone/lib/plugin" // import plugins 10 | ) 11 | 12 | func main() { 13 | fs.Version = fs.Version + "-mod-V20221125" 14 | cmd.Main() 15 | } 16 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/going/gclone 2 | 3 | go 1.22 4 | 5 | require ( 6 | github.com/rclone/rclone v1.66.0 7 | github.com/spf13/cobra v1.8.0 8 | github.com/stretchr/testify v1.8.4 9 | golang.org/x/oauth2 v0.16.0 10 | golang.org/x/sync v0.6.0 11 | google.golang.org/api v0.156.0 12 | ) 13 | 14 | require ( 15 | bazil.org/fuse v0.0.0-20230120002735-62a210ff1fd5 // indirect 16 | cloud.google.com/go/compute v1.23.3 // indirect 17 | cloud.google.com/go/compute/metadata v0.2.3 // indirect 18 | github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 // indirect 19 | github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 // indirect 20 | github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 // indirect 21 | github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1 // indirect 22 | github.com/Azure/azure-sdk-for-go/sdk/storage/azfile v1.1.1 // indirect 23 | github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect 24 | github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 // indirect 25 | github.com/Max-Sum/base32768 v0.0.0-20230304063302-18e6ce5945fd // indirect 26 | github.com/Microsoft/go-winio v0.6.1 // indirect 27 | github.com/Mikubill/gofakes3 v0.0.3-0.20230622102024-284c0f988700 // indirect 28 | github.com/ProtonMail/bcrypt v0.0.0-20211005172633-e235017c1baf // indirect 29 | github.com/ProtonMail/gluon v0.17.1-0.20230724134000-308be39be96e // indirect 30 | github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c // indirect 31 | github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f // indirect 32 | github.com/ProtonMail/go-srp v0.0.7 // indirect 33 | github.com/ProtonMail/gopenpgp/v2 v2.7.4 // indirect 34 | github.com/PuerkitoBio/goquery v1.8.1 // indirect 35 | github.com/Unknwon/goconfig v1.0.0 // indirect 36 | github.com/a8m/tree v0.0.0-20240104212747-2c8764a5f17e // indirect 37 | github.com/aalpar/deheap v0.0.0-20210914013432-0cc84d79dec3 // indirect 38 | github.com/abbot/go-http-auth v0.4.0 // indirect 39 | github.com/anacrolix/dms v1.6.0 // indirect 40 | github.com/anacrolix/generics v0.0.0-20230911070922-5dd7545c6b13 // indirect 41 | github.com/anacrolix/log v0.14.5 // indirect 42 | github.com/andybalholm/cascadia v1.3.2 // indirect 43 | github.com/atotto/clipboard v0.1.4 // indirect 44 | github.com/aws/aws-sdk-go v1.49.20 // indirect 45 | github.com/beorn7/perks v1.0.1 // indirect 46 | github.com/bradenaw/juniper v0.15.2 // indirect 47 | github.com/buengese/sgzip v0.1.1 // indirect 48 | github.com/calebcase/tmpfile v1.0.3 // indirect 49 | github.com/cespare/xxhash/v2 v2.2.0 // indirect 50 | github.com/cloudflare/circl v1.3.7 // indirect 51 | github.com/cloudsoda/go-smb2 v0.0.0-20231124195312-f3ec8ae2c891 // indirect 52 | github.com/colinmarc/hdfs/v2 v2.4.0 // indirect 53 | github.com/coreos/go-semver v0.3.1 // indirect 54 | github.com/coreos/go-systemd/v22 v22.5.0 // indirect 55 | github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect 56 | github.com/cronokirby/saferith v0.33.0 // indirect 57 | github.com/davecgh/go-spew v1.1.1 // indirect 58 | github.com/dropbox/dropbox-sdk-go-unofficial/v6 v6.0.5 // indirect 59 | github.com/emersion/go-message v0.18.0 // indirect 60 | github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 // indirect 61 | github.com/emersion/go-vcard v0.0.0-20230815062825-8fda7d206ec9 // indirect 62 | github.com/felixge/httpsnoop v1.0.4 // indirect 63 | github.com/flynn/noise v1.0.1 // indirect 64 | github.com/gabriel-vasile/mimetype v1.4.3 // indirect 65 | github.com/gdamore/encoding v1.0.0 // indirect 66 | github.com/gdamore/tcell/v2 v2.7.0 // indirect 67 | github.com/geoffgarside/ber v1.1.0 // indirect 68 | github.com/go-chi/chi/v5 v5.0.11 // indirect 69 | github.com/go-git/go-billy/v5 v5.5.0 // indirect 70 | github.com/go-logr/logr v1.4.1 // indirect 71 | github.com/go-logr/stdr v1.2.2 // indirect 72 | github.com/go-ole/go-ole v1.3.0 // indirect 73 | github.com/go-resty/resty/v2 v2.11.0 // indirect 74 | github.com/gofrs/flock v0.8.1 // indirect 75 | github.com/gogo/protobuf v1.3.2 // indirect 76 | github.com/golang-jwt/jwt/v4 v4.5.0 // indirect 77 | github.com/golang-jwt/jwt/v5 v5.2.0 // indirect 78 | github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect 79 | github.com/golang/protobuf v1.5.3 // indirect 80 | github.com/google/s2a-go v0.1.7 // indirect 81 | github.com/google/uuid v1.5.0 // indirect 82 | github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect 83 | github.com/googleapis/gax-go/v2 v2.12.0 // indirect 84 | github.com/hanwen/go-fuse/v2 v2.4.0 // indirect 85 | github.com/hashicorp/errwrap v1.1.0 // indirect 86 | github.com/hashicorp/go-multierror v1.1.1 // indirect 87 | github.com/hashicorp/go-uuid v1.0.3 // indirect 88 | github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect 89 | github.com/henrybear327/Proton-API-Bridge v1.0.0 // indirect 90 | github.com/henrybear327/go-proton-api v1.0.0 // indirect 91 | github.com/inconshreveable/mousetrap v1.1.0 // indirect 92 | github.com/jcmturner/aescts/v2 v2.0.0 // indirect 93 | github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect 94 | github.com/jcmturner/gofork v1.7.6 // indirect 95 | github.com/jcmturner/goidentity/v6 v6.0.1 // indirect 96 | github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect 97 | github.com/jcmturner/rpc/v2 v2.0.3 // indirect 98 | github.com/jlaffaye/ftp v0.2.0 // indirect 99 | github.com/jmespath/go-jmespath v0.4.0 // indirect 100 | github.com/jtolio/eventkit v0.0.0-20231019094657-5d77ebb407d9 // indirect 101 | github.com/jtolio/noiseconn v0.0.0-20231127013910-f6d9ecbf1de7 // indirect 102 | github.com/jzelinskie/whirlpool v0.0.0-20201016144138-0675e54bb004 // indirect 103 | github.com/klauspost/compress v1.17.4 // indirect 104 | github.com/klauspost/cpuid/v2 v2.2.6 // indirect 105 | github.com/koofr/go-httpclient v0.0.0-20230225102643-5d51a2e9dea6 // indirect 106 | github.com/koofr/go-koofrclient v0.0.0-20221207135200-cbd7fc9ad6a6 // indirect 107 | github.com/kr/fs v0.1.0 // indirect 108 | github.com/kylelemons/godebug v1.1.0 // indirect 109 | github.com/lucasb-eyer/go-colorful v1.2.0 // indirect 110 | github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed // indirect 111 | github.com/mattn/go-colorable v0.1.13 // indirect 112 | github.com/mattn/go-isatty v0.0.20 // indirect 113 | github.com/mattn/go-runewidth v0.0.15 // indirect 114 | github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect 115 | github.com/mitchellh/go-homedir v1.1.0 // indirect 116 | github.com/moby/sys/mountinfo v0.7.1 // indirect 117 | github.com/ncw/swift/v2 v2.0.2 // indirect 118 | github.com/oracle/oci-go-sdk/v65 v65.55.1 // indirect 119 | github.com/patrickmn/go-cache v2.1.0+incompatible // indirect 120 | github.com/pengsrc/go-shared v0.2.1-0.20190131101655-1999055a4a14 // indirect 121 | github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect 122 | github.com/pkg/errors v0.9.1 // indirect 123 | github.com/pkg/sftp v1.13.6 // indirect 124 | github.com/pkg/xattr v0.4.9 // indirect 125 | github.com/pmezard/go-difflib v1.0.0 // indirect 126 | github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect 127 | github.com/prometheus/client_golang v1.18.0 // indirect 128 | github.com/prometheus/client_model v0.5.0 // indirect 129 | github.com/prometheus/common v0.45.0 // indirect 130 | github.com/prometheus/procfs v0.12.0 // indirect 131 | github.com/putdotio/go-putio/putio v0.0.0-20200123120452-16d982cac2b8 // indirect 132 | github.com/rasky/go-xdr v0.0.0-20170124162913-1a41d1a06c93 // indirect 133 | github.com/relvacode/iso8601 v1.3.0 // indirect 134 | github.com/rfjakob/eme v1.1.2 // indirect 135 | github.com/rivo/uniseg v0.4.4 // indirect 136 | github.com/russross/blackfriday/v2 v2.1.0 // indirect 137 | github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46 // indirect 138 | github.com/shabbyrobe/gocovmerge v0.0.0-20230507112040-c3350d9342df // indirect 139 | github.com/shirou/gopsutil/v3 v3.23.12 // indirect 140 | github.com/shoenig/go-m1cpu v0.1.6 // indirect 141 | github.com/sirupsen/logrus v1.9.3 // indirect 142 | github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect 143 | github.com/sony/gobreaker v0.5.0 // indirect 144 | github.com/spacemonkeygo/monkit/v3 v3.0.22 // indirect 145 | github.com/spf13/pflag v1.0.5 // indirect 146 | github.com/t3rm1n4l/go-mega v0.0.0-20240219080617-d494b6a8ace7 // indirect 147 | github.com/tklauser/go-sysconf v0.3.13 // indirect 148 | github.com/tklauser/numcpus v0.7.0 // indirect 149 | github.com/willscott/go-nfs v0.0.2 // indirect 150 | github.com/willscott/go-nfs-client v0.0.0-20240104095149-b44639837b00 // indirect 151 | github.com/winfsp/cgofuse v1.5.1-0.20221118130120-84c0898ad2e0 // indirect 152 | github.com/xanzy/ssh-agent v0.3.3 // indirect 153 | github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect 154 | github.com/yunify/qingstor-sdk-go/v3 v3.2.0 // indirect 155 | github.com/yusufpapurcu/wmi v1.2.3 // indirect 156 | github.com/zeebo/blake3 v0.2.3 // indirect 157 | github.com/zeebo/errs v1.3.0 // indirect 158 | go.etcd.io/bbolt v1.3.8 // indirect 159 | go.opencensus.io v0.24.0 // indirect 160 | go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect 161 | go.opentelemetry.io/otel v1.21.0 // indirect 162 | go.opentelemetry.io/otel/metric v1.21.0 // indirect 163 | go.opentelemetry.io/otel/trace v1.21.0 // indirect 164 | goftp.io/server/v2 v2.0.1 // indirect 165 | golang.org/x/crypto v0.18.0 // indirect 166 | golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 // indirect 167 | golang.org/x/mod v0.14.0 // indirect 168 | golang.org/x/net v0.20.0 // indirect 169 | golang.org/x/sys v0.16.0 // indirect 170 | golang.org/x/term v0.16.0 // indirect 171 | golang.org/x/text v0.14.0 // indirect 172 | golang.org/x/time v0.5.0 // indirect 173 | golang.org/x/tools v0.17.0 // indirect 174 | google.golang.org/appengine v1.6.8 // indirect 175 | google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 // indirect 176 | google.golang.org/grpc v1.60.1 // indirect 177 | google.golang.org/protobuf v1.33.0 // indirect 178 | gopkg.in/validator.v2 v2.0.1 // indirect 179 | gopkg.in/yaml.v2 v2.4.0 // indirect 180 | gopkg.in/yaml.v3 v3.0.1 // indirect 181 | storj.io/common v0.0.0-20240111121419-ecae1362576c // indirect 182 | storj.io/drpc v0.0.33 // indirect 183 | storj.io/infectious v0.0.2 // indirect 184 | storj.io/picobuf v0.0.2-0.20230906122608-c4ba17033c6c // indirect 185 | storj.io/uplink v1.12.2 // indirect 186 | ) 187 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | bazil.org/fuse v0.0.0-20230120002735-62a210ff1fd5 h1:A0NsYy4lDBZAC6QiYeJ4N+XuHIKBpyhAVRMHRQZKTeQ= 2 | bazil.org/fuse v0.0.0-20230120002735-62a210ff1fd5/go.mod h1:gG3RZAMXCa/OTes6rr9EwusmR1OH1tDDy+cg9c5YliY= 3 | cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 4 | cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= 5 | cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= 6 | cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= 7 | cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= 8 | cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= 9 | cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= 10 | cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= 11 | cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= 12 | cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= 13 | cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= 14 | cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= 15 | cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= 16 | cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= 17 | cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= 18 | cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= 19 | cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= 20 | cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= 21 | cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= 22 | cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= 23 | cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= 24 | cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= 25 | cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= 26 | cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= 27 | cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= 28 | cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= 29 | cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= 30 | cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= 31 | cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= 32 | cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= 33 | cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= 34 | cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= 35 | cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= 36 | cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= 37 | cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= 38 | cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= 39 | dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= 40 | github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 h1:lGlwhPtrX6EVml1hO0ivjkUxsSyl4dsiw9qcA1k/3IQ= 41 | github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1/go.mod h1:RKUqNu35KJYcVG/fqTRqmuXJZYNhYkBrnC/hX7yGbTA= 42 | github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 h1:BMAjVKJM0U/CYF27gA0ZMmXGkOcvfFtD0oHVZ1TIPRI= 43 | github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0/go.mod h1:1fXstnBMas5kzG+S3q8UoJcmyU6nUeunJcMDHcRYHhs= 44 | github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 h1:6oNBlSdi1QqM1PNW7FPA6xOGA5UNsXnkaYZz9vdPGhA= 45 | github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1/go.mod h1:s4kgfzA0covAXNicZHDMN58jExvcng2mC/DepXiF1EI= 46 | github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.5.0 h1:AifHbc4mg0x9zW52WOpKbsHaDKuRhlI7TVl47thgQ70= 47 | github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.5.0/go.mod h1:T5RfihdXtBDxt1Ch2wobif3TvzTdumDy29kahv6AV9A= 48 | github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1 h1:AMf7YbZOZIW5b66cXNHMWWT/zkjhz5+a+k/3x40EO7E= 49 | github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1/go.mod h1:uwfk06ZBcvL/g4VHNjurPfVln9NMbsk2XIZxJ+hu81k= 50 | github.com/Azure/azure-sdk-for-go/sdk/storage/azfile v1.1.1 h1:pOz+ZkB4uqDgS75Ft6JPeMIsGs5MHz2lkHa1odQ9Ghk= 51 | github.com/Azure/azure-sdk-for-go/sdk/storage/azfile v1.1.1/go.mod h1:eISpIuAeU2UzR3FO0ODAwvpAnVZsfEISxszPW/chkBw= 52 | github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 h1:mFRzDkZVAjdal+s7s0MwaRv9igoPqLRdzOLzw/8Xvq8= 53 | github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU= 54 | github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 h1:DzHpqpoJVaCgOUdVHxE8QB52S6NiVdDQvGlny1qvPqA= 55 | github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= 56 | github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= 57 | github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= 58 | github.com/Masterminds/semver/v3 v3.2.0 h1:3MEsd0SM6jqZojhjLWWeBY+Kcjy9i6MQAeY7YgDP83g= 59 | github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ= 60 | github.com/Max-Sum/base32768 v0.0.0-20230304063302-18e6ce5945fd h1:nzE1YQBdx1bq9IlZinHa+HVffy+NmVRoKr+wHN8fpLE= 61 | github.com/Max-Sum/base32768 v0.0.0-20230304063302-18e6ce5945fd/go.mod h1:C8yoIfvESpM3GD07OCHU7fqI7lhwyZ2Td1rbNbTAhnc= 62 | github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= 63 | github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= 64 | github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= 65 | github.com/Mikubill/gofakes3 v0.0.3-0.20230622102024-284c0f988700 h1:r3fp2/Ro+0RtpjNY0/wsbN7vRmCW//dXTOZDQTct25Q= 66 | github.com/Mikubill/gofakes3 v0.0.3-0.20230622102024-284c0f988700/go.mod h1:OSXqXEGUe9CmPiwLMMnVrbXonMf4BeLBkBdLufxxiyY= 67 | github.com/ProtonMail/bcrypt v0.0.0-20210511135022-227b4adcab57/go.mod h1:HecWFHognK8GfRDGnFQbW/LiV7A3MX3gZVs45vk5h8I= 68 | github.com/ProtonMail/bcrypt v0.0.0-20211005172633-e235017c1baf h1:yc9daCCYUefEs69zUkSzubzjBbL+cmOXgnmt9Fyd9ug= 69 | github.com/ProtonMail/bcrypt v0.0.0-20211005172633-e235017c1baf/go.mod h1:o0ESU9p83twszAU8LBeJKFAAMX14tISa0yk4Oo5TOqo= 70 | github.com/ProtonMail/gluon v0.17.1-0.20230724134000-308be39be96e h1:lCsqUUACrcMC83lg5rTo9Y0PnPItE61JSfvMyIcANwk= 71 | github.com/ProtonMail/gluon v0.17.1-0.20230724134000-308be39be96e/go.mod h1:Og5/Dz1MiGpCJn51XujZwxiLG7WzvvjE5PRpZBQmAHo= 72 | github.com/ProtonMail/go-crypto v0.0.0-20230321155629-9a39f2531310/go.mod h1:8TI4H3IbrackdNgv+92dI+rhpCaLqM0IfpgCgenFvRE= 73 | github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= 74 | github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c h1:kMFnB0vCcX7IL/m9Y5LO+KQYv+t1CQOiFe6+SV2J7bE= 75 | github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= 76 | github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f h1:tCbYj7/299ekTTXpdwKYF8eBlsYsDVoggDAuAjoK66k= 77 | github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f/go.mod h1:gcr0kNtGBqin9zDW9GOHcVntrwnjrK+qdJ06mWYBybw= 78 | github.com/ProtonMail/go-srp v0.0.7 h1:Sos3Qk+th4tQR64vsxGIxYpN3rdnG9Wf9K4ZloC1JrI= 79 | github.com/ProtonMail/go-srp v0.0.7/go.mod h1:giCp+7qRnMIcCvI6V6U3S1lDDXDQYx2ewJ6F/9wdlJk= 80 | github.com/ProtonMail/gopenpgp/v2 v2.7.4 h1:Vz/8+HViFFnf2A6XX8JOvZMrA6F5puwNvvF21O1mRlo= 81 | github.com/ProtonMail/gopenpgp/v2 v2.7.4/go.mod h1:IhkNEDaxec6NyzSI0PlxapinnwPVIESk8/76da3Ct3g= 82 | github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM= 83 | github.com/PuerkitoBio/goquery v1.8.1/go.mod h1:Q8ICL1kNUJ2sXGoAhPGUdYDJvgQgHzJsnnd3H7Ho5jQ= 84 | github.com/RoaringBitmap/roaring v0.4.7/go.mod h1:8khRDP4HmeXns4xIj9oGrKSz7XTQiJx2zgh7AcNke4w= 85 | github.com/Unknwon/goconfig v1.0.0 h1:9IAu/BYbSLQi8puFjUQApZTxIHqSwrj5d8vpP8vTq4A= 86 | github.com/Unknwon/goconfig v1.0.0/go.mod h1:wngxua9XCNjvHjDiTiV26DaKDT+0c63QR6H5hjVUUxw= 87 | github.com/a8m/tree v0.0.0-20240104212747-2c8764a5f17e h1:KMVieI1/Ub++GYfnhyFPoGE3g5TUiG4srE3TMGr5nM4= 88 | github.com/a8m/tree v0.0.0-20240104212747-2c8764a5f17e/go.mod h1:j5astEcUkZQX8lK+KKlQ3NRQ50f4EE8ZjyZpCz3mrH4= 89 | github.com/aalpar/deheap v0.0.0-20210914013432-0cc84d79dec3 h1:hhdWprfSpFbN7lz3W1gM40vOgvSh1WCSMxYD6gGB4Hs= 90 | github.com/aalpar/deheap v0.0.0-20210914013432-0cc84d79dec3/go.mod h1:XaUnRxSCYgL3kkgX0QHIV0D+znljPIDImxlv2kbGv0Y= 91 | github.com/abbot/go-http-auth v0.4.0 h1:QjmvZ5gSC7jm3Zg54DqWE/T5m1t2AfDu6QlXJT0EVT0= 92 | github.com/abbot/go-http-auth v0.4.0/go.mod h1:Cz6ARTIzApMJDzh5bRMSUou6UMSp0IEXg9km/ci7TJM= 93 | github.com/anacrolix/dms v1.6.0 h1:v2g1Y+Fc/ICSEc+7M6B92oFcfcqa5LXYPhE4Hcm5tVA= 94 | github.com/anacrolix/dms v1.6.0/go.mod h1:5fAMpBcPFG4WQFh91zhf2E7/KYZ3/WmmRAf/WMoL0Q0= 95 | github.com/anacrolix/envpprof v0.0.0-20180404065416-323002cec2fa/go.mod h1:KgHhUaQMc8cC0+cEflSgCFNFbKwi5h54gqtVn8yhP7c= 96 | github.com/anacrolix/envpprof v1.0.0/go.mod h1:KgHhUaQMc8cC0+cEflSgCFNFbKwi5h54gqtVn8yhP7c= 97 | github.com/anacrolix/ffprobe v1.0.0/go.mod h1:BIw+Bjol6CWjm/CRWrVLk2Vy+UYlkgmBZ05vpSYqZPw= 98 | github.com/anacrolix/generics v0.0.0-20230911070922-5dd7545c6b13 h1:qwOprPTDMM3BASJRf84mmZnTXRsPGGJ8xoHKQS7m3so= 99 | github.com/anacrolix/generics v0.0.0-20230911070922-5dd7545c6b13/go.mod h1:ff2rHB/joTV03aMSSn/AZNnaIpUw0h3njetGsaXcMy8= 100 | github.com/anacrolix/log v0.13.1/go.mod h1:D4+CvN8SnruK6zIFS/xPoRJmtvtnxs+CSfDQ+BFxZ68= 101 | github.com/anacrolix/log v0.14.5 h1:OkMjBquVSRb742LkecSGDGaGpNoSrw4syRIm0eRdmrg= 102 | github.com/anacrolix/log v0.14.5/go.mod h1:1OmJESOtxQGNMlUO5rcv96Vpp9mfMqXXbe2RdinFLdY= 103 | github.com/anacrolix/missinggo v1.1.0/go.mod h1:MBJu3Sk/k3ZfGYcS7z18gwfu72Ey/xopPFJJbTi5yIo= 104 | github.com/anacrolix/tagflag v0.0.0-20180109131632-2146c8d41bf0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw= 105 | github.com/andybalholm/cascadia v1.3.1/go.mod h1:R4bJ1UQfqADjvDa4P6HZHLh/3OxWWEqc0Sk8XGwHqvA= 106 | github.com/andybalholm/cascadia v1.3.2 h1:3Xi6Dw5lHF15JtdcmAHD3i1+T8plmv7BQ/nsViSLyss= 107 | github.com/andybalholm/cascadia v1.3.2/go.mod h1:7gtRlve5FxPPgIgX36uWBX58OdBsSS6lUvCFb+h7KvU= 108 | github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= 109 | github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= 110 | github.com/aws/aws-sdk-go v1.49.20 h1:VgEUq2/ZbUkLbqPyDcxrirfXB+PgiZUUF5XbsgWe2S0= 111 | github.com/aws/aws-sdk-go v1.49.20/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= 112 | github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= 113 | github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= 114 | github.com/bradenaw/juniper v0.15.2 h1:0JdjBGEF2jP1pOxmlNIrPhAoQN7Ng5IMAY5D0PHMW4U= 115 | github.com/bradenaw/juniper v0.15.2/go.mod h1:UX4FX57kVSaDp4TPqvSjkAAewmRFAfXf27BOs5z9dq8= 116 | github.com/bradfitz/iter v0.0.0-20140124041915-454541ec3da2/go.mod h1:PyRFw1Lt2wKX4ZVSQ2mk+PeDa1rxyObEDlApuIsUKuo= 117 | github.com/buengese/sgzip v0.1.1 h1:ry+T8l1mlmiWEsDrH/YHZnCVWD2S3im1KLsyO+8ZmTU= 118 | github.com/buengese/sgzip v0.1.1/go.mod h1:i5ZiXGF3fhV7gL1xaRRL1nDnmpNj0X061FQzOS8VMas= 119 | github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= 120 | github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= 121 | github.com/bytedance/sonic v1.9.1 h1:6iJ6NqdoxCDr6mbY8h18oSO+cShGSMRGCEo7F2h0x8s= 122 | github.com/bytedance/sonic v1.9.1/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U= 123 | github.com/calebcase/tmpfile v1.0.3 h1:BZrOWZ79gJqQ3XbAQlihYZf/YCV0H4KPIdM5K5oMpJo= 124 | github.com/calebcase/tmpfile v1.0.3/go.mod h1:UAUc01aHeC+pudPagY/lWvt2qS9ZO5Zzof6/tIUzqeI= 125 | github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= 126 | github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= 127 | github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= 128 | github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams= 129 | github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= 130 | github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= 131 | github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= 132 | github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= 133 | github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= 134 | github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= 135 | github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= 136 | github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= 137 | github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= 138 | github.com/cloudsoda/go-smb2 v0.0.0-20231124195312-f3ec8ae2c891 h1:nPP4suUiNage0vvyEBgfAnhTPwwXhNqtHmSuiCIQwKU= 139 | github.com/cloudsoda/go-smb2 v0.0.0-20231124195312-f3ec8ae2c891/go.mod h1:xFxVVe3plxwhM+6BgTTPByEgG8hggo8+gtRUkbc5W8Q= 140 | github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= 141 | github.com/colinmarc/hdfs/v2 v2.4.0 h1:v6R8oBx/Wu9fHpdPoJJjpGSUxo8NhHIwrwsfhFvU9W0= 142 | github.com/colinmarc/hdfs/v2 v2.4.0/go.mod h1:0NAO+/3knbMx6+5pCv+Hcbaz4xn/Zzbn9+WIib2rKVI= 143 | github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4= 144 | github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec= 145 | github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= 146 | github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= 147 | github.com/cpuguy83/go-md2man/v2 v2.0.3 h1:qMCsGGgs+MAzDFyp9LpAe1Lqy/fY/qCovCm0qnXZOBM= 148 | github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= 149 | github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= 150 | github.com/cronokirby/saferith v0.33.0 h1:TgoQlfsD4LIwx71+ChfRcIpjkw+RPOapDEVxa+LhwLo= 151 | github.com/cronokirby/saferith v0.33.0/go.mod h1:QKJhjoqUtBsXCAVEjw38mFqoi7DebT7kthcD7UzbnoA= 152 | github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 153 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 154 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 155 | github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= 156 | github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= 157 | github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= 158 | github.com/dropbox/dropbox-sdk-go-unofficial/v6 v6.0.5 h1:FT+t0UEDykcor4y3dMVKXIiWJETBpRgERYTGlmMd7HU= 159 | github.com/dropbox/dropbox-sdk-go-unofficial/v6 v6.0.5/go.mod h1:rSS3kM9XMzSQ6pw91Qgd6yB5jdt70N4OdtrAf74As5M= 160 | github.com/dsnet/try v0.0.3 h1:ptR59SsrcFUYbT/FhAbKTV6iLkeD6O18qfIWRml2fqI= 161 | github.com/dsnet/try v0.0.3/go.mod h1:WBM8tRpUmnXXhY1U6/S8dt6UWdHTQ7y8A5YSkRCkq40= 162 | github.com/dustin/go-humanize v0.0.0-20180421182945-02af3965c54e/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= 163 | github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= 164 | github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= 165 | github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= 166 | github.com/emersion/go-message v0.18.0 h1:7LxAXHRpSeoO/Wom3ZApVZYG7c3d17yCScYce8WiXA8= 167 | github.com/emersion/go-message v0.18.0/go.mod h1:Zi69ACvzaoV/MBnrxfVBPV3xWEuCmC2nEN39oJF4B8A= 168 | github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 h1:IbFBtwoTQyw0fIM5xv1HF+Y+3ZijDR839WMulgxCcUY= 169 | github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594/go.mod h1:aqO8z8wPrjkscevZJFVE1wXJrLpC5LtJG7fqLOsPb2U= 170 | github.com/emersion/go-vcard v0.0.0-20230815062825-8fda7d206ec9 h1:ATgqloALX6cHCranzkLb8/zjivwQ9DWWDCQRnxTPfaA= 171 | github.com/emersion/go-vcard v0.0.0-20230815062825-8fda7d206ec9/go.mod h1:HMJKR5wlh/ziNp+sHEDV2ltblO4JD2+IdDOWtGcQBTM= 172 | github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 173 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= 174 | github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= 175 | github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= 176 | github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= 177 | github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= 178 | github.com/flynn/noise v1.0.1 h1:vPp/jdQLXC6ppsXSj/pM3W1BIJ5FEHE2TulSJBpb43Y= 179 | github.com/flynn/noise v1.0.1/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag= 180 | github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= 181 | github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= 182 | github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= 183 | github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= 184 | github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0= 185 | github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk= 186 | github.com/gdamore/encoding v1.0.0 h1:+7OoQ1Bc6eTm5niUzBa0Ctsh6JbMW6Ra+YNuAtDBdko= 187 | github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo5dl+VrEg= 188 | github.com/gdamore/tcell/v2 v2.7.0 h1:I5LiGTQuwrysAt1KS9wg1yFfOI3arI3ucFrxtd/xqaA= 189 | github.com/gdamore/tcell/v2 v2.7.0/go.mod h1:hl/KtAANGBecfIPxk+FzKvThTqI84oplgbPEmVX60b8= 190 | github.com/geoffgarside/ber v1.1.0 h1:qTmFG4jJbwiSzSXoNJeHcOprVzZ8Ulde2Rrrifu5U9w= 191 | github.com/geoffgarside/ber v1.1.0/go.mod h1:jVPKeCbj6MvQZhwLYsGwaGI52oUorHoHKNecGT85ZCc= 192 | github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= 193 | github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= 194 | github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= 195 | github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= 196 | github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE= 197 | github.com/glycerine/goconvey v0.0.0-20180728074245-46e3a41ad493/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= 198 | github.com/go-chi/chi/v5 v5.0.11 h1:BnpYbFZ3T3S1WMpD79r7R5ThWX40TaFB7L31Y8xqSwA= 199 | github.com/go-chi/chi/v5 v5.0.11/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= 200 | github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= 201 | github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= 202 | github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= 203 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= 204 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= 205 | github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= 206 | github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= 207 | github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= 208 | github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= 209 | github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= 210 | github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= 211 | github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= 212 | github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= 213 | github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= 214 | github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= 215 | github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= 216 | github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= 217 | github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js= 218 | github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= 219 | github.com/go-resty/resty/v2 v2.11.0 h1:i7jMfNOJYMp69lq7qozJP+bjgzfAzeOhuGlyDrqxT/8= 220 | github.com/go-resty/resty/v2 v2.11.0/go.mod h1:iiP/OpA0CkcL3IGt1O0+/SIItFUbkkyw5BGXiVdTu+A= 221 | github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= 222 | github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= 223 | github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= 224 | github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= 225 | github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= 226 | github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= 227 | github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= 228 | github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= 229 | github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= 230 | github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= 231 | github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= 232 | github.com/golang-jwt/jwt/v5 v5.2.0 h1:d/ix8ftRUorsN+5eMIlF4T6J8CAt9rch3My2winC1Jw= 233 | github.com/golang-jwt/jwt/v5 v5.2.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= 234 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= 235 | github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 236 | github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 237 | github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 238 | github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= 239 | github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= 240 | github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 241 | github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= 242 | github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= 243 | github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 244 | github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 245 | github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= 246 | github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= 247 | github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 248 | github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 249 | github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= 250 | github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= 251 | github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= 252 | github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= 253 | github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= 254 | github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= 255 | github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= 256 | github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= 257 | github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= 258 | github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= 259 | github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= 260 | github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= 261 | github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= 262 | github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= 263 | github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= 264 | github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= 265 | github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= 266 | github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 267 | github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 268 | github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= 269 | github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= 270 | github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 271 | github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 272 | github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 273 | github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 274 | github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 275 | github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 276 | github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 277 | github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 278 | github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 279 | github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= 280 | github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= 281 | github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= 282 | github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= 283 | github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= 284 | github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 285 | github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= 286 | github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 287 | github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 288 | github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 289 | github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 290 | github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= 291 | github.com/google/pprof v0.0.0-20211214055906-6f57359322fd h1:1FjCyPC+syAzJ5/2S8fqdZK1R22vvA0J7JZKcuOIQ7Y= 292 | github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= 293 | github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= 294 | github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= 295 | github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= 296 | github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= 297 | github.com/google/uuid v1.5.0 h1:1p67kYwdtXjb0gL0BPiP1Av9wiZPo5A8z2cWkTZ+eyU= 298 | github.com/google/uuid v1.5.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= 299 | github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= 300 | github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= 301 | github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= 302 | github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= 303 | github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= 304 | github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= 305 | github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= 306 | github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e h1:JKmoR8x90Iww1ks85zJ1lfDGgIiMDuIptTOhJq+zKyg= 307 | github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= 308 | github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ= 309 | github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= 310 | github.com/gorilla/sessions v1.2.1 h1:DHd3rPN5lE3Ts3D8rKkQ8x/0kqfeNmBAaiSi+o7FsgI= 311 | github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= 312 | github.com/hanwen/go-fuse/v2 v2.4.0 h1:12OhD7CkXXQdvxG2osIdBQLdXh+nmLXY9unkUIe/xaU= 313 | github.com/hanwen/go-fuse/v2 v2.4.0/go.mod h1:xKwi1cF7nXAOBCXujD5ie0ZKsxc8GGSA1rlMJc+8IJs= 314 | github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 315 | github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= 316 | github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 317 | github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= 318 | github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= 319 | github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= 320 | github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= 321 | github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= 322 | github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 323 | github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 324 | github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= 325 | github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= 326 | github.com/henrybear327/Proton-API-Bridge v1.0.0 h1:gjKAaWfKu++77WsZTHg6FUyPC5W0LTKWQciUm8PMZb0= 327 | github.com/henrybear327/Proton-API-Bridge v1.0.0/go.mod h1:gunH16hf6U74W2b9CGDaWRadiLICsoJ6KRkSt53zLts= 328 | github.com/henrybear327/go-proton-api v1.0.0 h1:zYi/IbjLwFAW7ltCeqXneUGJey0TN//Xo851a/BgLXw= 329 | github.com/henrybear327/go-proton-api v1.0.0/go.mod h1:w63MZuzufKcIZ93pwRgiOtxMXYafI8H74D77AxytOBc= 330 | github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo= 331 | github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= 332 | github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= 333 | github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= 334 | github.com/jcmturner/aescts/v2 v2.0.0 h1:9YKLH6ey7H4eDBXW8khjYslgyqG2xZikXP0EQFKrle8= 335 | github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs= 336 | github.com/jcmturner/dnsutils/v2 v2.0.0 h1:lltnkeZGL0wILNvrNiVCR6Ro5PGU/SeBvVO/8c/iPbo= 337 | github.com/jcmturner/dnsutils/v2 v2.0.0/go.mod h1:b0TnjGOvI/n42bZa+hmXL+kFJZsFT7G4t3HTlQ184QM= 338 | github.com/jcmturner/gofork v1.7.6 h1:QH0l3hzAU1tfT3rZCnW5zXl+orbkNMMRGJfdJjHVETg= 339 | github.com/jcmturner/gofork v1.7.6/go.mod h1:1622LH6i/EZqLloHfE7IeZ0uEJwMSUyQ/nDd82IeqRo= 340 | github.com/jcmturner/goidentity/v6 v6.0.1 h1:VKnZd2oEIMorCTsFBnJWbExfNN7yZr3EhJAxwOkZg6o= 341 | github.com/jcmturner/goidentity/v6 v6.0.1/go.mod h1:X1YW3bgtvwAXju7V3LCIMpY0Gbxyjn/mY9zx4tFonSg= 342 | github.com/jcmturner/gokrb5/v8 v8.4.4 h1:x1Sv4HaTpepFkXbt2IkL29DXRf8sOfZXo8eRKh687T8= 343 | github.com/jcmturner/gokrb5/v8 v8.4.4/go.mod h1:1btQEpgT6k+unzCwX1KdWMEwPPkkgBtP+F6aCACiMrs= 344 | github.com/jcmturner/rpc/v2 v2.0.3 h1:7FXXj8Ti1IaVFpSAziCZWNzbNuZmnvw/i6CqLNdWfZY= 345 | github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc= 346 | github.com/jlaffaye/ftp v0.0.0-20190624084859-c1312a7102bf/go.mod h1:lli8NYPQOFy3O++YmYbqVgOcQ1JPCwdOy+5zSjKJ9qY= 347 | github.com/jlaffaye/ftp v0.2.0 h1:lXNvW7cBu7R/68bknOX3MrRIIqZ61zELs1P2RAiA3lg= 348 | github.com/jlaffaye/ftp v0.2.0/go.mod h1:is2Ds5qkhceAPy2xD6RLI6hmp/qysSoymZ+Z2uTnspI= 349 | github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= 350 | github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= 351 | github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= 352 | github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= 353 | github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= 354 | github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= 355 | github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= 356 | github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= 357 | github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= 358 | github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= 359 | github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= 360 | github.com/jtolio/eventkit v0.0.0-20231019094657-5d77ebb407d9 h1:5aw4qPuPiOjYJGATzHQllDfom77cgZrzE1ttOj7GRWQ= 361 | github.com/jtolio/eventkit v0.0.0-20231019094657-5d77ebb407d9/go.mod h1:PXFUrknJu7TkBNyL8t7XWDPtDFFLFrNQQAdsXv9YfJE= 362 | github.com/jtolio/noiseconn v0.0.0-20231127013910-f6d9ecbf1de7 h1:JcltaO1HXM5S2KYOYcKgAV7slU0xPy1OcvrVgn98sRQ= 363 | github.com/jtolio/noiseconn v0.0.0-20231127013910-f6d9ecbf1de7/go.mod h1:MEkhEPFwP3yudWO0lj6vfYpLIB+3eIcuIW+e0AZzUQk= 364 | github.com/jzelinskie/whirlpool v0.0.0-20201016144138-0675e54bb004 h1:G+9t9cEtnC9jFiTxyptEKuNIAbiN5ZCQzX2a74lj3xg= 365 | github.com/jzelinskie/whirlpool v0.0.0-20201016144138-0675e54bb004/go.mod h1:KmHnJWQrgEvbuy0vcvj00gtMqbvNn1L+3YUZLK/B92c= 366 | github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= 367 | github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= 368 | github.com/klauspost/compress v1.17.4 h1:Ej5ixsIri7BrIjBkRZLTo6ghwrEtHFk7ijlczPW4fZ4= 369 | github.com/klauspost/compress v1.17.4/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= 370 | github.com/klauspost/cpuid/v2 v2.0.12/go.mod h1:g2LTdtYhdyuGPqyWyv7qRAmj1WBqxuObKfj5c0PQa7c= 371 | github.com/klauspost/cpuid/v2 v2.2.6 h1:ndNyv040zDGIDh8thGkXYjnFtiN02M1PVVF+JE/48xc= 372 | github.com/klauspost/cpuid/v2 v2.2.6/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= 373 | github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= 374 | github.com/koofr/go-httpclient v0.0.0-20230225102643-5d51a2e9dea6 h1:uF5FHZ/L5gvZTyBNhhcm55rRorL66DOs4KIeeVXZ8eI= 375 | github.com/koofr/go-httpclient v0.0.0-20230225102643-5d51a2e9dea6/go.mod h1:6HAT62hK6QH+ljNtZayJCKpbZy5hJIB12+1Ze1bFS7M= 376 | github.com/koofr/go-koofrclient v0.0.0-20221207135200-cbd7fc9ad6a6 h1:FHVoZMOVRA+6/y4yRlbiR3WvsrOcKBd/f64H7YiWR2U= 377 | github.com/koofr/go-koofrclient v0.0.0-20221207135200-cbd7fc9ad6a6/go.mod h1:MRAz4Gsxd+OzrZ0owwrUHc0zLESL+1Y5syqK/sJxK2A= 378 | github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= 379 | github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= 380 | github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= 381 | github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= 382 | github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= 383 | github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= 384 | github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= 385 | github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 386 | github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= 387 | github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= 388 | github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= 389 | github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= 390 | github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= 391 | github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= 392 | github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= 393 | github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= 394 | github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= 395 | github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= 396 | github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= 397 | github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed h1:036IscGBfJsFIgJQzlui7nK1Ncm0tp2ktmPj8xO4N/0= 398 | github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed/go.mod h1:ilwx/Dta8jXAgpFYFvSWEMwxmbWXyiUHkd5FwyKhb5k= 399 | github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= 400 | github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= 401 | github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= 402 | github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= 403 | github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= 404 | github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= 405 | github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= 406 | github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvlsiIGKtc+UG6U5vzxaoagmhXfyg= 407 | github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k= 408 | github.com/minio/md5-simd v1.1.2 h1:Gdi1DZK69+ZVMoNHRXJyNcxrMA4dSxoYHZSQbirFg34= 409 | github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM= 410 | github.com/minio/minio-go/v6 v6.0.46/go.mod h1:qD0lajrGW49lKZLtXKtCB4X/qkMf0a5tBvN2PaZg7Gg= 411 | github.com/minio/minio-go/v7 v7.0.66 h1:bnTOXOHjOqv/gcMuiVbN9o2ngRItvqE774dG9nq0Dzw= 412 | github.com/minio/minio-go/v7 v7.0.66/go.mod h1:DHAgmyQEGdW3Cif0UooKOyrT3Vxs82zNdV6tkKhRtbs= 413 | github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM= 414 | github.com/minio/sha256-simd v1.0.1 h1:6kaan5IFmwTNynnKKpDHe6FWHohJOHhCPchzK49dzMM= 415 | github.com/minio/sha256-simd v1.0.1/go.mod h1:Pz6AKMiUdngCLpeTL/RJY1M9rUuPMYujV5xJjtbRSN8= 416 | github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= 417 | github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= 418 | github.com/moby/sys/mountinfo v0.6.2/go.mod h1:IJb6JQeOklcdMU9F5xQ8ZALD+CUr5VlGpwtX+VE0rpI= 419 | github.com/moby/sys/mountinfo v0.7.1 h1:/tTvQaSJRr2FshkhXiIpux6fQ2Zvc4j7tAhMTStAG2g= 420 | github.com/moby/sys/mountinfo v0.7.1/go.mod h1:IJb6JQeOklcdMU9F5xQ8ZALD+CUr5VlGpwtX+VE0rpI= 421 | github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= 422 | github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= 423 | github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= 424 | github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= 425 | github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg= 426 | github.com/ncw/swift/v2 v2.0.2 h1:jx282pcAKFhmoZBSdMcCRFn9VWkoBIRsCpe+yZq7vEk= 427 | github.com/ncw/swift/v2 v2.0.2/go.mod h1:z0A9RVdYPjNjXVo2pDOPxZ4eu3oarO1P91fTItcb+Kg= 428 | github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646/go.mod h1:jpp1/29i3P1S/RLdc7JQKbRpFeM1dOBd8T9ki5s+AY8= 429 | github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= 430 | github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= 431 | github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= 432 | github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= 433 | github.com/onsi/ginkgo/v2 v2.9.5 h1:+6Hr4uxzP4XIUyAkg61dWBw8lb/gc4/X5luuxN/EC+Q= 434 | github.com/onsi/ginkgo/v2 v2.9.5/go.mod h1:tvAoo1QUJwNEU2ITftXTpR7R1RbCzoZUOs3RonqW57k= 435 | github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= 436 | github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= 437 | github.com/oracle/oci-go-sdk/v65 v65.55.1 h1:82j4YHtqeJJiOPyLKxP4/x3Oi8tv2o1etKMziY7yM7o= 438 | github.com/oracle/oci-go-sdk/v65 v65.55.1/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= 439 | github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= 440 | github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= 441 | github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= 442 | github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= 443 | github.com/pengsrc/go-shared v0.2.1-0.20190131101655-1999055a4a14 h1:XeOYlK9W1uCmhjJSsY78Mcuh7MVkNjTzmHx1yBzizSU= 444 | github.com/pengsrc/go-shared v0.2.1-0.20190131101655-1999055a4a14/go.mod h1:jVblp62SafmidSkvWrXyxAme3gaTfEtWwRPGz5cpvHg= 445 | github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= 446 | github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= 447 | github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU= 448 | github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= 449 | github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= 450 | github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 451 | github.com/pkg/sftp v1.13.6 h1:JFZT4XbOU7l77xGSpOdW+pwIMqP044IyjXX6FGyEKFo= 452 | github.com/pkg/sftp v1.13.6/go.mod h1:tz1ryNURKu77RL+GuCzmoJYxQczL3wLNNpPWagdg4Qk= 453 | github.com/pkg/xattr v0.4.9 h1:5883YPCtkSd8LFbs13nXplj9g9tlrwoJRjgpgMu1/fE= 454 | github.com/pkg/xattr v0.4.9/go.mod h1:di8WF84zAKk8jzR1UBTEWh9AUlIZZ7M/JNt8e9B6ktU= 455 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= 456 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 457 | github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= 458 | github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b h1:0LFwY6Q3gMACTjAbMZBjXAqTOzOwFaj2Ld6cjeQ7Rig= 459 | github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= 460 | github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= 461 | github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= 462 | github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= 463 | github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= 464 | github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= 465 | github.com/prometheus/common v0.45.0 h1:2BGz0eBc2hdMDLnO/8n0jeB3oPrt2D08CekT0lneoxM= 466 | github.com/prometheus/common v0.45.0/go.mod h1:YJmSTw9BoKxJplESWWxlbyttQR4uaEcGyv9MZjVOJsY= 467 | github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= 468 | github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= 469 | github.com/putdotio/go-putio/putio v0.0.0-20200123120452-16d982cac2b8 h1:Y258uzXU/potCYnQd1r6wlAnoMB68BiCkCcCnKx1SH8= 470 | github.com/putdotio/go-putio/putio v0.0.0-20200123120452-16d982cac2b8/go.mod h1:bSJjRokAHHOhA+XFxplld8w2R/dXLH7Z3BZ532vhFwU= 471 | github.com/quic-go/qtls-go1-20 v0.4.1 h1:D33340mCNDAIKBqXuAvexTNMUByrYmFYVfKfDN5nfFs= 472 | github.com/quic-go/qtls-go1-20 v0.4.1/go.mod h1:X9Nh97ZL80Z+bX/gUXMbipO6OxdiDi58b/fMC9mAL+k= 473 | github.com/quic-go/quic-go v0.40.1 h1:X3AGzUNFs0jVuO3esAGnTfvdgvL4fq655WaOi1snv1Q= 474 | github.com/quic-go/quic-go v0.40.1/go.mod h1:PeN7kuVJ4xZbxSv/4OX6S1USOX8MJvydwpTx31vx60c= 475 | github.com/rasky/go-xdr v0.0.0-20170124162913-1a41d1a06c93 h1:UVArwN/wkKjMVhh2EQGC0tEc1+FqiLlvYXY5mQ2f8Wg= 476 | github.com/rasky/go-xdr v0.0.0-20170124162913-1a41d1a06c93/go.mod h1:Nfe4efndBz4TibWycNE+lqyJZiMX4ycx+QKV8Ta0f/o= 477 | github.com/rclone/rclone v1.66.0 h1:w7HVJrdiUf9VVmmv0Q0RopxN9wvEwpu673db5PhTeFA= 478 | github.com/rclone/rclone v1.66.0/go.mod h1:EA+fFWNjsawclx5rV7ZkZU2Z0WIgvUPesjhUrG8yVJo= 479 | github.com/relvacode/iso8601 v1.3.0 h1:HguUjsGpIMh/zsTczGN3DVJFxTU/GX+MMmzcKoMO7ko= 480 | github.com/relvacode/iso8601 v1.3.0/go.mod h1:FlNp+jz+TXpyRqgmM7tnzHHzBnz776kmAH2h3sZCn0I= 481 | github.com/rfjakob/eme v1.1.2 h1:SxziR8msSOElPayZNFfQw4Tjx/Sbaeeh3eRvrHVMUs4= 482 | github.com/rfjakob/eme v1.1.2/go.mod h1:cVvpasglm/G3ngEfcfT/Wt0GwhkuO32pf/poW6Nyk1k= 483 | github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= 484 | github.com/rivo/uniseg v0.4.3/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= 485 | github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= 486 | github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= 487 | github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= 488 | github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= 489 | github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= 490 | github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= 491 | github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= 492 | github.com/rs/xid v1.5.0 h1:mKX4bl4iPYJtEIxp6CYiUuLQ/8DYMoz0PUdtGgMFRVc= 493 | github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= 494 | github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= 495 | github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= 496 | github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46 h1:GHRpF1pTW19a8tTFrMLUcfWwyC0pnifVo2ClaLq+hP8= 497 | github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46/go.mod h1:uAQ5PCi+MFsC7HjREoAz1BU+Mq60+05gifQSsHSDG/8= 498 | github.com/shabbyrobe/gocovmerge v0.0.0-20230507112040-c3350d9342df h1:S77Pf5fIGMa7oSwp8SQPp7Hb4ZiI38K3RNBKD2LLeEM= 499 | github.com/shabbyrobe/gocovmerge v0.0.0-20230507112040-c3350d9342df/go.mod h1:dcuzJZ83w/SqN9k4eQqwKYMgmKWzg/KzJAURBhRL1tc= 500 | github.com/shirou/gopsutil/v3 v3.23.12 h1:z90NtUkp3bMtmICZKpC4+WaknU1eXtp5vtbQ11DgpE4= 501 | github.com/shirou/gopsutil/v3 v3.23.12/go.mod h1:1FrWgea594Jp7qmjHUUPlJDTPgcsb9mGnXDxavtikzM= 502 | github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM= 503 | github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= 504 | github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= 505 | github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= 506 | github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= 507 | github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= 508 | github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= 509 | github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= 510 | github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA= 511 | github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog= 512 | github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= 513 | github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= 514 | github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= 515 | github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a h1:pa8hGb/2YqsZKovtsgrwcDH1RZhVbTKCjLp47XpqCDs= 516 | github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= 517 | github.com/sony/gobreaker v0.5.0 h1:dRCvqm0P490vZPmy7ppEk2qCnCieBooFJ+YoXGYB+yg= 518 | github.com/sony/gobreaker v0.5.0/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= 519 | github.com/spacemonkeygo/monkit/v3 v3.0.22 h1:4/g8IVItBDKLdVnqrdHZrCVPpIrwDBzl1jrV0IHQHDU= 520 | github.com/spacemonkeygo/monkit/v3 v3.0.22/go.mod h1:XkZYGzknZwkD0AKUnZaSXhRiVTLCkq7CWVa3IsE72gA= 521 | github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= 522 | github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= 523 | github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= 524 | github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= 525 | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 526 | github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 527 | github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= 528 | github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= 529 | github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= 530 | github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= 531 | github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= 532 | github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= 533 | github.com/stretchr/testify v1.3.1-0.20190311161405-34c6fa2dc709/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= 534 | github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= 535 | github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 536 | github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 537 | github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= 538 | github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= 539 | github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= 540 | github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= 541 | github.com/t3rm1n4l/go-mega v0.0.0-20240219080617-d494b6a8ace7 h1:Jtcrb09q0AVWe3BGe8qtuuGxNSHWGkTWr43kHTJ+CpA= 542 | github.com/t3rm1n4l/go-mega v0.0.0-20240219080617-d494b6a8ace7/go.mod h1:suDIky6yrK07NnaBadCB4sS0CqFOvUK91lH7CR+JlDA= 543 | github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= 544 | github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= 545 | github.com/tklauser/go-sysconf v0.3.13 h1:GBUpcahXSpR2xN01jhkNAbTLRk2Yzgggk8IM08lq3r4= 546 | github.com/tklauser/go-sysconf v0.3.13/go.mod h1:zwleP4Q4OehZHGn4CYZDipCgg9usW5IJePewFCGVEa0= 547 | github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY= 548 | github.com/tklauser/numcpus v0.7.0 h1:yjuerZP127QG9m5Zh/mSO4wqurYil27tHrqwRoRjpr4= 549 | github.com/tklauser/numcpus v0.7.0/go.mod h1:bb6dMVcj8A42tSE7i32fsIUCbQNllK5iDguyOZRUzAY= 550 | github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c h1:u6SKchux2yDvFQnDHS3lPnIRmfVJ5Sxy3ao2SIdysLQ= 551 | github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM= 552 | github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= 553 | github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= 554 | github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU= 555 | github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= 556 | github.com/willf/bitset v1.1.9/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= 557 | github.com/willscott/go-nfs v0.0.2 h1:BaBp1CpGDMooCT6bCgX6h6ZwgPcTMST4yToYZ9byee0= 558 | github.com/willscott/go-nfs v0.0.2/go.mod h1:SvullWeHxr/924WQNbUaZqtluBt2vuZ61g6yAV+xj7w= 559 | github.com/willscott/go-nfs-client v0.0.0-20240104095149-b44639837b00 h1:U0DnHRZFzoIV1oFEZczg5XyPut9yxk9jjtax/9Bxr/o= 560 | github.com/willscott/go-nfs-client v0.0.0-20240104095149-b44639837b00/go.mod h1:Tq++Lr/FgiS3X48q5FETemXiSLGuYMQT2sPjYNPJSwA= 561 | github.com/winfsp/cgofuse v1.5.1-0.20221118130120-84c0898ad2e0 h1:j3un8DqYvvAOqKI5OPz+/RRVhDFipbPKI4t2Uk5RBJw= 562 | github.com/winfsp/cgofuse v1.5.1-0.20221118130120-84c0898ad2e0/go.mod h1:uxjoF2jEYT3+x+vC2KJddEGdk/LU8pRowXmyVMHSV5I= 563 | github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= 564 | github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= 565 | github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a h1:fZHgsYlfvtyqToslyjUt3VOPF4J7aK/3MPcK7xp3PDk= 566 | github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a/go.mod h1:ul22v+Nro/R083muKhosV54bj5niojjWZvU8xrevuH4= 567 | github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 568 | github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 569 | github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 570 | github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= 571 | github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= 572 | github.com/yunify/qingstor-sdk-go/v3 v3.2.0 h1:9sB2WZMgjwSUNZhrgvaNGazVltoFUUfuS9f0uCWtTr8= 573 | github.com/yunify/qingstor-sdk-go/v3 v3.2.0/go.mod h1:KciFNuMu6F4WLk9nGwwK69sCGKLCdd9f97ac/wfumS4= 574 | github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFiw= 575 | github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= 576 | github.com/zeebo/assert v1.1.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= 577 | github.com/zeebo/assert v1.3.1 h1:vukIABvugfNMZMQO1ABsyQDJDTVQbn+LWSMy1ol1h6A= 578 | github.com/zeebo/assert v1.3.1/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= 579 | github.com/zeebo/blake3 v0.2.3 h1:TFoLXsjeXqRNFxSbk35Dk4YtszE/MQQGK10BH4ptoTg= 580 | github.com/zeebo/blake3 v0.2.3/go.mod h1:mjJjZpnsyIVtVgTOSpJ9vmRE4wgDeyt2HU3qXvvKCaQ= 581 | github.com/zeebo/errs v1.3.0 h1:hmiaKqgYZzcVgRL1Vkc1Mn2914BbzB0IBxs+ebeutGs= 582 | github.com/zeebo/errs v1.3.0/go.mod h1:sgbWHsvVuTPHcqJJGQ1WhI5KbWlHYz+2+2C/LSEtCw4= 583 | github.com/zeebo/pcg v1.0.1 h1:lyqfGeWiv4ahac6ttHs+I5hwtH/+1mrhlCtVNQM2kHo= 584 | github.com/zeebo/pcg v1.0.1/go.mod h1:09F0S9iiKrwn9rlI5yjLkmrug154/YRW6KnnXVDM/l4= 585 | go.etcd.io/bbolt v1.3.8 h1:xs88BrvEv273UsB79e0hcVrlUWmS0a8upikMFhSyAtA= 586 | go.etcd.io/bbolt v1.3.8/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= 587 | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= 588 | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= 589 | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 590 | go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 591 | go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= 592 | go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= 593 | go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= 594 | go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 h1:aFJWCqJMNjENlcleuuOkGAPH82y0yULBScfXcIEdS24= 595 | go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1/go.mod h1:sEGXWArGqc3tVa+ekntsN65DmVbVeW+7lTKTjZF3/Fo= 596 | go.opentelemetry.io/otel v1.21.0 h1:hzLeKBZEL7Okw2mGzZ0cc4k/A7Fta0uoPgaJCr8fsFc= 597 | go.opentelemetry.io/otel v1.21.0/go.mod h1:QZzNPQPm1zLX4gZK4cMi+71eaorMSGT3A4znnUvNNEo= 598 | go.opentelemetry.io/otel/metric v1.21.0 h1:tlYWfeo+Bocx5kLEloTjbcDwBuELRrIFxwdQ36PlJu4= 599 | go.opentelemetry.io/otel/metric v1.21.0/go.mod h1:o1p3CA8nNHW8j5yuQLdc1eeqEaPfzug24uvsyIEJRWM= 600 | go.opentelemetry.io/otel/trace v1.21.0 h1:WD9i5gzvoUPuXIXH24ZNBudiarZDKuekPqi/E8fpfLc= 601 | go.opentelemetry.io/otel/trace v1.21.0/go.mod h1:LGbsEB0f9LGjN+OZaQQ26sohbOmiMR+BaslueVtS/qQ= 602 | go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= 603 | go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= 604 | go.uber.org/mock v0.3.0 h1:3mUxI1No2/60yUYax92Pt8eNOEecx2D3lcXZh2NEZJo= 605 | go.uber.org/mock v0.3.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= 606 | goftp.io/server/v2 v2.0.1 h1:H+9UbCX2N206ePDSVNCjBftOKOgil6kQ5RAQNx5hJwE= 607 | goftp.io/server/v2 v2.0.1/go.mod h1:7+H/EIq7tXdfo1Muu5p+l3oQ6rYkDZ8lY7IM5d5kVdQ= 608 | golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k= 609 | golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= 610 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= 611 | golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 612 | golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 613 | golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 614 | golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 615 | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= 616 | golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 617 | golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= 618 | golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= 619 | golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= 620 | golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= 621 | golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= 622 | golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= 623 | golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= 624 | golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= 625 | golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= 626 | golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= 627 | golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= 628 | golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 629 | golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= 630 | golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= 631 | golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= 632 | golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= 633 | golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 634 | golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 635 | golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= 636 | golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= 637 | golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= 638 | golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 h1:hNQpMuAJe5CtcUqCXaWga3FHu+kQvCqcsoVaQgSV60o= 639 | golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08= 640 | golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= 641 | golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= 642 | golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 643 | golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= 644 | golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 645 | golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 646 | golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 647 | golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 648 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= 649 | golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= 650 | golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= 651 | golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= 652 | golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= 653 | golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= 654 | golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= 655 | golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= 656 | golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 657 | golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= 658 | golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 659 | golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= 660 | golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= 661 | golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= 662 | golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= 663 | golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= 664 | golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 665 | golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 666 | golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 667 | golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 668 | golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 669 | golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 670 | golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 671 | golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= 672 | golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= 673 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= 674 | golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 675 | golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 676 | golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 677 | golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 678 | golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 679 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 680 | golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 681 | golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 682 | golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 683 | golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 684 | golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 685 | golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 686 | golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 687 | golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= 688 | golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 689 | golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 690 | golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= 691 | golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 692 | golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= 693 | golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= 694 | golang.org/x/net v0.0.0-20210916014120-12bc252f5db8/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 695 | golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= 696 | golang.org/x/net v0.0.0-20220524220425-1d687d428aca/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= 697 | golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= 698 | golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= 699 | golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= 700 | golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= 701 | golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= 702 | golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= 703 | golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= 704 | golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= 705 | golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= 706 | golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= 707 | golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= 708 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= 709 | golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 710 | golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 711 | golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 712 | golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= 713 | golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= 714 | golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ= 715 | golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o= 716 | golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 717 | golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 718 | golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 719 | golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 720 | golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 721 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 722 | golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 723 | golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 724 | golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 725 | golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 726 | golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 727 | golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 728 | golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 729 | golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= 730 | golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= 731 | golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 732 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 733 | golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 734 | golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 735 | golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 736 | golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 737 | golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 738 | golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 739 | golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 740 | golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 741 | golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 742 | golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 743 | golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 744 | golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 745 | golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 746 | golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 747 | golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 748 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 749 | golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 750 | golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 751 | golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 752 | golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 753 | golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 754 | golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 755 | golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 756 | golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 757 | golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 758 | golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 759 | golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 760 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 761 | golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 762 | golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 763 | golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 764 | golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 765 | golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 766 | golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 767 | golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 768 | golang.org/x/sys v0.0.0-20220408201424-a24fb2fb8a0f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 769 | golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 770 | golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 771 | golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 772 | golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 773 | golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 774 | golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 775 | golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 776 | golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 777 | golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 778 | golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 779 | golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 780 | golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 781 | golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 782 | golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= 783 | golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= 784 | golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= 785 | golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= 786 | golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= 787 | golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= 788 | golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= 789 | golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= 790 | golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= 791 | golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= 792 | golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= 793 | golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= 794 | golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= 795 | golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= 796 | golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= 797 | golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 798 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 799 | golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 800 | golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= 801 | golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 802 | golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 803 | golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= 804 | golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= 805 | golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 806 | golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 807 | golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= 808 | golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= 809 | golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= 810 | golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= 811 | golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= 812 | golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 813 | golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 814 | golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 815 | golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 816 | golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= 817 | golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= 818 | golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 819 | golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 820 | golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= 821 | golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 822 | golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 823 | golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 824 | golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= 825 | golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 826 | golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 827 | golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= 828 | golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 829 | golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 830 | golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= 831 | golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 832 | golang.org/x/tools v0.0.0-20190829051458-42f498d34c4d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 833 | golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 834 | golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 835 | golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 836 | golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 837 | golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 838 | golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 839 | golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= 840 | golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 841 | golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 842 | golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 843 | golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 844 | golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 845 | golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 846 | golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 847 | golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 848 | golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 849 | golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= 850 | golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= 851 | golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= 852 | golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= 853 | golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 854 | golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 855 | golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 856 | golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 857 | golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= 858 | golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 859 | golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 860 | golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= 861 | golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= 862 | golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= 863 | golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= 864 | golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= 865 | golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= 866 | golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 867 | golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 868 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 869 | golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= 870 | google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= 871 | google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= 872 | google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 873 | google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= 874 | google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 875 | google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 876 | google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= 877 | google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 878 | google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 879 | google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 880 | google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 881 | google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= 882 | google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= 883 | google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= 884 | google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= 885 | google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= 886 | google.golang.org/api v0.156.0 h1:yloYcGbBtVYjLKQe4enCunxvwn3s2w/XPrrhVf6MsvQ= 887 | google.golang.org/api v0.156.0/go.mod h1:bUSmn4KFO0Q+69zo9CNIDp4Psi6BqM0np0CbzKRSiSY= 888 | google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= 889 | google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 890 | google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 891 | google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= 892 | google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= 893 | google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= 894 | google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= 895 | google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= 896 | google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= 897 | google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 898 | google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 899 | google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 900 | google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= 901 | google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 902 | google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= 903 | google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= 904 | google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 905 | google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 906 | google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 907 | google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 908 | google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 909 | google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= 910 | google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= 911 | google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 912 | google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 913 | google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 914 | google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 915 | google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 916 | google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 917 | google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 918 | google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= 919 | google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= 920 | google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= 921 | google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= 922 | google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 923 | google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 924 | google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= 925 | google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 h1:nz5NESFLZbJGPFxDT/HCn+V1mZ8JGNoY4nUpmW/Y2eg= 926 | google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917/go.mod h1:pZqR+glSb11aJ+JQcczCvgf47+duRuzNSKqE8YAQnV0= 927 | google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 h1:s1w3X6gQxwrLEpxnLd/qXTVLgQE2yXwaOaoa6IlY/+o= 928 | google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0/go.mod h1:CAny0tYF+0/9rmDB9fahA9YLzX3+AEVl1qXbv5hhj6c= 929 | google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 h1:gphdwh0npgs8elJ4T6J+DQJHPVF7RsuJHCfwztUb4J4= 930 | google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1/go.mod h1:daQN87bsDqDoe316QbbvX60nMoJQa4r6Ds0ZuoAe5yA= 931 | google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= 932 | google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= 933 | google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= 934 | google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= 935 | google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= 936 | google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 937 | google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 938 | google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= 939 | google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= 940 | google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= 941 | google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 942 | google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= 943 | google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= 944 | google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= 945 | google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= 946 | google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= 947 | google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= 948 | google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= 949 | google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= 950 | google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= 951 | google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 952 | google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 953 | google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= 954 | google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= 955 | google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= 956 | google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= 957 | google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= 958 | google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= 959 | google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= 960 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 961 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 962 | gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 963 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= 964 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= 965 | gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= 966 | gopkg.in/ini.v1 v1.42.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= 967 | gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= 968 | gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= 969 | gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= 970 | gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= 971 | gopkg.in/validator.v2 v2.0.1 h1:xF0KWyGWXm/LM2G1TrEjqOu4pa6coO9AlWSf3msVfDY= 972 | gopkg.in/validator.v2 v2.0.1/go.mod h1:lIUZBlB3Im4s/eYp39Ry/wkR02yOPhZ9IwIRBjuPuG8= 973 | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 974 | gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 975 | gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= 976 | gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= 977 | gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 978 | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= 979 | gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 980 | honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 981 | honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 982 | honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 983 | honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 984 | honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= 985 | honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= 986 | honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= 987 | rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= 988 | rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= 989 | rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= 990 | storj.io/common v0.0.0-20240111121419-ecae1362576c h1:pdNDgFEX2EWmjZLflwQUPKGsq8GYcrdUhihHzgSkutw= 991 | storj.io/common v0.0.0-20240111121419-ecae1362576c/go.mod h1:s3e2Lyg2jCwqL9TLFmesDgoZBPQIByBiKZ+AJOI9qvc= 992 | storj.io/drpc v0.0.33 h1:yCGZ26r66ZdMP0IcTYsj7WDAUIIjzXk6DJhbhvt9FHI= 993 | storj.io/drpc v0.0.33/go.mod h1:vR804UNzhBa49NOJ6HeLjd2H3MakC1j5Gv8bsOQT6N4= 994 | storj.io/infectious v0.0.2 h1:rGIdDC/6gNYAStsxsZU79D/MqFjNyJc1tsyyj9sTl7Q= 995 | storj.io/infectious v0.0.2/go.mod h1:QEjKKww28Sjl1x8iDsjBpOM4r1Yp8RsowNcItsZJ1Vs= 996 | storj.io/picobuf v0.0.2-0.20230906122608-c4ba17033c6c h1:or/DtG5uaZpzimL61ahlgAA+MTYn/U3txz4fe+XBFUg= 997 | storj.io/picobuf v0.0.2-0.20230906122608-c4ba17033c6c/go.mod h1:JCuc3C0gzCJHQ4J6SOx/Yjg+QTpX0D+Fvs5H46FETCk= 998 | storj.io/uplink v1.12.2 h1:lqgOsMhUI2hP5N1twU9zmvhlu6rgyCsKg/MrnzSZGjk= 999 | storj.io/uplink v1.12.2/go.mod h1:FijbSlvLWgzDg/gYyE+rVxTNOlQhCGTn7qPsbFHgeQU= 1000 | -------------------------------------------------------------------------------- /osx-arm-docker-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e CGO_ENABLE=0 -e GOOS=darwin -e GOARCH=arm64 golang:latest go build -tags "full" -ldflags="-s -w" -v 4 | -------------------------------------------------------------------------------- /osx-docker-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e CGO_ENABLE=0 -e GOOS=darwin -e GOARCH=amd64 golang:latest go build -tags "full" -ldflags="-s -w" -v 4 | -------------------------------------------------------------------------------- /windows-docker-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e CGO_ENABLE=0 -e GOOS=windows -e GOARCH=amd64 golang:latest go build -tags "full" -ldflags="-s -w" -v 4 | --------------------------------------------------------------------------------