Skip to content
Snippets Groups Projects
Commit a224ea62 authored by Steven Murray's avatar Steven Murray
Browse files

cta/CTA#139 cta af ls --vid XXXXX command times out if there are many files on a tape

Moved the path column of the output of the "cta archivefile ls"
command to the very end of the line.  This was done because the
path column is the only real random width column.
parent 11e4e126
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ XrdSfsXferSize ListArchiveFilesCmd::read(XrdSfsFileOffset offset, char *buffer,
if(m_displayHeader) {
m_readBuffer += "\x1b[31;1mid copy no vid fseq block id instance disk id size checksum type checksum value "
"storage class owner group path creation time\x1b[0m\n";
"storage class owner group creation time path\x1b[0m\n";
}
}
......@@ -137,8 +137,8 @@ void ListArchiveFilesCmd::refreshReadBuffer() {
archiveFile.storageClass + " " +
archiveFile.diskFileInfo.owner + " " +
archiveFile.diskFileInfo.group + " " +
archiveFile.diskFileInfo.path + " " +
std::to_string((unsigned long long) archiveFile.creationTime) + "\n";
std::to_string((unsigned long long) archiveFile.creationTime) + " " +
archiveFile.diskFileInfo.path + "\n";
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment