diff options
Diffstat (limited to 'docs-src/content/functions/filepath.yml')
| -rw-r--r-- | docs-src/content/functions/filepath.yml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/docs-src/content/functions/filepath.yml b/docs-src/content/functions/filepath.yml index 239c02a4..69b65c0c 100644 --- a/docs-src/content/functions/filepath.yml +++ b/docs-src/content/functions/filepath.yml @@ -6,14 +6,14 @@ preamble: | This page documents the `filepath` namespace - see also the [`path`](../path) documentation. - These functions are wrappers for Go's [`path/filepath`](https://golang.org/pkg/path/filepath/) package. + These functions are wrappers for Go's [`path/filepath`](https://pkg.go.dev/path/filepath/) package. funcs: - name: filepath.Base released: v2.7.0 description: | Returns the last element of path. Trailing path separators are removed before extracting the last element. If the path is empty, Base returns `.`. If the path consists entirely of separators, Base returns a single separator. - A wrapper for Go's [`filepath.Base`](https://golang.org/pkg/path/filepath/#Base) function. + A wrapper for Go's [`filepath.Base`](https://pkg.go.dev/path/filepath/#Base) function. pipeline: true arguments: - name: path @@ -28,7 +28,7 @@ funcs: description: | Clean returns the shortest path name equivalent to path by purely lexical processing. - A wrapper for Go's [`filepath.Clean`](https://golang.org/pkg/path/filepath/#Clean) function. + A wrapper for Go's [`filepath.Clean`](https://pkg.go.dev/path/filepath/#Clean) function. pipeline: true arguments: - name: path @@ -43,7 +43,7 @@ funcs: description: | Returns all but the last element of path, typically the path's directory. - A wrapper for Go's [`filepath.Dir`](https://golang.org/pkg/path/filepath/#Dir) function. + A wrapper for Go's [`filepath.Dir`](https://pkg.go.dev/path/filepath/#Dir) function. pipeline: true arguments: - name: path @@ -58,7 +58,7 @@ funcs: description: | Returns the file name extension used by path. - A wrapper for Go's [`filepath.Ext`](https://golang.org/pkg/path/filepath/#Ext) function. + A wrapper for Go's [`filepath.Ext`](https://pkg.go.dev/path/filepath/#Ext) function. pipeline: true arguments: - name: path @@ -73,7 +73,7 @@ funcs: description: | Returns the result of replacing each slash (`/`) character in the path with the platform's separator character. - A wrapper for Go's [`filepath.FromSlash`](https://golang.org/pkg/path/filepath/#FromSlash) function. + A wrapper for Go's [`filepath.FromSlash`](https://pkg.go.dev/path/filepath/#FromSlash) function. pipeline: true arguments: - name: path @@ -90,7 +90,7 @@ funcs: description: | Reports whether the path is absolute. - A wrapper for Go's [`filepath.IsAbs`](https://golang.org/pkg/path/filepath/#IsAbs) function. + A wrapper for Go's [`filepath.IsAbs`](https://pkg.go.dev/path/filepath/#IsAbs) function. pipeline: true arguments: - name: path @@ -107,7 +107,7 @@ funcs: description: | Joins any number of path elements into a single path, adding a separator if necessary. - A wrapper for Go's [`filepath.Join`](https://golang.org/pkg/path/filepath/#Join) function. + A wrapper for Go's [`filepath.Join`](https://pkg.go.dev/path/filepath/#Join) function. arguments: - name: elem... required: true @@ -123,7 +123,7 @@ funcs: description: | Reports whether name matches the shell file name pattern. - A wrapper for Go's [`filepath.Match`](https://golang.org/pkg/path/filepath/#Match) function. + A wrapper for Go's [`filepath.Match`](https://pkg.go.dev/path/filepath/#Match) function. arguments: - name: pattern required: true @@ -140,7 +140,7 @@ funcs: description: | Returns a relative path that is lexically equivalent to targetpath when joined to basepath with an intervening separator. - A wrapper for Go's [`filepath.Rel`](https://golang.org/pkg/path/filepath/#Rel) function. + A wrapper for Go's [`filepath.Rel`](https://pkg.go.dev/path/filepath/#Rel) function. arguments: - name: basepath required: true @@ -159,7 +159,7 @@ funcs: The function returns an array with two values, the first being the diretory, and the second the file. - A wrapper for Go's [`filepath.Split`](https://golang.org/pkg/path/filepath/#Split) function. + A wrapper for Go's [`filepath.Split`](https://pkg.go.dev/path/filepath/#Split) function. pipeline: true arguments: - name: path @@ -176,7 +176,7 @@ funcs: description: | Returns the result of replacing each separator character in path with a slash (`/`) character. - A wrapper for Go's [`filepath.ToSlash`](https://golang.org/pkg/path/filepath/#ToSlash) function. + A wrapper for Go's [`filepath.ToSlash`](https://pkg.go.dev/path/filepath/#ToSlash) function. pipeline: true arguments: - name: path @@ -193,7 +193,7 @@ funcs: description: | Returns the leading volume name. Given `C:\foo\bar` it returns `C:` on Windows. Given a UNC like `\\host\share\foo` it returns `\\host\share`. On other platforms it returns an empty string. - A wrapper for Go's [`filepath.VolumeName`](https://golang.org/pkg/path/filepath/#VolumeName) function. + A wrapper for Go's [`filepath.VolumeName`](https://pkg.go.dev/path/filepath/#VolumeName) function. pipeline: true arguments: - name: path |
