dircmp

command module
v0.0.0-...-e54b549 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 3 Imported by: 0

README

Directory Compare

Command line utility to compare one directory to another.

Testing

To run tests:

go test ./compare/

To run tests and benchmarks:

go test ./compare/ -bench .

To only run benchmarks (without tests):

go test ./compare/ -run ! -bench .

To run all tests (including long tests):

go test ./compare/ -long

To run all benchmarks (including long benchmarks but not tests):

go test ./compare/ -run ! -bench . -long

Benchmarks

Some benchmarks require a large directory in the test directory (./test/large/) that contains many large files. The large directory should contain a nested hierarchy of directories also containing large files. Any file with a file size greater than 1 MB is sufficient. The large directory should exceed 1 GB to ensure reliable results. The large directory is intentionally ignored by git.

License

This project is licensed under the terms of the MIT license.

See License for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lib

Jump to

Keyboard shortcuts

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