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

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

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

Parameters:

  • path:

ErrBadPattern

 

class var ErrBadPattern: error;

 

static error ErrBadPattern

 

static var ErrBadPattern: error

 

ErrBadPattern error

Ext

 

class method Ext(path: string): string

 

static string Ext(string path)

 

static func Ext(_ path: string) -> string

 

func Ext(path string) 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

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

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) -> (matched:Boolean, err:error)

 

func Match(pattern string, name string) (matched Boolean, err 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) -> (dir:string, file:string)

 

func Split(path string) (dir string, file string)

Parameters:

  • path:

 

ErrBadPattern

 

class var ErrBadPattern: error;

 

static error ErrBadPattern

 

static var ErrBadPattern: error

 

ErrBadPattern error

 

Base

 

class method Base(path: string): string

 

static string Base(string path)

 

static func Base(_ path: string) -> string

 

func Base(path string) 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

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

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

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

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

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) -> (matched:Boolean, err:error)

 

func Match(pattern string, name string) (matched Boolean, err 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) -> (dir:string, file:string)

 

func Split(path string) (dir string, file string)

Parameters:

  • path: