lib/nano_store/store_extension.rb
def save_store(path, compact=true)
    error_ptr = Pointer.new(:id)
    result = self.saveStoreToDirectoryAtPath(path, compactDatabase:compact, error:error_ptr)
    raise NanoStore::NanoStoreError, error_ptr[0].description if error_ptr[0]
    result
  end
# Makes a copy of the document store to a different location and optionally compacts it to its minimum size. 
Makes a copy of the document store to a different location and optionally compacts it to its minimum size.
Makes a copy of the document store to a different location and optionally compacts it to its minimum size .
def save_store(path, compact=true)
    error_ptr = Pointer.new(:id)
    result = self.saveStoreToDirectoryAtPath(path, compactDatabase:compact, error:error_ptr)
    raise NanoStore::NanoStoreError, error_ptr[0].description if error_ptr[0]
    result
  end
def save_store ( path , compact = true ) error_ptr = Pointer . new ( :id ) result = self . saveStoreToDirectoryAtPath ( path , compactDatabase : compact , error : error_ptr ) raise NanoStore :: NanoStoreError , error_ptr [ 0 ] . description if error_ptr [ 0 ] result end
Makes a copy of the document store to a different location and optionally compacts it to its minimum size.
Makes a copy of the document store to a different location and optionally compacts it to its minimum size .
path
compact