ntemplate

package
v4.1.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager(mgr driver.Manager, pa PathAliases) driver.Manager

Types

type PathAliases

type PathAliases map[string][]string

func (PathAliases) Add

func (p PathAliases) Add(alias, absPath string) PathAliases

func (PathAliases) Parse

func (p PathAliases) Parse(withAliasTagPath string) string

func (PathAliases) ParseOk

func (p PathAliases) ParseOk(withAliasTagPath string) (string, bool)

func (PathAliases) ParsePrefix

func (p PathAliases) ParsePrefix(withAliasPrefixPath string) string

func (PathAliases) ParsePrefixOk

func (p PathAliases) ParsePrefixOk(withAliasPrefixPath string) (string, bool)

func (PathAliases) Restore

func (p PathAliases) Restore(fullpath string) string

func (PathAliases) RestoreOk

func (p PathAliases) RestoreOk(fullpath string) (string, bool)

func (PathAliases) RestorePrefix

func (p PathAliases) RestorePrefix(fullpath string) string

func (PathAliases) RestorePrefixOk

func (p PathAliases) RestorePrefixOk(fullpath string) (string, bool)

Jump to

Keyboard shortcuts

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