Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d8c713

Browse files
committed
chore: add mutagen gRPC client
1 parente8e4004 commit9d8c713

File tree

55 files changed

+7945
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+7945
-102
lines changed

‎.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
nix/create-dmg/package-lock.json-diff
1+
**/*.pb.swiftlinguist-generated=true
2+
**/*.grpc.swiftlinguist-generated=true

‎Coder-Desktop/VPNLib/FileSync/MutagenSDK/filesystem_behavior_probe_mode.pb.swift

Lines changed: 109 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
* This file was taken from
3+
* https://github.com/mutagen-io/mutagen/tree/v0.18.1/pkg/filesystem/behavior/probe_mode.proto
4+
*
5+
* MIT License
6+
*
7+
* Copyright (c) 2016-present Docker, Inc.
8+
*
9+
* Permission is hereby granted, free of charge, to any person obtaining a copy
10+
* of this software and associated documentation files (the "Software"), to deal
11+
* in the Software without restriction, including without limitation the rights
12+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13+
* copies of the Software, and to permit persons to whom the Software is
14+
* furnished to do so, subject to the following conditions:
15+
*
16+
* The above copyright notice and this permission notice shall be included in all
17+
* copies or substantial portions of the Software.
18+
*
19+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25+
* SOFTWARE.
26+
*/
27+
28+
syntax="proto3";
29+
30+
packagebehavior;
31+
32+
optiongo_package="github.com/mutagen-io/mutagen/pkg/filesystem/behavior";
33+
34+
// ProbeMode specifies the mode for filesystem probing.
35+
enumProbeMode {
36+
// ProbeMode_ProbeModeDefault represents an unspecified probe mode. It
37+
// should be converted to one of the following values based on the desired
38+
// default behavior.
39+
ProbeModeDefault=0;
40+
// ProbeMode_ProbeModeProbe specifies that filesystem behavior should be
41+
// determined using temporary files or, if possible, a "fast-path" mechanism
42+
// (such as filesystem format detection) that provides quick but certain
43+
// determination of filesystem behavior.
44+
ProbeModeProbe=1;
45+
// ProbeMode_ProbeModeAssume specifies that filesystem behavior should be
46+
// assumed based on the underlying platform. This is not as accurate as
47+
// ProbeMode_ProbeModeProbe.
48+
ProbeModeAssume=2;
49+
}

‎Coder-Desktop/VPNLib/FileSync/MutagenSDK/selection_selection.pb.swift

Lines changed: 119 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* This file was taken from
3+
* https://github.com/mutagen-io/mutagen/tree/v0.18.1/pkg/selection/selection.proto
4+
*
5+
* MIT License
6+
*
7+
* Copyright (c) 2016-present Docker, Inc.
8+
*
9+
* Permission is hereby granted, free of charge, to any person obtaining a copy
10+
* of this software and associated documentation files (the "Software"), to deal
11+
* in the Software without restriction, including without limitation the rights
12+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13+
* copies of the Software, and to permit persons to whom the Software is
14+
* furnished to do so, subject to the following conditions:
15+
*
16+
* The above copyright notice and this permission notice shall be included in all
17+
* copies or substantial portions of the Software.
18+
*
19+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25+
* SOFTWARE.
26+
*/
27+
28+
syntax="proto3";
29+
30+
packageselection;
31+
32+
optiongo_package="github.com/mutagen-io/mutagen/pkg/selection";
33+
34+
// Selection encodes a selection mechanism that can be used to select a
35+
// collection of sessions. It should have exactly one member set.
36+
messageSelection {
37+
// All, if true, indicates that all sessions should be selected.
38+
boolall=1;
39+
// Specifications is a list of session specifications. Each element may be
40+
// either a session identifier or name (or a prefix thereof). If non-empty,
41+
// it indicates that these specifications should be used to select sessions.
42+
repeatedstringspecifications=2;
43+
// LabelSelector is a label selector specification. If present (non-empty),
44+
// it indicates that this selector should be used to select sessions.
45+
stringlabelSelector=3;
46+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp