diff options
author | Francis Lavoie <[email protected]> | 2024-11-13 03:55:51 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-13 03:55:51 -0500 |
commit | 315715e90ffa25c4ad0d8a96e828dbdf6f638583 (patch) | |
tree | 3b22815c57acc730c90b6dcaa740a34a7073a36b /filesystem.go | |
parent | 238f1108e6600049d9041abc88db24526ee4f882 (diff) | |
download | caddy-315715e90ffa25c4ad0d8a96e828dbdf6f638583.tar.gz caddy-315715e90ffa25c4ad0d8a96e828dbdf6f638583.zip |
core: Implement FastAbs to avoid repeated os.Getwd calls (#6687)
* core: Implement FastAbs to avoid repeated os.Getwd calls
* Lint
* Rename files
Diffstat (limited to 'filesystem.go')
-rw-r--r-- | filesystem.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/filesystem.go b/filesystem.go index 9785f57d4..d6679e90b 100644 --- a/filesystem.go +++ b/filesystem.go @@ -1,3 +1,17 @@ +// Copyright 2015 Matthew Holt and The Caddy Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package caddy import "io/fs" |