package
0.7.6
Repository: https://github.com/charmbracelet/soft-serve.git
Documentation: pkg.go.dev

# Functions

FromContext returns the backend from a context.
GenerateToken returns a random unique token.
HashPassword hashes the password using bcrypt.
HashToken hashes the token using sha256.
LatestFile returns the contents of the latest file at the specified path in the repository and its file path.
New returns a new Soft Serve backend.
Readme returns the repository's README.
StoreRepoMissingLFSObjects stores missing LFS objects for a repository.
VerifyPassword verifies the password against the hash.
WithContext returns a new context with the backend attached.

# Variables

ContextKey is the key for the backend in the context.

# Structs

Backend is the Soft Serve backend that handles users, repositories, and server settings management and operations.