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

Commit2a8ab20

Browse files
committed
ignore vcs directories
1 parent54701c2 commit2a8ab20

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎Coder-Desktop/Coder-Desktop/Views/FileSync/FileSyncSessionModal.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ struct FileSyncSessionModal<VPN: VPNService, FS: FileSyncDaemon>: View {
102102
tryawait fileSync.createSession(
103103
arg:.init(
104104
alpha:.init(path: localPath, protocolKind:.local),
105-
beta:.init(path: remotePath, protocolKind:.ssh(host:remotePath))
105+
beta:.init(path: remotePath, protocolKind:.ssh(host:remoteHostname))
106106
)
107107
)
108108
} catch{

‎Coder-Desktop/VPNLib/FileSync/FileSyncManagement.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ public extension MutagenDaemon {
3333
req.specification=.with{ specin
3434
spec.alpha= arg.alpha.mutagenURL
3535
spec.beta= arg.beta.mutagenURL
36-
// TODO: Ingest a config from somewhere
37-
spec.configuration=Synchronization_Configuration()
36+
// TODO: Ingest configs from somewhere
37+
spec.configuration=.with{
38+
// ALWAYS ignore VCS directories for now
39+
// https://mutagen.io/documentation/synchronization/version-control-systems/
40+
$0.ignoreVcsmode=.ignore
41+
}
3842
spec.configurationAlpha=Synchronization_Configuration()
3943
spec.configurationBeta=Synchronization_Configuration()
4044
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp