Skip to content

Commit

Permalink
Merge pull request #114 from kishikawakatsumi/example
Browse files Browse the repository at this point in the history
Improve Windows file sharing compatibility
  • Loading branch information
kishikawakatsumi authored Sep 2, 2024
2 parents 22b63d8 + 74bd7d5 commit 131000b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SharesViewController: UIViewController, UITableViewDataSource, UITableView
Task { @MainActor in
do {
let shares = try await self.client.listShares()
.filter { $0.type.contains(.diskTree) && !$0.type.contains(.ipc) }
.filter { $0.type.contains(.diskTree) && !$0.type.contains(.special) }
.sorted { $0.name.localizedStandardCompare($1.name) == .orderedAscending }
self.shares.append(contentsOf: shares)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ extension SidebarManager {

do {
let shares = try await session.client.listShares()
.filter { $0.type.contains(.diskTree) && !$0.type.contains(.ipc) }
.filter { $0.type.contains(.diskTree) && !$0.type.contains(.special) }
.sorted { $0.name.localizedStandardCompare($1.name) == .orderedAscending }
.map { ShareNode(id: ID("\(serverRoot)/\($0.name)"), device: serverNode.name, name: $0.name, parent: serverNode.id) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/swhitty/FlyingFox.git",
"state" : {
"revision" : "b37b5ab2c8545cdcea27909c3441c92ca1a992a1",
"version" : "0.15.0"
"revision" : "f7829d4aca8cbfecb410a1cce872b1b045224aa1",
"version" : "0.16.0"
}
},
{
Expand All @@ -16,7 +16,7 @@
"location" : "https://github.com/kishikawakatsumi/SMBClient.git",
"state" : {
"branch" : "main",
"revision" : "95a19f9ae52d3a7f5ecca7423513503cc7fd5153"
"revision" : "22b63d8a11e550d089c25a91e14e9328457701fd"
}
}
],
Expand Down

0 comments on commit 131000b

Please sign in to comment.