mirror of
https://github.com/therootcompany/golib.git
synced 2026-03-29 13:13:57 +00:00
Derived from Go standard library internal/filepathlite and path/filepath. Provides Windows-style path operations that work on any platform. Exports: Clean, Join, Split, Ext, Base, Dir, IsAbs, VolumeName, VolumeNameLen, ToSlash, FromSlash, Separator, ListSeparator, IsPathSeparator.
15 lines
592 B
Go
15 lines
592 B
Go
package winpath
|
|
|
|
// The following files in this directory are derived from the Go standard library
|
|
// and are licensed under a BSD-style license (see LICENSE file in Go source).
|
|
//
|
|
// They have been modified to create a Windows-only path handling package
|
|
// that works on any platform.
|
|
//
|
|
// Source files:
|
|
// - path_lite.go: derived from internal/filepathlite/path.go
|
|
// - path_lite_windowsspecific.go: derived from internal/filepathlite/path_windows.go
|
|
// - path_windowsspecific.go: derived from path/filepath/path_windows.go
|
|
//
|
|
// Use './sync.sh' to re-sync from upstream Go sources.
|