storage

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: ISC Imports: 3 Imported by: 0

Documentation

Overview

Package storage provides convenience functions related to the file system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(path string, store *Store) error

Write serializes and writes a Store object to a given file.

Types

type Store

type Store struct {
	Repositories map[string]github.Repository `yaml:"repositories"`
}

Store represents a collection of GitHub repositories.

func Read

func Read(path string) (*Store, error)

Read returns a deserialized Store object from a given file.

Jump to

Keyboard shortcuts

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