read_from_gd: Read from Google Drive a JSON file inside rstudio folder
Description
This is a helper function for [pull()] and [sync()] that:
* reads a json file from Google Drive inside the rstudio folder
* converts it to a data frame (to resolve conflicts in the future)
Usage
read_from_gd(what, progBar = NULL)
Value
A data frame with the contents of the file, converted from json
Arguments
what
One of c("rstudio_bindings", "editor_bindings", "addins"),
the file to read
progBar
function, designed to work with [progress_bar()]. Runs after
the file is read.