/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Robert Collins
  • Date: 2006-06-13 12:54:39 UTC
  • mto: (1767.2.2 integration)
  • mto: This revision was merged to the branch mainline in revision 1769.
  • Revision ID: robertc@robertcollins.net-20060613125439-5cbc77171d03a1a8
Review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
            raise bzrlib.errors.NoSuchFile(f)
116
116
        raise
117
117
 
118
 
    return _mapper(_lstat(f).st_mode)
119
 
 
120
118
 
121
119
def kind_marker(kind):
122
120
    if kind == 'file':
820
818
    The data yielded is of the form:
821
819
    [(relpath, basename, kind, lstat, path_from_top), ...]
822
820
 
823
 
    :param prefix: Treat prefix as the initial root of the tree, rather than ""
 
821
    :param prefix: Prefix the relpaths that are yielded with 'prefix'. This 
 
822
        allows one to walk a subtree but get paths that are relative to a tree
 
823
        rooted higher up.
824
824
    :return: an iterator over the dirs.
825
825
    """
826
826
    lstat = os.lstat