orgfiles

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0, MIT Imports: 3 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.

Documentation

Overview

Package orgfiles reads the organization's data from the files ritsu reads: a directory for each version, named by the day it takes effect, with teams.csv, people.csv and members.csv or one organization.json; proxies.csv beside the versions; and a CSV for each master. ritsu writes what the files hold in requests/organization/columns.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source reads the files under a directory: the paths the kinds' descriptions write are read from it (the directory ritsu gen was given as --root).

func New

func New(fsys fs.FS) *Source

New makes a source of the files in fsys.

func (*Source) Read

func (s *Source) Read(_ context.Context, want server.OrgLayout) (*server.OrgData, error)

Read reads the organization's data, as server.ReadOrgFiles reads it: a file whose shape is not the one ritsu writes is a problem of *server.OrgProblems.

Jump to

Keyboard shortcuts

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