no-src / gofs

A cross-platform real-time file synchronization tool out of the box based on Golang
Apache License 2.0
476 stars 40 forks source link

Get username and key file from ssh config files for SFTP #367

Closed wayhoww closed 3 months ago

wayhoww commented 3 months ago

By adding this feature we can sync via SFTP by simply invoking command like:

gofs  -source="./source" -dest="sftp://host?remote_path=/path/to/dest"
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 88.63636% with 5 lines in your changes missing coverage. Please review.

Project coverage is 32.91%. Comparing base (5309c6f) to head (5a50f3b).

Files Patch % Lines
core/vfs.go 88.63% 3 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #367 +/- ## ========================================== + Coverage 32.53% 32.91% +0.38% ========================================== Files 133 133 Lines 6059 6101 +42 ========================================== + Hits 1971 2008 +37 - Misses 3997 4000 +3 - Partials 91 93 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mstmdev commented 3 months ago

Tests passed. Please check for any issues with this implementation. @wayhoww

wayhoww commented 3 months ago

left two comments