mirror of https://github.com/jetkvm/kvm.git
Compare commits
2 Commits
4c0bc7e6db
...
16815a71b1
Author | SHA1 | Date |
---|---|---|
|
16815a71b1 | |
|
f085e5e501 |
|
@ -7,14 +7,6 @@ import (
|
|||
"path/filepath"
|
||||
)
|
||||
|
||||
// Helper function to get absolute value of float64
|
||||
func abs(x float64) float64 {
|
||||
if x < 0 {
|
||||
return -x
|
||||
}
|
||||
return x
|
||||
}
|
||||
|
||||
func joinPath(basePath string, paths []string) string {
|
||||
pathArr := append([]string{basePath}, paths...)
|
||||
return filepath.Join(pathArr...)
|
||||
|
|
Loading…
Reference in New Issue