fluxcd-flux2/pkg/bootstrap
Sanskar Jaiswal 08370cb3a6
clean dir before cloning git repo
Remove all files/subdirs from the directory we are cloning into. This is
needed because go-git returns a `repository already exists` error if
the directory is non-empty, which is possible since we retry cloning
(into the same dir) if the first attempt fails.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-04-12 14:29:45 +05:30
..
provider Move bootstrap package from internal to pkg 2022-10-21 11:54:28 +02:00
bootstrap.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
bootstrap_plain_git.go clean dir before cloning git repo 2023-04-12 14:29:45 +05:30
bootstrap_provider.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
options.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00