MCPcopy Create free account
hub / github.com/DAddYE/igo / AddFile

Method AddFile

token/position.go:353–373  ·  view source on GitHub ↗

AddFile adds a new file with a given filename, base offset, and file size to the file set s and returns the file. Multiple files may have the same name. The base offset must not be smaller than the FileSet's Base(), and size must not be negative. As a special case, if a negative base is provided, th

(filename string, base, size int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected