resources

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: GPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindDir

func FindDir(path string) string

Let 'path' = "origin/rest/...". If the current directory is in a module whose root directory is "<absolute path>/root", FindDir(path) returns "<absolute path>/root/rsrc/rest/...". But, if this module is a descendant of a directory named 'src' and if several modules are contained in 'src' and if one of these modules has root == origin, then FindDir returns "<src absolute path>/.../origin/rsrc/rest". If the current directory "<current absolute path>" is not in a module, FindDir returns "<current absolute path>/rsrc/origin/rest"

Types

This section is empty.

Jump to

Keyboard shortcuts

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