-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for working directory in Server #528
Merged
puellanivis
merged 12 commits into
pkg:master
from
mafredri:mafredri/add-workdir-to-server
Oct 18, 2022
Merged
Add support for working directory in Server #528
puellanivis
merged 12 commits into
pkg:master
from
mafredri:mafredri/add-workdir-to-server
Oct 18, 2022
Commits on Oct 14, 2022
-
Add support for working directory in Server
This commit allows the working directory for the (old) Server implementation to be changed without doing a `os.Chdir` first. The feature can be enabled with `sftp.WithServerWorkingDirectory(dir)` passed as an option to `sftp.NewServer`. It is useful when the `sftp` is used as part of a larger service that does more than just serve `sftp` and using `os.Chdir` is not an option. The fallback behavior (when the option is not specified) is that the path remains unmodified (as before).
Configuration menu - View commit details
-
Copy full SHA for 6a7168c - Browse repository at this point
Copy the full SHA 6a7168cView commit details
Commits on Oct 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 624034d - Browse repository at this point
Copy the full SHA 624034dView commit details
Commits on Oct 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7de2651 - Browse repository at this point
Copy the full SHA 7de2651View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff98544 - Browse repository at this point
Copy the full SHA ff98544View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78e5961 - Browse repository at this point
Copy the full SHA 78e5961View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32ac60b - Browse repository at this point
Copy the full SHA 32ac60bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae4859f - Browse repository at this point
Copy the full SHA ae4859fView commit details
Commits on Oct 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bf40a02 - Browse repository at this point
Copy the full SHA bf40a02View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0f0413 - Browse repository at this point
Copy the full SHA d0f0413View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3f237d - Browse repository at this point
Copy the full SHA b3f237dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c93b0a0 - Browse repository at this point
Copy the full SHA c93b0a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8514370 - Browse repository at this point
Copy the full SHA 8514370View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.