Skip to content

Commit

Permalink
updaed move dest url logic
Browse files Browse the repository at this point in the history
  • Loading branch information
adranwit committed Feb 5, 2020
1 parent f789cba commit 2e454ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions move.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package afs

import (
"context"
"fmt"
"github.com/viant/afs/file"
"github.com/viant/afs/option"
"github.com/viant/afs/storage"
Expand All @@ -12,10 +11,7 @@ import (
func (s *service) Move(ctx context.Context, sourceURL, destURL string, options ...storage.Option) error {
sourceURL = url.Normalize(sourceURL, file.Scheme)
destURL = url.Normalize(destURL, file.Scheme)

fmt.Printf("DDDD1 %v\n", destURL)
destURL = s.updateDestURL(sourceURL, destURL)
fmt.Printf("DDDD2 %v\n", destURL)
sourceOptions := option.NewSource()
destOptions := option.NewDest()
option.Assign(options, &sourceOptions, &destOptions)
Expand Down

0 comments on commit 2e454ea

Please sign in to comment.