SetPath sets the file's path.
(p string)
| 953 | |
| 954 | // SetPath sets the file's path. |
| 955 | func (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. |
| 960 | func (f *File) SetReader(r io.ReadCloser) { |
no outgoing calls