MCPcopy Create free account
hub / github.com/containers/image / CreateBigFileTemp

Function CreateBigFileTemp

internal/tmpdir/tmpdir.go:38–40  ·  view source on GitHub ↗
(sys *types.SystemContext, name string)

Source from the content-addressed store, hash-verified

36}
37
38func CreateBigFileTemp(sys *types.SystemContext, name string) (*os.File, error) {
39 return os.CreateTemp(temporaryDirectoryForBigFiles(sys), prefix+name)
40}
41
42func MkDirBigFileTemp(sys *types.SystemContext, name string) (string, error) {
43 return os.MkdirTemp(temporaryDirectoryForBigFiles(sys), prefix+name)

Callers 4

GetBlobMethod · 0.92
ComputeBlobInfoFunction · 0.92
NewReaderFromStreamFunction · 0.92
TestCreateBigFileTempFunction · 0.85

Calls 1

Tested by 1

TestCreateBigFileTempFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…