@@ -691,8 +691,6 @@ func CompareDirs(ctx context.Context, fs billy.Filesystem, leftDirpath, rightDir
691691
692692// GetRootPath returns the first directory in a given path 
693693func  GetRootPath (ctx  context.Context , path  string ) (string , error ) {
694- 	logger .Log (ctx , slog .LevelDebug , "get root path" , slog .String ("path" , path ))
695- 
696694	rootPathList  :=  strings .SplitN (path , "/" , 2 )
697695	if  len (rootPathList ) ==  0  {
698696		return  "" , fmt .Errorf ("unable to get root path of %s" , path )
@@ -702,8 +700,6 @@ func GetRootPath(ctx context.Context, path string) (string, error) {
702700
703701// MovePath takes a path that is contained within fromDir and returns the same path contained within toDir 
704702func  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- 
707703	if  ! strings .HasPrefix (path , fromDir ) {
708704		return  "" , fmt .Errorf ("path %s does not contain directory %s" , path , fromDir )
709705	}
0 commit comments