func (f *file) Stat(ctx context.Context) (xrdfs.EntryStat, error) {
	var resp stat.DefaultResponse
	newSessionID, err := f.fs.c.sendSession(ctx, f.sessionID, &resp, &stat.Request{FileHandle: f.handle})
	if err != nil {
		return xrdfs.EntryStat{}, err
	}
	f.info = &resp.EntryStat
	f.sessionID = newSessionID
	return resp.EntryStat, nil
}
// Stat fetches the stat info of this file from the XRootD server.
// Note that Stat re-fetches value returned by the Info, so after the call to Stat
// calls to Info may return different value than before.
Stat fetches the stat info of this file from the XRootD server.
Note that Stat re-fetches value returned by the Info, so after the call to Stat
calls to Info may return different value than before.
// Stat fetches the stat info of this file from the XRootD server . // Note that Stat re - fetches value returned by the Info so after the call to Stat // calls to Info may return different value than before .
func (f *file) Stat(ctx context.Context) (xrdfs.EntryStat, error) {
	var resp stat.DefaultResponse
	newSessionID, err := f.fs.c.sendSession(ctx, f.sessionID, &resp, &stat.Request{FileHandle: f.handle})
	if err != nil {
		return xrdfs.EntryStat{}, err
	}
	f.info = &resp.EntryStat
	f.sessionID = newSessionID
	return resp.EntryStat, nil
}
func ( f * file ) Stat ( ctx context . Context ) ( xrdfs . EntryStat , error ) { var resp stat . DefaultResponse newSessionID , err := f . fs . c . sendSession ( ctx , f . sessionID , & resp , & stat . Request { FileHandle : f . handle } ) if err != nil { return xrdfs . EntryStat { } , err } f . info = & resp . EntryStat f . sessionID = newSessionID return resp . EntryStat , nil }
Stat fetches the stat info of this file from the XRootD server.
Stat fetches the stat info of this file from the XRootD server .