MCPcopy
hub / github.com/gofiber/fiber / SetPath

Method SetPath

client/request.go:955–957  ·  view source on GitHub ↗

SetPath sets the file's path.

(p string)

Source from the content-addressed store, hash-verified

953
954// SetPath sets the file's path.
955func (f *File) SetPath(p string) {
956 f.path = p
957}
958
959// SetReader sets the file's reader, which will be closed in the parserBody hook.
960func (f *File) SetReader(r io.ReadCloser) {

Calls

no outgoing calls