func (fs *fileSystem) Open(ctx context.Context, path string, mode xrdfs.OpenMode, options xrdfs.OpenOptions) (xrdfs.File, error) {
	var resp open.Response
	server, err := fs.c.Send(ctx, &resp, open.NewRequest(path, mode, options))
	if err != nil {
		return nil, err
	}
	return &file{fs, resp.FileHandle, resp.Compression, resp.Stat, server}, nil
}
// Open returns the file handle for a file together with the compression and the stat info.
Open returns the file handle for a file together with the compression and the stat info.
// Open returns the file handle for a file together with the compression and the stat info .
func (fs *fileSystem) Open(ctx context.Context, path string, mode xrdfs.OpenMode, options xrdfs.OpenOptions) (xrdfs.File, error) {
	var resp open.Response
	server, err := fs.c.Send(ctx, &resp, open.NewRequest(path, mode, options))
	if err != nil {
		return nil, err
	}
	return &file{fs, resp.FileHandle, resp.Compression, resp.Stat, server}, nil
}
func ( fs * fileSystem ) Open ( ctx context . Context , path string , mode xrdfs . OpenMode , options xrdfs . OpenOptions ) ( xrdfs . File , error ) { var resp open . Response server , err := fs . c . Send ( ctx , & resp , open . NewRequest ( path , mode , options ) ) if err != nil { return nil , err } return & file { fs , resp . FileHandle , resp . Compression , resp . Stat , server } , nil }
Open returns the file handle for a file together with the compression and the stat info.
Open returns the file handle for a file together with the compression and the stat info .