util

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package util provides general-purpose helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatSize

func FormatSize(b int64) string

FormatSize formats bytes into a human-readable string.

func IsFileLocked added in v1.5.0

func IsFileLocked(err error) bool

IsFileLocked reports whether err indicates that a file is locked or in use by another process. On non-Windows platforms this always returns false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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