Skip to content
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

Two small bug fixes #3

Merged
merged 2 commits into from Oct 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/LLVS/Core/Value.swift
Expand Up @@ -28,7 +28,7 @@ public struct Value: Codable, Identifiable {
}

/// Convenience that saves creating IDs
public init(idString: String = UUID().uuidString, data: Data) {
public init(idString: String, data: Data) {
self.init(id: ID(idString), data: data)
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/LLVS/Exchanges/FileSystemExchange.swift
Expand Up @@ -43,7 +43,7 @@ public class FileSystemExchange: NSObject, Exchange, NSFilePresenter {
fileprivate let fileManager = FileManager()
fileprivate let queue = OperationQueue()

init(rootDirectoryURL: URL, store: Store, usesFileCoordination: Bool) {
public init(rootDirectoryURL: URL, store: Store, usesFileCoordination: Bool) {
self.rootDirectoryURL = rootDirectoryURL
self.store = store
self.usesFileCoordination = usesFileCoordination
Expand Down