tofromlist: Transform a GRANRepository object into a list

Description Usage Arguments Value Examples

Description

Utility to transform a GRANRepository object into a list so that repos saved using GRANBase can be loaded by GRAN without requiring GRANBase

Usage

1
2
3
RepoToList(repo)

RepoFromList(rlist)

Arguments

repo

repository

rlist

A list with entries that are slot name-value pairs for a GRANRepository object

Value

a list suitable for use with RepoFromList

a GRANRepository object

Examples

1
2
3
repo = GRANRepository(GithubManifest("gmbecker/switchr"), basedir = tempdir())
lst = RepoToList(repo)
repo2 = RepoFromList(lst)

GRANCore documentation built on Feb. 4, 2020, 5:06 p.m.