From 1fe1e8a0771a8db0b7c1f8c39f770999acd0a764 Mon Sep 17 00:00:00 2001 From: danimtb Date: Mon, 20 Jul 2020 14:28:30 +0200 Subject: [PATCH] Document the return value of self.copy() in the package method --- reference/conanfile/methods.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/conanfile/methods.rst b/reference/conanfile/methods.rst index 2c8dff1ae18a..c651a9616a17 100644 --- a/reference/conanfile/methods.rst +++ b/reference/conanfile/methods.rst @@ -138,6 +138,8 @@ The syntax of ``self.copy`` inside ``package()`` is as follows: self.copy(pattern, dst="", src="", keep_path=True, symlinks=None, excludes=None, ignore_case=False) +Returns: A list with absolute paths of the files copied in the destination folder. + Parameters: - **pattern** (Required): A pattern following fnmatch syntax of the files you want to copy, from the build to the package folders. Typically something like ``*.lib`` or ``*.h``.