Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/syncthing/syncthing
/ must
Function
must
lib/model/testos_test.go:15–20 ·
view source on GitHub ↗
(f fatal, err error)
Source
from the content-addressed store, hash-verified
13
}
14
15
func
must(f fatal, err error) {
16
f.Helper()
17
if
err != nil {
18
f.Fatal(err)
19
}
20
}
21
22
func
mustV[T any](v T, err error) T {
23
if
err != nil {
Callers
15
testCurrentFolderFile
Method · 0.85
testCompletion
Method · 0.85
addDevice2
Function · 0.85
writeFile
Function · 0.85
writeFilePerm
Function · 0.85
TestRecvOnlyRevertDeletes
Function · 0.85
TestRecvOnlyRevertNeeds
Function · 0.85
TestRecvOnlyUndoChanges
Function · 0.85
TestRecvOnlyDeletedRemoteDrop
Function · 0.85
TestRecvOnlyRemoteUndoChanges
Function · 0.85
TestRecvOnlyRevertOwnID
Function · 0.85
TestRecvOnlyLocalChangeDoesNotCauseConflict
Function · 0.85
Calls
2
Helper
Method · 0.80
Fatal
Method · 0.80
Tested by
no test coverage detected