Files
EdgeAPI/internal/db/utils/disk_test.go
GoEdgeLab 5a17ae9d79 v1.4.1
2024-07-27 14:15:25 +08:00

16 lines
365 B
Go

// Copyright 2022 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cloud .
package dbutils_test
import (
"testing"
dbutils "github.com/TeaOSLab/EdgeAPI/internal/db/utils"
_ "github.com/iwind/TeaGo/bootstrap"
)
func TestHasFreeSpace(t *testing.T) {
t.Log(dbutils.CheckHasFreeSpace())
t.Log(dbutils.LocalDatabaseDataDir)
}