We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68602ee commit 5002032Copy full SHA for 5002032
README.md
@@ -16,8 +16,8 @@ let client = SMBClient(host: "198.51.100.50")
16
try await client.login(username: "alice", password: "secret")
17
try await client.connectShare("Public")
18
19
-let files = try await client.listDirectory("")
20
-print(files.map { $0.fileName })
+let files = try await client.listDirectory(path: "")
+print(files.map { $0.name })
21
22
try await client.disconnectShare()
23
try await client.logoff()
0 commit comments