MCPcopy Index your code
hub / github.com/syncthing/syncthing / encryptFileInfos

Function encryptFileInfos

lib/protocol/encryption.go:281–285  ·  view source on GitHub ↗
(keyGen *KeyGenerator, files []FileInfo, folderKey *[keySize]byte)

Source from the content-addressed store, hash-verified

279}
280
281func encryptFileInfos(keyGen *KeyGenerator, files []FileInfo, folderKey *[keySize]byte) {
282 for i, fi := range files {
283 files[i] = encryptFileInfo(keyGen, fi, folderKey)
284 }
285}
286
287// encryptFileInfo encrypts a FileInfo and wraps it into a new fake FileInfo
288// with an encrypted name.

Callers 2

IndexMethod · 0.85
IndexUpdateMethod · 0.85

Calls 1

encryptFileInfoFunction · 0.85

Tested by

no test coverage detected