Documentation
¶
Index ¶
- func FormatSize(bytes int64) string
- func GetDiskInfo(dir string) models.DiskInfo
- func GetSettings[T models.Settings](repo repository.Repository, section string) (T, error)
- func IntPtr(i int) *int
- func IsNetworkError(err error) bool
- func SanitizeFilePath(path string) string
- func SanitizeVersion(version string) string
- func StringPtr(s string) *string
- func ValidateFilePath(path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatSize ¶
func GetDiskInfo ¶
func GetSettings ¶
func GetSettings[T models.Settings](repo repository.Repository, section string) (T, error)
func IsNetworkError ¶
func SanitizeFilePath ¶
func SanitizeVersion ¶
func ValidateFilePath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.