Update of /cvsroot/python/python/nondist/peps In directory usw-pr-cvs1:/tmp/cvs-serv30879 Modified Files: pep-0262.txt Log Message: Add two methods to interface (old change) Index: pep-0262.txt =================================================================== RCS file: /cvsroot/python/python/nondist/peps/pep-0262.txt,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** pep-0262.txt 29 May 2002 21:24:23 -0000 1.7 --- pep-0262.txt 13 Oct 2002 20:20:23 -0000 1.8 *************** *** 134,137 **** --- 134,145 ---- """ + def find_package (self, path): + """find_file(path:string) : Package + Search and return the package containing the file 'path'. + Returns None if the file doesn't belong to any package + that the InstallationDatabase knows about. + XXX should this work for directories? + """ + class Package: """Instance attributes: *************** *** 164,167 **** --- 172,188 ---- """ + def has_file (self, path): + """has_file(path:string) : Boolean + Returns true if the specified path belongs to a file in this + package. + """ + + def check_file (self, path): + """check_file(path:string) : Boolean + Checks whether the file's size, checksum, and ownership match, + returning true if they do. + """ + + Deliverables
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4