Skip to content

Commit

Permalink
made data storage urls public
Browse files Browse the repository at this point in the history
  • Loading branch information
lilhinx committed Oct 20, 2020
1 parent 355969d commit 66b12a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Hashish/Hashish.swift
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,12 @@ public class HashishTable<KeyType,CollectionType> where CollectionType:Collectio
return dir
}

private func metadataStorageURL( for collection:CollectionType )->URL
public func metadataStorageURL( for collection:CollectionType )->URL
{
return storageDirectory( ).appendingPathComponent( "\( collection.description ).metadata" ).appendingPathExtension( "hashish" )
}

private func dataStorageURL( for collection:CollectionType )->URL
public func dataStorageURL( for collection:CollectionType )->URL
{
return storageDirectory( ).appendingPathComponent( collection.description ).appendingPathExtension( "hashish" )
}
Expand Down

0 comments on commit 66b12a2

Please sign in to comment.