package
0.20.0
Repository: https://github.com/nokia/ntt.git
Documentation: pkg.go.dev

# Functions

Abs makes paths absolute, when not absolute already.
Content returns the content of (virtual) file specified by path.
FindASN1Files returns a list of ASN.1 files (.asn, asn1).
FindCFiles returns a list of C/C++ files (.c, .cc, .cxx, .cpp).
FindFilesRecursive returns a list files from the whole directory subtree.
FindK3EnvInCurrPath returns the path of the directory containing k3.env.
FindTTCN3DirectoriesRecursive returns a list of directories containing TTCN-3 source files.
FindTTCN3Files returns a list of TTCN-3 source files (.ttcn3, .ttcn, .ttcnpp) in the given directory.
FindTTCN3FilesRecursive returns a list TTCN-3 source files available in directory sub-tree.
Glob is a wrapper for filepath.Glob, but ignoring any errors.
HasASN1Extension returns true if file has suffix .asn or .asn1.
HasCExtension returns true if file has suffix .c, .cc, .cxx or .cpp.
HasTTCN3Extension returns true if file has suffix .ttcn3 or .ttcn.
IsDir returns true if path exists and is a directory.
IsFsRoot returns true if the supplied path coincides with the filesystem root.
IsRegulart returns true if path exists and is a regular file.
No description provided by the author
JoinPath joins any number of path elements into a single path, separating them with an OS specific Separator.
Open a file.
Path returns a decoded file path when you pass a URI with file:// scheme.
PathSlice returns a string slice of the File objects passed as argument.
Real makes a path, which is relativ to base, to a real path.
Rel makes paths relative to base, when not absolute already.
No description provided by the author
SetContent of (virtual) file specified by path.
Slugify generates a slug from unicode string.
Stems strips directory and extension from a string.
TTCN3Files takes a list of paths and replaces all paths describing a directory with the TTCN-3 files contained in that directory.
URI turns paths into URIs.
WalkUp traverses a path towards file system root.

# Variables

No description provided by the author

# Structs

A File represents a open file.
A Store holds all open files.