|
54f87951c1
|
In DirectorySize() filepath.Walk was replaced by ioutil.ReadDir to shorten the code.
|
2023-05-26 17:22:21 +04:00 |
|
|
c9aa7e3715
|
Subtract a size of directory's inode itself.
|
2023-03-11 23:45:19 +04:00 |
|
|
4a49bf30a3
|
Version up to 23.8.0. Changed arav.top to arav.su. Fixed templates. Deleted pre-compiled ones.
|
2023-02-23 18:16:06 +04:00 |
|
|
3834339da7
|
To MainSite() added an Yggdrassil address.
|
2022-08-01 01:09:43 +04:00 |
|
|
1cb4ba8c5c
|
Added my little whining on always empty scheme in a comment on NetworkType() func.
|
2022-02-11 03:06:40 +04:00 |
|
|
d56620ea9e
|
Added onion link.
|
2022-02-11 03:03:31 +04:00 |
|
|
ffe60bae85
|
Host can have :port attached, so it is better to check if string contains rather ends with a particular TLD.
|
2022-02-08 19:00:37 +04:00 |
|
|
0c05ffeef6
|
Add a space between size and unit.
|
2022-02-08 01:52:27 +04:00 |
|
|
f7390b0763
|
Wrap an error message. Return 0 size on error.
|
2022-02-08 00:24:57 +04:00 |
|
|
36b0dc7b4d
|
DirectorySize() func to get size of all files inside.
|
2022-02-07 22:17:40 +04:00 |
|
|
9955e3cd28
|
Updated ConvertFileSize(). Added TiB suffix.
|
2022-02-07 04:48:33 +04:00 |
|
|
db361bb509
|
Prefix replaced by Suffix. Added NetworkType().
|
2022-02-07 04:48:00 +04:00 |
|
|
8341fba20f
|
Utility for my infrastructure. Added MainSite function.
|
2022-02-06 15:23:32 +04:00 |
|
|
71c3eb56b6
|
Utility function to convert size ib bytes to its corresponding biggest unit.
|
2022-02-06 03:00:32 +04:00 |
|