chrome/test/mini_installer/file_operations.py
def GetDirContents(path):
        """Returns a list of all files and directories in a directory."""
        contents = []
        for dirpath, dirnames, filenames in os.walk(path):
            for a_dir in dirnames:
                contents.append('%s\\' % os.path.join(dirpath, a_dir))
            for a_file in filenames:
                contents.append(os.path.join(dirpath, a_file))
        contents.sort()
        return '\n'.join(contents)
Returns a list of all files and directories in a directory.
Returns a list of all files and directories in a directory.
Returns a list of all files and directories in a directory .
def GetDirContents(path):
        contents = []
        for dirpath, dirnames, filenames in os.walk(path):
            for a_dir in dirnames:
                contents.append('%s\\' % os.path.join(dirpath, a_dir))
            for a_file in filenames:
                contents.append(os.path.join(dirpath, a_file))
        contents.sort()
        return '\n'.join(contents)
def GetDirContents ( path ) : contents = [ ] for dirpath , dirnames , filenames in os . walk ( path ) : for a_dir in dirnames : contents . append ( '%s\\' % os . path . join ( dirpath , a_dir ) ) for a_file in filenames : contents . append ( os . path . join ( dirpath , a_file ) ) contents . sort ( ) return '\n' . join ( contents )
Returns a list of all files and directories in a directory.
Returns a list of all files and directories in a directory .
"""Returns a list of all files and directories in a directory."""
path