Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.path
- Platforms: .NET, .NET Standard 2.0, Island
Base
class method Base(path: string): string
static string Base(string path)
static func Base(_ path: string) -> string
func Base(path string) string
Shared Function Base(path As string) As string
Parameters:
- path:
Clean
class method Clean(path: string): string
static string Clean(string path)
static func Clean(_ path: string) -> string
func Clean(path string) string
Shared Function Clean(path As string) As string
Parameters:
- path:
Dir
class method Dir(path: string): string
static string Dir(string path)
static func Dir(_ path: string) -> string
func Dir(path string) string
Shared Function Dir(path As string) As string
Parameters:
- path:
ErrBadPattern
class var ErrBadPattern: error;
static error ErrBadPattern
static var ErrBadPattern: error
ErrBadPattern error
Shared FIELD ErrBadPattern() As error
Ext
class method Ext(path: string): string
static string Ext(string path)
static func Ext(_ path: string) -> string
func Ext(path string) string
Shared Function Ext(path As string) As string
Parameters:
- path:
IsAbs
class method IsAbs(path: string): bool
static bool IsAbs(string path)
static func IsAbs(_ path: string) -> bool
func IsAbs(path string) bool
Shared Function IsAbs(path As string) As bool
Parameters:
- path:
Join
class method Join(params elem: array of string): string
static string Join(params string[] elem)
static func Join(_ elem: string...) -> string
func Join(elem []string) string
Shared Function Join(ParamArray elem As string()) As string
Parameters:
- elem:
Match
class method Match(pattern: string; name: string): tuple of (matched: Boolean, err: error)
static (Boolean matched, error err) Match(string pattern, string name)
static func Match(_ pattern: string, _ name: string) -> tuple of (Boolean, error)
func Match(pattern string, name string) tuple of (|name=matched| Boolean, |name=err| error)
Shared Function Match(pattern As string, name As string) As Tuple (Of Boolean, error)
Parameters:
- pattern:
- name:
Split
class method Split(path: string): tuple of (dir: string, file: string)
static (string dir, string file) Split(string path)
static func Split(_ path: string) -> tuple of (string, string)
func Split(path string) tuple of (|name=dir| string, |name=file| string)
Shared Function Split(path As string) As Tuple (Of string, string)
Parameters:
- path:
ErrBadPattern
class var ErrBadPattern: error;
static error ErrBadPattern
static var ErrBadPattern: error
ErrBadPattern error
Shared FIELD ErrBadPattern() As error
Base
class method Base(path: string): string
static string Base(string path)
static func Base(_ path: string) -> string
func Base(path string) string
Shared Function Base(path As string) As string
Parameters:
- path:
Clean
class method Clean(path: string): string
static string Clean(string path)
static func Clean(_ path: string) -> string
func Clean(path string) string
Shared Function Clean(path As string) As string
Parameters:
- path:
Dir
class method Dir(path: string): string
static string Dir(string path)
static func Dir(_ path: string) -> string
func Dir(path string) string
Shared Function Dir(path As string) As string
Parameters:
- path:
Ext
class method Ext(path: string): string
static string Ext(string path)
static func Ext(_ path: string) -> string
func Ext(path string) string
Shared Function Ext(path As string) As string
Parameters:
- path:
IsAbs
class method IsAbs(path: string): bool
static bool IsAbs(string path)
static func IsAbs(_ path: string) -> bool
func IsAbs(path string) bool
Shared Function IsAbs(path As string) As bool
Parameters:
- path:
Join
class method Join(params elem: array of string): string
static string Join(params string[] elem)
static func Join(_ elem: string...) -> string
func Join(elem []string) string
Shared Function Join(ParamArray elem As string()) As string
Parameters:
- elem:
Match
class method Match(pattern: string; name: string): tuple of (matched: Boolean, err: error)
static (Boolean matched, error err) Match(string pattern, string name)
static func Match(_ pattern: string, _ name: string) -> tuple of (Boolean, error)
func Match(pattern string, name string) tuple of (|name=matched| Boolean, |name=err| error)
Shared Function Match(pattern As string, name As string) As Tuple (Of Boolean, error)
Parameters:
- pattern:
- name:
Split
class method Split(path: string): tuple of (dir: string, file: string)
static (string dir, string file) Split(string path)
static func Split(_ path: string) -> tuple of (string, string)
func Split(path string) tuple of (|name=dir| string, |name=file| string)
Shared Function Split(path As string) As Tuple (Of string, string)
Parameters:
- path: