Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/restic/restic
/ Insert
Method
Insert
internal/restic/idset.go:28–30 ·
view source on GitHub ↗
Insert adds id to the set.
(id ID)
Source
from the content-addressed store, hash-verified
26
27
// Insert adds id to the set.
28
func
(s IDSet) Insert(id ID) {
29
s[id] =
struct
{}{}
30
}
31
32
// Delete removes id from the set.
33
func
(s IDSet) Delete(id ID) {
Callers
15
generateRandomFiles
Function · 0.95
list
Method · 0.95
List
Method · 0.95
delayedList
Function · 0.95
listFiles
Function · 0.95
findPacksForBlobs
Function · 0.95
RepairIndex
Function · 0.95
decidePackAction
Function · 0.95
ReadPacks
Method · 0.95
Packs
Method · 0.95
TestRepositoryForAllIndexes
Function · 0.95
listPacks
Function · 0.95
Calls
no outgoing calls
Tested by
14
generateRandomFiles
Function · 0.76
listFiles
Function · 0.76
findPacksForBlobs
Function · 0.76
TestRepositoryForAllIndexes
Function · 0.76
listPacks
Function · 0.76
TestIndexPacks
Function · 0.76
TestEachByPackIgnoes
Function · 0.76
TestMergeIndex
Function · 0.76
TestParallelRemove
Function · 0.76
TestIDSet
Function · 0.76
listPacks
Function · 0.76
listTreePacks
Function · 0.76