This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 97bfcda Docco
97bfcda is described below
commit 97bfcda5a310ae526a10f2b177814e2398fd87bd
Author: Sebb <[email protected]>
AuthorDate: Tue Nov 26 11:39:12 2019 +0000
Docco
---
lib/whimsy/asf/memapps.rb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/whimsy/asf/memapps.rb b/lib/whimsy/asf/memapps.rb
index f86ac9d..3c2cdf2 100644
--- a/lib/whimsy/asf/memapps.rb
+++ b/lib/whimsy/asf/memapps.rb
@@ -42,6 +42,9 @@ module ASF
ASF::Person.asciize(name.strip.downcase.gsub(/[.,()"]/,''))
end
+ # search for file name
+ # @return filename if it exists, or
+ # return full name if filename matches the stem of a file
def self.search(filename)
names = self.names()
if names.include?(filename)