Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudfoundry/multiapps-cli-plugin
/ generateHash
Function
generateHash
util/file_splitter.go:17–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
const
MaxFileChunkCount = 50
16
17
func
generateHash() string {
18
return
uuid.New()
19
}
20
21
// SplitFile ...
22
func
SplitFile(filePath string, fileChunkSizeInMB uint64) ([]*os.File, error) {
Callers
1
SplitFile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected