TritonDataCenter / node-manta-sync

Rsync style command for Joyent's Manta
31 stars 9 forks source link

Changing basefile to use path-platform's split. #14

Closed papertigers closed 9 years ago

papertigers commented 9 years ago

Currently manta-sync will file.substr(localdir.length) leaving a basefile like '\foo.txt', then later when you have the posix join you get a path like '/mantauser/stor/\foo.txt'

This change chops off the leading / or \

bahamas10 commented 9 years ago

fixed by https://github.com/bahamas10/node-manta-sync/pull/15

bahamas10 commented 9 years ago

relies on https://github.com/joyent/node-manta/pull/210