MCPcopy Create free account
hub / github.com/OpenDiablo2/HellSpawner / CreateNewFile

Method CreateNewFile

hscommon/hsproject/project.go:305–341  ·  view source on GitHub ↗

CreateNewFile creates a new file

(fileType hsfiletypes.FileType, path *hscommon.PathEntry)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

onNewFontClickedMethod · 0.80

Calls 10

GetFileStructureMethod · 0.95
RenameFileMethod · 0.95
NewFileFunction · 0.92
getNextUniqueNewPathFunction · 0.85
getMarshallerByTypeFunction · 0.85
FileExtensionMethod · 0.80
WriteFileMethod · 0.80
MarshalMethod · 0.80
logErrFunction · 0.70

Tested by

no test coverage detected