Documentation ¶
Overview ¶
This file was generated by counterfeiter with command: counterfeiter -p -o /Users/pivotal/workspace/local-volume-release/src/code.cloudfoundry.org/goshims/filepathshim path/filepath
This file was generated by counterfeiter with command: counterfeiter -p -o /Users/pivotal/workspace/local-volume-release/src/code.cloudfoundry.org/goshims/filepathshim path/filepath
Index ¶
- type Filepath
- type FilepathShim
- func (sh *FilepathShim) Abs(path string) (string, error)
- func (sh *FilepathShim) Base(path string) string
- func (sh *FilepathShim) Clean(path string) string
- func (sh *FilepathShim) Dir(path string) string
- func (sh *FilepathShim) EvalSymlinks(path string) (string, error)
- func (sh *FilepathShim) Ext(path string) string
- func (sh *FilepathShim) FromSlash(path string) string
- func (sh *FilepathShim) Glob(pattern string) (matches []string, err error)
- func (sh *FilepathShim) IsAbs(path string) bool
- func (sh *FilepathShim) Join(elem ...string) string
- func (sh *FilepathShim) Match(pattern string, name string) (matched bool, err error)
- func (sh *FilepathShim) Rel(basepath string, targpath string) (string, error)
- func (sh *FilepathShim) Split(path string) (dir, file string)
- func (sh *FilepathShim) SplitList(path string) []string
- func (sh *FilepathShim) ToSlash(path string) string
- func (sh *FilepathShim) VolumeName(path string) string
- func (sh *FilepathShim) Walk(root string, walkFn filepath.WalkFunc) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filepath ¶
type Filepath interface { Match(pattern, name string) (matched bool, err error) Glob(pattern string) (matches []string, err error) Clean(path string) string ToSlash(path string) string FromSlash(path string) string SplitList(path string) []string Split(path string) (dir string, file string) Join(elem ...string) string Ext(path string) string EvalSymlinks(path string) (string, error) Abs(path string) (string, error) Rel(basepath, targpath string) (string, error) Walk(root string, walkFn filepath.WalkFunc) error Base(path string) string Dir(path string) string VolumeName(path string) string IsAbs(path string) bool }
type FilepathShim ¶
type FilepathShim struct{}
func (*FilepathShim) Base ¶
func (sh *FilepathShim) Base(path string) string
func (*FilepathShim) Clean ¶
func (sh *FilepathShim) Clean(path string) string
func (*FilepathShim) Dir ¶
func (sh *FilepathShim) Dir(path string) string
func (*FilepathShim) EvalSymlinks ¶
func (sh *FilepathShim) EvalSymlinks(path string) (string, error)
func (*FilepathShim) Ext ¶
func (sh *FilepathShim) Ext(path string) string
func (*FilepathShim) FromSlash ¶
func (sh *FilepathShim) FromSlash(path string) string
func (*FilepathShim) Glob ¶
func (sh *FilepathShim) Glob(pattern string) (matches []string, err error)
func (*FilepathShim) IsAbs ¶
func (sh *FilepathShim) IsAbs(path string) bool
func (*FilepathShim) Join ¶
func (sh *FilepathShim) Join(elem ...string) string
func (*FilepathShim) Match ¶
func (sh *FilepathShim) Match(pattern string, name string) (matched bool, err error)
func (*FilepathShim) Rel ¶
func (sh *FilepathShim) Rel(basepath string, targpath string) (string, error)
func (*FilepathShim) Split ¶
func (sh *FilepathShim) Split(path string) (dir, file string)
func (*FilepathShim) SplitList ¶
func (sh *FilepathShim) SplitList(path string) []string
func (*FilepathShim) ToSlash ¶
func (sh *FilepathShim) ToSlash(path string) string
func (*FilepathShim) VolumeName ¶
func (sh *FilepathShim) VolumeName(path string) string
Click to show internal directories.
Click to hide internal directories.