Affected by GO-2025-3390
and 5 other vulnerabilities
GO-2025-3390 : Git LFS permits exfiltration of credentials via crafted HTTP URLs in github.com/git-lfs/git-lfs
GO-2025-4038 : Git LFS may write to arbitrary files via crafted symlinks in github.com/git-lfs/git-lfs
GO-2026-7021 : Git LFS may attempt arbitrary remote commands via crafted SSH URLs in github.com/git-lfs/git-lfs
GO-2026-7022 : Git LFS may execute arbitrary commands via crafted Git LFS configurations in github.com/git-lfs/git-lfs
GO-2026-7023 : Git LFS may leak HTTP headers after redirections in github.com/git-lfs/git-lfs
GO-2026-7024 : Git LFS may execute arbitrary commands via crafted Git configurations in github.com/git-lfs/git-lfs
The highest tagged major version is
v3 .
Discover Packages
github.com/git-lfs/git-lfs
tools
humanize
package
Version:
v2.3.1+incompatible
Opens a new window with list of versions in this module.
Published: Sep 26, 2017
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 22 modules, 51 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
package humanize is designed to parse and format "humanized" versions of
numbers with units.
Based on: github.com/dustin/go-humanize.
FormatBytes outputs the given number of bytes "s" as a human-readable string,
rounding to the nearest half within .01.
FormatBytesUnit outputs the given number of bytes "s" as a quantity of the
given units "u" to the nearest half within .01.
ParseByteUnit returns the number of bytes in a given unit of storage, or an
error, if that unit is unrecognized.
ParseBytes parses a given human-readable bytes or ibytes string into a number
of bytes, or an error if the string was unable to be parsed.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.