src/client/pfs.go
func (c APIClient) PutFile(repoName string, commitID string, path string, reader io.Reader) (_ int, retErr error) {
	pfc, err := c.newOneoffPutFileClient()
	if err != nil {
		return 0, err
	}
	return pfc.PutFile(repoName, commitID, path, reader)
}
func (c APIClient) PutFile(repoName string, commitID string, path string, reader io.Reader) (_ int, retErr error) {
	pfc, err := c.newOneoffPutFileClient()
	if err != nil {
		return 0, err
	}
	return pfc.PutFile(repoName, commitID, path, reader)
}
// PutFile writes a file to PFS from a reader.