cmd

package
v0.0.0-...-4ee0c84 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright © 2024 Sai Kumar <gskumar967@gmail.com>

Index

Constants

This section is empty.

Variables

View Source
var (
	FlagChunkSize string = "chunk_size"
)

Functions

func DeltaCmd

func DeltaCmd() *cobra.Command

DeltaCmd returns cmd for generate delta of two files

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GenSigCmd

func GenSigCmd() *cobra.Command

GenSigCmd returns cmd for generating signature for given file.

func RunERHA

func RunERHA(originalFile, newFile string, chunkSize int64) error

RunERHA will process the signatures of given original file and compare the new file with original file signature

Types

This section is empty.

Jump to

Keyboard shortcuts

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