updateDropChildren: Update the children element to reflect current state

Description Usage Arguments Value

Description

This function create new entries for new folders and remove entries for no longer existing folders, while keeping the state of transient folders in the children element of the tree structure. The function does not recurse into the folders, but merely creates a shell that traverseDropDirs can take as input.

Usage

1
updateDropChildren(oldChildren, currentChildren)

Arguments

oldChildren

A list of children folders from the parent$children element of tree in traverseDropDirs

currentChildren

A vector of names of the folders that are currently present in the parent of oldChildren

Value

An updated list equal in format to oldChildren


armelmoth/shinyFilesDropBox documentation built on May 17, 2019, 11:14 p.m.