package
Version:
v0.0.0-...-282c629
Opens a new window with list of versions in this module.
Published: Nov 14, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package transform provides helper functions to manage files.
View Source
var (
ErrNoSrc = errors.New("utf-deconfuse: no file provided")
ErrBadSrc = errors.New("utf-deconfuse: file open failed")
ErrBadDst = errors.New("utf-deconfuse: output creation failed")
ErrWriteDst = errors.New("utf-deconfuse: output write failed")
)
Creates a new file on given path or truncates if file
already exists. If path is empty, defaults to stdout.
Opens file under path. Returns ErrNoSrc if path is empty,
or ErrBadSrc if it cannot open the file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.