sync_workspace_asset {gofigR}R Documentation

Syncs a file with the GoFigr service

Description

  1. If we haven't seen this file before, creates a new asset and a new revision

  2. If we have seen the file but haven't seen this revision, creates a new revision

  3. If we have seen this revision, returns the existing revision

Usage

sync_workspace_asset(gf, workspace_id, path)

Arguments

gf

GoFigr client

workspace_id

parent workspace in case we have to create a brand new asset

path

path to file

Value

asset revision object


[Package gofigR version 1.1.0 Index]