importer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Imp

type Imp struct {
	Client    arkv1connect.ArkApiClient
	FileTypes []string
	Logger    *zap.Logger
}

func (*Imp) Import

func (imp *Imp) Import(ctx context.Context, sourceDir string) error

type Importer

type Importer interface {
	// Import imports all files in sourceDir, skipping duplicates
	Import(ctx context.Context, sourceDir string) error
}

Jump to

Keyboard shortcuts

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