vendor tsgo
This commit is contained in:
8
tools/tsgo/internal/fswatch/canonicalize_other.go
Normal file
8
tools/tsgo/internal/fswatch/canonicalize_other.go
Normal file
@@ -0,0 +1,8 @@
|
||||
//go:build !(darwin && (amd64 || arm64))
|
||||
|
||||
package fswatch
|
||||
|
||||
// canonicalizePath is a no-op on platforms whose watchers report paths
|
||||
// using the same bytes the caller provided. See canonicalize_darwin.go
|
||||
// for the rationale on macOS.
|
||||
func canonicalizePath(p string) string { return p }
|
||||
Reference in New Issue
Block a user