]> Cypherpunks repositories - gostls13.git/commit
all: rename internal/safefilepath to internal/filepathlite
authorDamien Neil <dneil@google.com>
Wed, 24 Apr 2024 17:24:05 +0000 (10:24 -0700)
committerDamien Neil <dneil@google.com>
Fri, 26 Apr 2024 23:07:37 +0000 (23:07 +0000)
commitad22356ec660844ec43ccbe9a834845f1a6f7cf8
tree3688d6cabcf02613491f0481a61040566cde8e9c
parentd69f87445cb28d68b4d62d8b80dff8a8d5a9203e
all: rename internal/safefilepath to internal/filepathlite

The safefilepath package was originally added to contain
the FromFS function. We subsequently added FromFS to path/filepath
as Localize. The safefilepath package now exists only to permit
the os package to import Localize.

Rename safefilepath to filepathlite to better indicate that it's
a low-dependency version of filepath.

Change-Id: I4c5f9b28e8581f841947b48c5cac9954cd0c9535
Reviewed-on: https://go-review.googlesource.com/c/go/+/581517
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/go/build/deps_test.go
src/internal/filepathlite/path.go [moved from src/internal/safefilepath/path.go with 86% similarity]
src/internal/filepathlite/path_plan9.go [moved from src/internal/safefilepath/path_plan9.go with 94% similarity]
src/internal/filepathlite/path_unix.go [moved from src/internal/safefilepath/path_unix.go with 94% similarity]
src/internal/filepathlite/path_windows.go [moved from src/internal/safefilepath/path_windows.go with 99% similarity]
src/os/dir.go
src/os/file.go
src/path/filepath/path.go
src/path/filepath/path_windows.go