summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-11-02 08:10:22 +0100
committerMichał Górny <mgorny@gentoo.org>2017-11-02 08:10:22 +0100
commita179c573e87058476c7bbd9113f787c557c3b932 (patch)
tree506484dd92a2a19513420bde660a46a44b2399e6
parent4e8dbb857762b98c784bbb517c644b7dd90526c0 (diff)
downloadgemato-a179c573e87058476c7bbd9113f787c557c3b932.tar.gz
profile: Add missing doc for want_manifest_in_directory()
-rw-r--r--gemato/profile.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/gemato/profile.py b/gemato/profile.py
index e790604..3681bf1 100644
--- a/gemato/profile.py
+++ b/gemato/profile.py
@@ -22,6 +22,16 @@ class DefaultProfile(object):
return 'DATA'
def want_manifest_in_directory(self, relpath, dirnames, filenames):
+ """
+ Determine whether a Manifest file is expected in the specified
+ directory. @relpath is the relative path to the directory,
+ @dirnames and @filenames list respectively all directories
+ and files directly underneath it.
+
+ Should return True if Manifest is expected, False otherwise.
+ If True is returned and the directory does not contain a single
+ file of Manifest type, a new one will be created as 'Manifest'.
+ """
return False