src/client/pfs.go
func (w *PutObjectWriteCloserAsync) Object() (*pfs.Object, error) {
	select {
	case err := <-w.errChan:
		if err != nil {
			return nil, grpcutil.ScrubGRPC(err)
		}
		return w.object, nil
	default:
		return nil, fmt.Errorf("attempting to get object before closing object writer")
	}
}
func (w *PutObjectWriteCloserAsync) Object() (*pfs.Object, error) {
	select {
	case err := <-w.errChan:
		if err != nil {
			return nil, grpcutil.ScrubGRPC(err)
		}
		return w.object, nil
	default:
		return nil, fmt.Errorf("attempting to get object before closing object writer")
	}
}
// Object gets the pfs object for this writer.
// This can only be called when the writer is closed (the put object
// call is complete)