utils

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Copyright (C) 2023 by Posit Software, PBC

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilePathGetter

type FilePathGetter interface {
	GetFilePath(outputDir string, arch *archive.Results) string
	GetReadmePath(outputDir string, arch *archive.Results) string
}

type FilePathGetterFactory

type FilePathGetterFactory interface {
	GetFilePathGetter(schemaVersion int) (FilePathGetter, error)
}

func NewBiocFilePathGetterFactory

func NewBiocFilePathGetterFactory() FilePathGetterFactory

func NewFilePathGetterFactory

func NewFilePathGetterFactory() FilePathGetterFactory

type LocalSourceFilePathGetter

type LocalSourceFilePathGetter struct{}

LocalSourceFilePathGetter is used by local sources, which don't distinguish on schema versions

func (*LocalSourceFilePathGetter) GetFilePath

func (g *LocalSourceFilePathGetter) GetFilePath(outputDir string, arch *archive.Results) string

func (*LocalSourceFilePathGetter) GetReadmePath

func (g *LocalSourceFilePathGetter) GetReadmePath(outputDir string, arch *archive.Results) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL