diff --git a/DESCRIPTION b/DESCRIPTION index 9e21670..c86846c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: SewerRat -Version: 0.2.9 -Date: 2024-10-03 +Version: 0.2.10 +Date: 2024-10-18 Title: Client for the SewerRat API Description: Search metadata files across a shared filesystem via the SewerRat API. diff --git a/R/startSewerRat.R b/R/startSewerRat.R index 86d2b73..bdc2861 100644 --- a/R/startSewerRat.R +++ b/R/startSewerRat.R @@ -25,7 +25,7 @@ #' startSewerRat() # initialize a new instance. #' #' @export -startSewerRat <- function(db=tempfile(fileext=".sqlite3"), port=NULL, wait = 1, version = "1.0.9", overwrite = FALSE) { +startSewerRat <- function(db=tempfile(fileext=".sqlite3"), port=NULL, wait = 1, version = "1.0.11", overwrite = FALSE) { if (!is.null(running$active)) { return(list(new=FALSE, port=running$port, url=assemble_url(running$port))) } diff --git a/vignettes/userguide.Rmd b/vignettes/userguide.Rmd index b86caff..03a7133 100644 --- a/vignettes/userguide.Rmd +++ b/vignettes/userguide.Rmd @@ -50,6 +50,7 @@ write(file=file.path(mydir, "stuff", "metadata.json"), '{ "food": "barramundi" } We can then easily register it with the `register()` function. The example below will only index metadata files inside `mydir` named `metadata.json`, though any number of base names can be supplied here. +We can also instruct SewerRat to skip indexing of a subdirectory within `mydir` by creating a `.SewerRatignore` file inside that subdirectory. ```{r} library(SewerRat)