From 2abaf6c11b5fa2184bf7944831a1cb1161f21859 Mon Sep 17 00:00:00 2001 From: Michal Pristas Date: Tue, 18 Apr 2023 09:00:25 +0200 Subject: [PATCH] Update README.md Co-authored-by: Hiromu OCHIAI --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 699ca3f..dc66c4e 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ type Options struct { // OnDirExists can specify what to do when there is a directory already existing in destination. OnDirExists func(src, dest string) DirExistsAction - // OnErr lets called decide whether or not to continue on particular copy error. + // OnError can let users decide how to handle errors (e.g., you can suppress specific error). OnError func(src, dest, string, err error) error // Skip can specify which files should be skipped