maint: copy: document a member of struct cp_options

* src/copy.h (struct cp_options): Document the src_info member.
This commit is contained in:
Collin Funk committed 2026-08-08 20:30:05 -07:00
1 parent 786488adef
commit d4919e8389
1 file changed
+6 -1
+6 -1
View File
@@ -298,7 +298,12 @@ struct cp_options
this feature. */
Hash_table *dest_info;
/* FIXME */
/* This is a set of dev/inode pairs. This allows 'cp' to warn when the
same file is given multiple times on the command line. E.g., with
invocations like this:
rm -rf a b; touch a; mkdir b; cp a a ./a b
Use src_info_init to initialize it, or set it to NULL to disable
this feature. */
Hash_table *src_info;
};