path_util

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(fpath string) bool

func FindModuleRoot

func FindModuleRoot(path string, rootCode string) (string, bool)

func FindRoot

func FindRoot(path string, rootCode string, objName string) (string, bool)

func GetParentDirectory

func GetParentDirectory(dirctory string) string

func Gofree5gcPath

func Gofree5gcPath(path string) string

Gofree5gcPath ...

  • Author: Roger Chu aka Sasuke *
  • This //go:binary-only-package

package is used to locate the root directory of gofree5gc project

  • Compatible with Windows and Linux *
  • Please import "free5gc/lib/path_util" *
  • Return value:
  • A string value of the relative path between the working directory and the root directory of the gofree5gc project *
  • Usage:
  • path_util.Gofree5gcPath("your file location starting with gofree5gc") *
  • Example:
  • path_util.Gofree5gcPath("free5gc/abcdef/abcdef.pem")

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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