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.
2 parents 68602ee + 5002032 commit 39bbf97Copy full SHA for 39bbf97
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