smb2
Pure-Rust SMB2/3 client. Faster than native macOS SMB on all operations. No C dependencies
What XERJ indexed
Snapshot
The whole repository at commit 56b2fda89f (2026-09-29). main is 79 commits ahead.
Selected work

“a call through a DFS link leaves the caller's tree on i…”. 8 files, 953 lines in crates/smb2.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-07. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
cifsfile-transfernasnetworkrustsambasmbsmb2
Example questions
- How does smb2 implement cifs?
- What does crates/smb2 do in smb2?
- Show the file-transfer code in smb2.
Inside the indexed corpus
- 383 files, 4.2 MB in total, about 11.2 KB per file.
- The selected commit changed 8 of those files (2.1%).
- Languages by size: Rust 98.6%, Shell 0.7%, Dockerfile 0.3%, Just 0.3%, PowerShell 0.1%.
- On GitHub since 2026-04-08, last push 2026-10-31, 475 commits on main.
- The pin is 79 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for vdavid/smb2 on 2026-10-31, but the LICENSE file at commit 56b2fda89f was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.
Contributors
David Veszelovszki (@vdavid) has 1 selected repository on the hub.
Using XERJ with smb2
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones vdavid/smb2 at the pinned commit and indexes it on your machine.
Search the GitHub repository vdavid/smb2 with XERJ (https://hub.xerj.org/corpus/vdavid--smb2). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/vdavid/smb2 smb2 && git -C smb2 checkout 56b2fda89f041efef8eedf7c886b8a4d5666cb83 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./smb2 --url http://127.0.0.1:9200 --prefix smb2 --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: check the LICENSE file. Keep the copyright notice and credit the authors.
Related
David VeszelovszkiNetworking, protocols and serialisation corporaaioquicRichard-Zhang1019/Crossbowbiandratti/huginn-netvdavid/mtp-rs
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.