GO-2024-2661 : Arbitrary file read in github.com/grafana/grafana
Discover Packages
github.com/grafana/grafana
pkg
build
fsutil
package
Version:
v0.0.1-test
Opens a new window with list of versions in this module.
Published: Oct 6, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
CopyFile copies a file from src to dst.
If src and dst files exist, and are the same, then return success. Otherwise, attempt to create a hard link
between the two files. If that fails, copy the file contents from src to dst.
Exists determines whether a file/directory exists or not.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.