utils

package
v0.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatFileSize

func FormatFileSize(size int64) string

FormatFileSize formats a file size in bytes to a human-readable string

func GetStatusBadgeClass

func GetStatusBadgeClass(status string) string

GetStatusBadgeClass returns the appropriate CSS class for a file status badge

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL