format

package
v0.0.0-...-2fb2b97 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package format provides file and directory formatting for DOT files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dir

func Dir(ctx context.Context, root string, ft layout.Format, w io.Writer) error

Dir formats all DOT files (.dot, .gv) in a directory tree. Formatting errors are written to w in directory walk order.

func File

func File(path string, ft layout.Format) error

File formats a single DOT file in-place.

func Reader

func Reader(r io.Reader, w io.Writer, ft layout.Format) error

Reader formats DOT source from r and writes the result to w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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