Skip to content

file: refactor file_do() - #9745

Closed
cvengler wants to merge 1 commit into
curl:masterfrom
cvengler:2022-10-refactor-file_do
Closed

cvengler wants to merge 1 commit into
curl:masterfrom
cvengler:2022-10-refactor-file_do

Conversation

@cvengler

@cvengler cvengler commented Oct 16, 2022 •

Copy link
Copy Markdown

This commit refactors the file_do() function, by placing much of the logic into a separate function called fetch_file(), which in turn contains a partially refactored version of the previous code found for fetching files.

The driving force behind that commit is the possibility to add a later feature for a directory listing, such as the one found in FTP.

See #9746

This commit refactors the file_do() function, by placing much of the
logic into a separate function called fetch_file(), which in turn
contains a partially refactored version of the previous code found for
fetching files.

The driving force behind that commit is the possibility to add a later
feature for a directory listing, such as the one found in FTP.
@cvengler

Copy link
Copy Markdown
Author

I'll close this and put the discussion for the refactoring into #9746.

@cvengler cvengler closed this Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant