@@ -691,8 +691,6 @@ func CompareDirs(ctx context.Context, fs billy.Filesystem, leftDirpath, rightDir
691
691
692
692
// GetRootPath returns the first directory in a given path
693
693
func GetRootPath (ctx context.Context , path string ) (string , error ) {
694
- logger .Log (ctx , slog .LevelDebug , "get root path" , slog .String ("path" , path ))
695
-
696
694
rootPathList := strings .SplitN (path , "/" , 2 )
697
695
if len (rootPathList ) == 0 {
698
696
return "" , fmt .Errorf ("unable to get root path of %s" , path )
@@ -702,8 +700,6 @@ func GetRootPath(ctx context.Context, path string) (string, error) {
702
700
703
701
// MovePath takes a path that is contained within fromDir and returns the same path contained within toDir
704
702
func MovePath (ctx context.Context , path string , fromDir string , toDir string ) (string , error ) {
705
- logger .Log (ctx , slog .LevelDebug , "moving path" , slog .String ("path" , path ))
706
-
707
703
if ! strings .HasPrefix (path , fromDir ) {
708
704
return "" , fmt .Errorf ("path %s does not contain directory %s" , path , fromDir )
709
705
}
0 commit comments