File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ func Version() string {
7171}
7272
7373func FormatBytes (length int64 ) string {
74- return byteformats .FormatBytes (uint64 (length ))
74+ return byteformats .FormatKBytes (uint64 (length ))
7575}
7676
7777func FormatMemoryBytes (length int64 ) string {
78- return byteformats .FormatMemoryBytes (uint64 (length ))
78+ return byteformats .FormatMemoryKBytes (uint64 (length ))
7979}
8080
8181func FormatDuration (duration int64 ) string {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ require (
3232 github.com/sagernet/gomobile v0.1.11
3333 github.com/sagernet/gvisor v0.0.0-20250811.0-sing-box-mod.1
3434 github.com/sagernet/quic-go v0.58.0-sing-box-mod.1
35- github.com/sagernet/sing v0.8.0-beta.8
35+ github.com/sagernet/sing v0.8.0-beta.9
3636 github.com/sagernet/sing-mux v0.3.3
3737 github.com/sagernet/sing-quic v0.6.0-beta.8
3838 github.com/sagernet/sing-shadowsocks v0.2.8
Original file line number Diff line number Diff line change @@ -210,8 +210,8 @@ github.com/sagernet/nftables v0.3.0-beta.4/go.mod h1:OQXAjvjNGGFxaTgVCSTRIhYB5/l
210210github.com/sagernet/quic-go v0.58.0-sing-box-mod.1 h1:E9yZrU0ZxSiW5RrGUnFZeI02EIMdAAv0RxdoxXCqZyk =
211211github.com/sagernet/quic-go v0.58.0-sing-box-mod.1 /go.mod h1:OqILvS182CyOol5zNNo6bguvOGgXzV459+chpRaUC+4 =
212212github.com/sagernet/sing v0.6.9 /go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak =
213- github.com/sagernet/sing v0.8.0-beta.8 h1:hUo0wZ2HGTieV1flEIai96HFhF34mMHVnduRqJHQvxg =
214- github.com/sagernet/sing v0.8.0-beta.8 /go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak =
213+ github.com/sagernet/sing v0.8.0-beta.9 h1:LTFjTYiEr6A5NZ04tbrjWLb0T7unSmEJX2ksJkfI1lY =
214+ github.com/sagernet/sing v0.8.0-beta.9 /go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak =
215215github.com/sagernet/sing-mux v0.3.3 h1:YFgt9plMWzH994BMZLmyKL37PdIVaIilwP0Jg+EcLfw =
216216github.com/sagernet/sing-mux v0.3.3 /go.mod h1:pht8iFY4c9Xltj7rhVd208npkNaeCxzyXCgulDPLUDA =
217217github.com/sagernet/sing-quic v0.6.0-beta.8 h1:Y0P8WTqWpfg80rLFsDfF22QumM+HEAjRQ2o+8Dv+vDs =
You can’t perform that action at this time.
0 commit comments