func (f file) CloseVerify(ctx context.Context, size int64) error {
	newSessionID, err := f.fs.c.sendSession(ctx, f.sessionID, nil, &xrdclose.Request{Handle: f.handle, Size: size})
	if err != nil {
		return err
	}
	f.sessionID = newSessionID
	return nil
}
// CloseVerify closes the file and checks whether the file has the provided size.
// A zero size suppresses the verification.
CloseVerify closes the file and checks whether the file has the provided size.
A zero size suppresses the verification.
// CloseVerify closes the file and checks whether the file has the provided size . // A zero size suppresses the verification .
func (f file) CloseVerify(ctx context.Context, size int64) error {
	newSessionID, err := f.fs.c.sendSession(ctx, f.sessionID, nil, &xrdclose.Request{Handle: f.handle, Size: size})
	if err != nil {
		return err
	}
	f.sessionID = newSessionID
	return nil
}
func ( f file ) CloseVerify ( ctx context . Context , size int64 ) error { newSessionID , err := f . fs . c . sendSession ( ctx , f . sessionID , nil , & xrdclose . Request { Handle : f . handle , Size : size } ) if err != nil { return err } f . sessionID = newSessionID return nil }
CloseVerify closes the file and checks whether the file has the provided size.
CloseVerify closes the file and checks whether the file has the provided size .