Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav committed Nov 20, 2021
1 parent 16cedda commit 2f204b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ func newSink(rawURL string) (Sink, error) {
// Volume name is the "C" of "C:\foo\bar" on Windows,
// and an empty string on other systems.
volumeName := filepath.VolumeName(rawURL)
if len(volumeName) > 0 {
fmt.Println("VOLUME NAME", volumeName)
}
switch u.Scheme {
case "":
// Unix:
Expand Down

0 comments on commit 2f204b0

Please sign in to comment.