Thanks, Andy!
For our use case, we want to replace the equivalent call in CASTOR, which returns this struct:
struct Cns_filestatcs {
u_signed64 fileid;
mode_t filemode;
int nlink; /* number of files in a directory */
uid_t uid;
gid_t gid;
u_signed64 filesize;
time_t atime; /* last access to file */
time_t mtime; /* last file modification */
time_t ctime; /* last metadata modification */
short fileclass;
char status; /* ' ' --> online, 'm' --> migrated */
char csumtype[3];
char csumvalue[CA_MAXCKSUMLEN+1];
};
(We don't expect an identical struct from DirList()
, this is just for your reference).
If there is no checksum, csumtype
will be NONE and csumvalue
is empty.
CASTOR does not have the case of multiple checksums but EOS+CTA does. I suppose the simplest solution would be to return all the checksums as an array of (type,value) pairs.
This is required for the COMPASS experiment which will migrate to CTA around 3 months from now.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1