ExtGitignore: Extension Gitignore file class

ExtGitignoreR Documentation

Extension Gitignore file class

Description

A class for generating the .gitignore file of an extension package.

Details

This class can be used to generate a new .gitignore file or to keep one up to date.

Super classes

biodb::ExtGenerator -> biodb::ExtFileGenerator -> ExtGitignore

Methods

Public methods

Inherited methods

Method new()

Initializer.

Usage
ExtGitignore$new(...)
Arguments
...

See the constructor of ExtFileGenerator for the parameters.

Returns

Nothing.


Method clone()

The objects of this class are cloneable with this method.

Usage
ExtGitignore$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

# Generate a new package:
pkgFolder <- file.path(tempfile(), 'biodbFoo')
dir.create(pkgFolder, recursive=TRUE)
biodb::ExtGitignore$new(path=pkgFolder)$generate()


pkrog/biodb documentation built on Nov. 29, 2022, 4:24 a.m.