summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-09-29 10:46:02 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-09-29 10:46:02 +1000
commit954a4d2fbbd25174df1d373c632a7b2d241656a1 (patch)
tree4351df0492ffb9df31678e9a07989e4672e73674
parent6da1cf87b16dc33b19e50433b3f52cb4ce3f5331 (diff)
My commit summarylazygit-crash-course
My commit description
-rw-r--r--pkg/commands/oscommands/copy.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/commands/oscommands/copy.go b/pkg/commands/oscommands/copy.go
index aab460e47..8c0fd2344 100644
--- a/pkg/commands/oscommands/copy.go
+++ b/pkg/commands/oscommands/copy.go
@@ -74,6 +74,11 @@ func CopyFile(src, dst string) (err error) {
return //nolint: nakedret
}
+// If I was less lazy
+// I would actually think
+// of a way to add some real code
+// for the sake of an example
+
// CopyDir recursively copies a directory tree, attempting to preserve permissions.
// Source directory must exist. If destination already exists we'll clobber it.
// Symlinks are ignored and skipped.