Difference between revisions of "User talk:David corrales"

Jump to navigation Jump to search
Updated some method proposals
(Updated some method proposals)
Line 302: Line 302:




'''exists(path) -> bool''': true if the file exists. '''Implemented'''


'''split(path) -> head, tail''': split the pathname path into a pair, (head, tail) where tail is the last pathname component and head is everything leading up to that. (python os.path)
'''split(path) -> head, tail''': split the pathname path into a pair, (head, tail) where tail is the last pathname component and head is everything leading up to that. (python os.path)
Line 311: Line 312:
'''isAbsolute(path) -> bool''': return True if path is an absolute pathname (begins with a slash). (python os.path)
'''isAbsolute(path) -> bool''': return True if path is an absolute pathname (begins with a slash). (python os.path)


'''isReadable(path) -> bool''': true if the file can be read.
'''isReadable(path) -> bool''': true if the file can be read. '''Implemented'''


'''isWritable(path) -> bool''': true if the file can be written.
'''isWritable(path) -> bool''': true if the file can be written. '''Implemented'''


'''count(dir) -> int''': returns the total number of directories and files in the directory. (Qt)
'''count(dir) -> int''': returns the total number of directories and files in the directory. (Qt)
Line 322: Line 323:


'''getCanonicalPath(path) ->  path''': returns the canonical pathname string of the abstract pathname. (Java)
'''getCanonicalPath(path) ->  path''': returns the canonical pathname string of the abstract pathname. (Java)
'''Update 05/06''': marked some methods as implemented.


== Misc ==
== Misc ==

Navigation menu