diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-09 17:52:41 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-09 17:54:32 +0100 |
commit | 7badcc1f952c085c6a73e2dbe3aa5a460d7be8b0 (patch) | |
tree | 0b6cdc9c1895329946df9f21508ee1539c2cfc57 /adapter/protocol | |
parent | 431fd101705146f2d4baaa1a4a139adf356188ab (diff) | |
download | chawan-7badcc1f952c085c6a73e2dbe3aa5a460d7be8b0.tar.gz |
twtstr: misc refactorings
* move out half width <-> full width converters * snake_case -> camelCase * improve toScreamingSnakeCase slicing
Diffstat (limited to 'adapter/protocol')
-rw-r--r-- | adapter/protocol/dirlist.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/protocol/dirlist.nim b/adapter/protocol/dirlist.nim index 33dcc6ab..d0933fed 100644 --- a/adapter/protocol/dirlist.nim +++ b/adapter/protocol/dirlist.nim @@ -54,7 +54,7 @@ func makeDirlist*(items: seq[DirlistItem]): string = line &= ' ' line &= htmlEscape(item.modified) if item.t == ITEM_FILE: - line &= ' ' & convert_size(item.nsize) + line &= ' ' & convertSize(item.nsize) elif item.t == ITEM_LINK: line &= " -> " & htmlEscape(item.linkto) outs &= line & '\n' |