common

package module
v0.0.0-...-401481c Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Overview

Package common provides common functions used by hashR importers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyToLocal

func CopyToLocal(remotePath, sourceID string) (string, error)

CopyToLocal copies a source to a local file system.

func ExtractTarGz

func ExtractTarGz(tarGzPath, outputFolder string) error

ExtractTarGz extracts tar.gz file to given output folder. If directory does not exist, it will be created.

func LocalTempDir

func LocalTempDir(sourceID string) (string, error)

LocalTempDir creates local temporary directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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