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

SFTPWrapper exists wrong parameter name? #1422

Open
dubdia opened this issue Sep 17, 2024 · 0 comments
Open

SFTPWrapper exists wrong parameter name? #1422

dubdia opened this issue Sep 17, 2024 · 0 comments

Comments

@dubdia
Copy link

dubdia commented Sep 17, 2024

Hello,
i just want to use the exists method of the SFTPWrapper which has the following definition:
exists(path: string, callback: (hasError: boolean) => void): void;

and i noticed that hasError is true when the file exists and false when it does not? maybe the paramter should be named "exists" or something like that?

best regards

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

No branches or pull requests

1 participant