Skip to content
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

ftp: split list_directory response #2331

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

julianoes
Copy link
Collaborator

@julianoes julianoes commented Jun 4, 2024

This way we get a clear list of files and folders instead of an odd list with F or D prefixes.

Depends on mavlink/MAVSDK-Proto#343.

Closes #2308.

@julianoes julianoes force-pushed the pr-ftp-list-dir-api branch 2 times, most recently from 6deaae8 to 3913f1e Compare June 4, 2024 08:36
@julianoes
Copy link
Collaborator Author

Note to self: remove the offset numbers behind the filenames.

We already use the queue when calling the user callback, so we don't
need to do it internally as well.
This way we get a clear list of files and folders instead of an odd list
with F or D prefixes.
JonasVautherin
JonasVautherin previously approved these changes Jun 11, 2024
Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that's nicer 👍

Copy link

sonarcloud bot commented Jun 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve list_directory API
2 participants