-
Notifications
You must be signed in to change notification settings - Fork 2
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 directory support to smbc #1
base: master
Are you sure you want to change the base?
Conversation
I don't think I caused that failure |
71f73dd
to
0acf5f1
Compare
0acf5f1
to
53b8037
Compare
This code works on my test virtual machine and valgrind shows no leaks. My test code produces:
|
@grossws any thoughts on this? |
@cholcombe973 I've looked through patch but haven't time to test is yet. Sorry for delay, I'm quite busy with work projects and Apache Tika right now( |
I understand. I just wasn’t sure if you were aware of the PR :-).
…On Mon, Sep 24, 2018 at 7:04 AM Konstantin Gribov ***@***.***> wrote:
@cholcombe973 <https://github.com/cholcombe973> I've looked through patch
but haven't time to test is yet. Sorry for delay, I'm quite busy with work
projects and Apache Tika right now(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AC6qE-9p6cBmWotoxJwC6BTK6FErm_Byks5ueOZUgaJpZM4Wd2JK>
.
|
Now its january |
This looks extremely useful! I was looking into ways to access a SMB share using Rust and unfortunately there aren't many options available. Mounting through the operating system might be a solution but it would make error handling harder. All in all it looks like this library is still the best solution, but without a way to iterate over directories it's not really useful... |
I've never done samba development before so I don't really know if this is correct. I have however done a bunch of filesystem work and these calls are similar. It looked like the codebase took great care to not allocate unnecessary things. If you'd like me to try and do the same I can try and remove String and PathBuf from the directory struct. I'm going to setup a local samba on a virtual machine and give this a test with valgrind to make sure i'm not leaking anything.