seq_manip

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package to manage manipulation of sequences, ie copy, move, delete

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopySeq

func CopySeq(fs string, fd string, force bool, verbose bool) error

Copy one sequence of files to another, force will allow overwriting. Will perform md5 checksum validation post copy

func DeleteSeq

func DeleteSeq(fs string, force bool, verbose bool) error

Delete the files from disk

func FormatFileLists

func FormatFileLists(fs_source reducers.File_seq, fs_dest reducers.File_seq, force bool) ([]string, []string, error)

Take in File_seq objects and return slices of individual files, also check for inconsistencies between file_seqs such as differet lengths, source files being offline or destition files being online. Tool does not allow for overwriting

func MakeDir

func MakeDir(pth string) error

Abstraction of making directory and checking for errors

func MoveSeq

func MoveSeq(fs string, fd string, force bool, verbose bool) error

Rename one sequence to another (not copy). Original file names will not exist after the move

func ReSeq

func ReSeq(fs string, fd string, verbose bool) error

Renumber a sequence of files, performs a copy to a temp dir, deletes the original files then renames them to the renumbered sequence

Types

This section is empty.

Jump to

Keyboard shortcuts

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