Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/util.py @ 18911:451eb1c27c1b
util: improve doc for checkcase
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 11 Feb 2013 00:43:12 +0100 |
parents | cafa447a7d3b |
children | 0080d0d1fcb3 |
comparison
equal
deleted
inserted
replaced
18910:b52404a914a9 | 18911:451eb1c27c1b |
---|---|
635 | 635 |
636 # File system features | 636 # File system features |
637 | 637 |
638 def checkcase(path): | 638 def checkcase(path): |
639 """ | 639 """ |
640 Check whether the given path is on a case-sensitive filesystem | 640 Return true if the given path is on a case-sensitive filesystem |
641 | 641 |
642 Requires a path (like /foo/.hg) ending with a foldable final | 642 Requires a path (like /foo/.hg) ending with a foldable final |
643 directory component. | 643 directory component. |
644 """ | 644 """ |
645 s1 = os.stat(path) | 645 s1 = os.stat(path) |