Affected by GO-2024-2859
and 1 other vulnerabilities
GO-2024-2859 : source-controller leaks Azure Storage SAS token into logs in github.com/fluxcd/source-controller
GO-2026-5472 : Source controller: Improper path handling allows traversal in github.com/fluxcd/source-controller
Retracted : Refers to incorrect ./api version.
Discover Packages
github.com/fluxcd/source-controller
internal
fs
package
Version:
v0.32.0
Opens a new window with list of versions in this module.
Published: Nov 17, 2022
License: Apache-2.0, BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
CopyDir recursively copies a directory tree, attempting to preserve permissions.
Source directory must exist, destination directory must *not* exist.
IsDir determines is the path given is a directory or not.
IsSymlink determines if the given path is a symbolic link.
RenameWithFallback attempts to rename a file or directory, but falls back to
copying in the event of a cross-device link error. If the fallback copy
succeeds, src is still removed, emulating normal rename behavior.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.