Skip to content

Commit 777e280

Browse files
authored
If size is empty (because upload not finished), show dash (#114)
Example (file named "6" is being written): ``` [onno@mylaptop ~/git/SpiderScripts] % ada/ada --api https://dcacheview.grid.surfsara.nl:22880/api/v1 --longlist /pnfs/grid.sara.nl/data/users/onno/tape/test2/ 5 14 2025-09-03 14:05 UTC tape ONLINE_AND_NEARLINE 6 - 2025-09-03 14:07 UTC tape NONE ```
1 parent 7acaa70 commit 777e280

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ada/ada

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,7 +2404,7 @@ api_call () {
24042404
| jq -r '.children | .[]
24052405
| [ .fileName ,
24062406
.fileType ,
2407-
.size ,
2407+
(.size // "-") ,
24082408
(.mtime / 1000 | strftime("%Y-%m-%d %H:%M UTC")) ,
24092409
if .targetQos then (.currentQos + "→" + .targetQos) else .currentQos end ,
24102410
.fileLocality ]

0 commit comments

Comments
 (0)