Pop-Up Thingie
Sidebar
Home
Synchronet BBS Software
Forum
Downloads
Files
Dark
Log in
Username
Password
Sidebar
Forum
DOVE-Net
Synchronet Programming
exec/load/file_size.js
From
Rob Swindell
to
Git commit to main/sbbs/master
on Wednesday, April 07, 2021 00:08:27
0
0
https://gitlab.synchro.net/main/sbbs/-/commit/5e6b0ef825bb7655c16048a3
Modified Files:
exec/load/file_size.js
Log Message:
Add optional/better format to file_size_str() by passing a precision as 3rd arg
Returns a floating-point formatted size estimate more in-line with my preference (e.g. 17.0G instead of 17,000M).
From
Rob Swindell
to
Git commit to main/sbbs/master
on Thursday, April 08, 2021 02:32:50
0
0
https://gitlab.synchro.net/main/sbbs/-/commit/c1fc6708515292d9e2dd918d
Modified Files:
exec/load/file_size.js
Log Message:
When bytes is falsey and size is > 0 but < 1000*1024 don't return "0K"
Instead, return the fractional size in KB's with 2 digits of precision.
Fixed up some of the variable names.
From
Rob Swindell
to
Git commit to main/sbbs/master
on Sunday, April 11, 2021 21:01:34
0
0
https://gitlab.synchro.net/main/sbbs/-/commit/6f2cbca95c5d25c45c1ef289
Modified Files:
exec/load/file_size.js
Log Message:
Revert back to whole numbers only for the comma-formatted K output
but round-up non-zero values to 1K.
From
Rob Swindell
to
Git commit to main/sbbs/master
on Monday, April 12, 2021 00:39:40
0
0
https://gitlab.synchro.net/main/sbbs/-/commit/be6e64a8accd30670c97fb77
Modified Files:
exec/load/file_size.js
Log Message:
Use Math.round() for sizes > 1024 and < 1024000
From
Rob Swindell
to
Git commit to main/sbbs/master
on Sunday, April 03, 2022 15:54:37
0
0
https://gitlab.synchro.net/main/sbbs/-/commit/066327b75d7bb16a350b1111
Modified Files:
exec/load/file_size.js
Log Message:
Remove the 'B' suffix in file_size_float() output
To match behavior of changed xpdev->byte_estimated_to_str().
If the caller wants a 'B' suffix, they can add it.
From
Rob Swindell (on Debian Linux)
to
Git commit to main/sbbs/master
on Wednesday, April 03, 2024 22:53:00
0
0
https://gitlab.synchro.net/main/sbbs/-/commit/a230a181ba5492fa971e4fc6
Modified Files:
exec/load/file_size.js
Log Message:
Display file sizes as signed values, so -1 (non-existent file) is clear
Who's Online
Recent Visitors
Nate Mcmullin
Friday, January 31, 2025 15:08:12
from
Wethersfield, Ct
via
Telnet
Acab
Friday, January 31, 2025 14:36:42
from
Belgrade R.Srbija
via
Telnet
Finglonger
Friday, January 31, 2025 14:16:46
from
Pg Canada
via
Telnet
Finglonger
Friday, January 31, 2025 14:02:32
from
Pg Canada
via
Telnet
System Info
Sysop:
digital man
Location:
Riverside County, California
Users:
1,026
Nodes:
17 (
1
/
16
)
Uptime:
00:38:30
Calls:
502,188
Calls today:
25
Files:
104,439
D/L today:
871 files
(991M bytes)
Messages:
299,395
Posted today:
1