renderer

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package renderer provides table rendering and formatting functionality.

Package renderer provides tree rendering functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

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

func NewTable

func NewTable(cfg config.Config) *Table

func (*Table) Render

func (r *Table) Render(files []model.FileEntry, now time.Time)

type Tree

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

func NewTree

func NewTree(cfg config.Config) *Tree

func (*Tree) Render

func (r *Tree) Render(ctx context.Context, path string, now time.Time) error

func (*Tree) SetFilter

func (r *Tree) SetFilter(f *filter.Filter)

func (*Tree) SetGitRepo

func (r *Tree) SetGitRepo(repo *git.Repository)

Jump to

Keyboard shortcuts

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