Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.path.filepath
  • Platforms: .NET, .NET Standard 2.0, Island

 

Abs

 

class method Abs(path: string): tuple of (string, error)

 

static (string, error) Abs(string path)

 

static func Abs(_ path: string) -> (string, error)

 

func Abs(path string) tuple of (string, error)

 

Shared Function Abs(path As string) As Tuple (Of string, error)

Parameters:

  • path:

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

 

class method EvalSymlinks(path: string): tuple of (string, error)

 

static (string, error) EvalSymlinks(string path)

 

static func EvalSymlinks(_ path: string) -> (string, error)

 

func EvalSymlinks(path string) tuple of (string, error)

 

Shared Function EvalSymlinks(path As string) As Tuple (Of string, error)

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:

FromSlash

 

class method FromSlash(path: string): string

 

static string FromSlash(string path)

 

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

 

func FromSlash(path string) string

 

Shared Function FromSlash(path As string) As string

Parameters:

  • path:

Glob

 

class method Glob(pattern: string): tuple of (matches: Slice<string>, err: error)

 

static (Slice<string>matches, error err) Glob(string pattern)

 

static func Glob(_ pattern: string) -> (Slice<string>, error)

 

func Glob(pattern string) tuple of (|name=matches| Slice<string>, |name=err| error)

 

Shared Function Glob(pattern As string) As Tuple (Of Slice<string>, error)

Parameters:

  • pattern:

IsAbs

 

class method IsAbs(s: String): Boolean

 

static Boolean IsAbs(String s)

 

static func IsAbs(_ s: String) -> Boolean

 

func IsAbs(s String) Boolean

 

Shared Function IsAbs(s As String) As Boolean

Parameters:

  • s:

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:

ListSeparator

 

class var ListSeparator: Char;

 

static Char ListSeparator

 

static var ListSeparator: Char

 

ListSeparator Char

 

