Discover Packages
github.com/GGP1/kure
db
file
package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Nov 2, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: ? modules, 0 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
¶
func Create(db *bolt.DB, file *pb.File) error
func Get(db *bolt.DB, name string) (*pb.File, error)
func GetCheap(db *bolt.DB, name string) (*pb.FileCheap, error)
func List(db *bolt.DB) ([]*pb.File, error)
func ListNames(db *bolt.DB) ([]string, error)
func Remove(db *bolt.DB, names ...string) error
func Rename(db *bolt.DB, oldName, newName string) error
Create a new file with its content compressed.
Get retrieves the file with the specified name.
GetCheap is like Get but without getting the file content.
List returns a slice with all the files stored in the file bucket.
ListNames returns a slice with all the files names.
Remove removes one or more files from the database.
Rename recreates a file with a new key and deletes the old one.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.