Shared FIELD ListSeparator() As Char

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) -> (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:

Rel

 

class method Rel(basepath: string; targpath: string): tuple of (string, error)

 

static (string, error) Rel(string basepath, string targpath)

 

static func Rel(_ basepath: string, _ targpath: string) -> (string, error)

 

func Rel(basepath string, targpath string) tuple of (string, error)

 

Shared Function Rel(basepath As string, targpath As string) As Tuple (Of string, error)

Parameters:

  • basepath:
  • targpath:

Separator

 

class var Separator: Char;

 

static Char Separator

 

static var Separator: Char

 

Separator Char

 

Shared FIELD Separator() As Char

SkipDir

 

class var SkipDir: error;

 

static error SkipDir

 

static var SkipDir: error

 

SkipDir error

 

Shared FIELD SkipDir() As error

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) -> (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:

SplitList

 

class method SplitList(path: string): Slice<string>

 

static Slice<string> SplitList(string path)

 

static func SplitList(_ path: string) -> Slice<string>

 

func SplitList(path string) Slice<string>

 

Shared Function SplitList(path As string) As Slice<string>

Parameters:

  • path:

ToSlash

 

class method ToSlash(path: string): string

 

static string ToSlash(string path)

 

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

 

func ToSlash(path string) string

 

Shared Function ToSlash(path As string) As string

Parameters:

  • path:

VolumeName

 

class method VolumeName(path: string): string

 

static string VolumeName(string path)

 

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

 

func VolumeName(path string) string

 

Shared Function VolumeName(path As string) As string

Parameters:

  • path:

Walk

 

class method Walk(root: string; walkFn: WalkFunc): error

 

static error Walk(string root, WalkFunc walkFn)

 

static func Walk(_ root: string, _ walkFn: WalkFunc) -> error

 

func Walk(root string, walkFn WalkFunc) error

 

Shared Function Walk(root As string, walkFn As WalkFunc) As error

Parameters:

  • root:
  • walkFn:

 

ErrBadPattern

 

class var ErrBadPattern: error;

 

static error ErrBadPattern

 

static var ErrBadPattern: error

 

ErrBadPattern error

 

Shared FIELD ErrBadPattern() As error

ListSeparator

 

class var ListSeparator: Char;

 

static Char ListSeparator

 

static var ListSeparator: Char

 

ListSeparator Char

 

Shared FIELD ListSeparator() As Char

Separator

 

class var Separator: Char;

 

static Char Separator

 

static var Separator: Char

 

Separator Char

 

Shared FIELD Separator() As Char

SkipDir

 

class var SkipDir: error;

 

static error SkipDir

 

static var SkipDir: error

 

SkipDir error

 

Shared FIELD SkipDir() As error

 

Abs

 

class method Abs(path: string): tuple of (string, error)

 

static (string, error) Abs(string path)

 

static func Abs(_ path: string) -> (string, error)

 

func Abs(path string) tuple of (string, error)

 

Shared Function Abs(path As string) As Tuple (Of string, error)

Parameters:

  • path:

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:

 

class method EvalSymlinks(path: string): tuple of (string, error)

 

static (string, error) EvalSymlinks(string path)

 

static func EvalSymlinks(_ path: string) -> (string, error)

 

func EvalSymlinks(path string) tuple of (string, error)

 

Shared Function EvalSymlinks(path As string) As Tuple (Of string, error)

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:

FromSlash

 

class method FromSlash(path: string): string

 

static string FromSlash(string path)

 

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

 

func FromSlash(path string) string

 

Shared Function FromSlash(path As string) As string

Parameters:

  • path:

Glob

 

class method Glob(pattern: string): tuple of (matches: Slice<string>, err: error)

 

static (Slice<string>matches, error err) Glob(string pattern)

 

static func Glob(_ pattern: string) -> (Slice<string>, error)

 

func Glob(pattern string) tuple of (|name=matches| Slice<string>, |name=err| error)

 

Shared Function Glob(pattern As string) As Tuple (Of Slice<string>, error)

Parameters:

  • pattern:

IsAbs

 

class method IsAbs(s: String): Boolean

 

static Boolean IsAbs(String s)

 

static func IsAbs(_ s: String) -> Boolean

 

func IsAbs(s String) Boolean

 

Shared Function IsAbs(s As String) As Boolean

Parameters:

  • s:

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) -> (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:

Rel

 

class method Rel(basepath: string; targpath: string): tuple of (string, error)

 

static (string, error) Rel(string basepath, string targpath)

 

static func Rel(_ basepath: string, _ targpath: string) -> (string, error)

 

func Rel(basepath string, targpath string) tuple of (string, error)

 

Shared Function Rel(basepath As string, targpath As string) As Tuple (Of string, error)

Parameters:

  • basepath:
  • targpath:

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) -> (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:

SplitList

 

class method SplitList(path: string): Slice<string>

 

static Slice<string> SplitList(string path)

 

static func SplitList(_ path: string) -> Slice<string>

 

func SplitList(path string) Slice<string>

 

Shared Function SplitList(path As string) As Slice<string>

Parameters:

  • path:

ToSlash

 

class method ToSlash(path: string): string

 

static string ToSlash(string path)

 

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

 

func ToSlash(path string) string

 

Shared Function ToSlash(path As string) As string

Parameters:

  • path:

VolumeName

 

class method VolumeName(path: string): string

 

static string VolumeName(string path)

 

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

 

func VolumeName(path string) string

 

Shared Function VolumeName(path As string) As string

Parameters:

  • path:

Walk

 

class method Walk(root: string; walkFn: WalkFunc): error

 

static error Walk(string root, WalkFunc walkFn)

 

static func Walk(_ root: string, _ walkFn: WalkFunc) -> error

 

func Walk(root string, walkFn WalkFunc) error

 

Shared Function Walk(root As string, walkFn As WalkFunc) As error

Parameters:

  • root:
  • walkFn: