@gen.engine
def ListFilesAndDirs(store, pattern, callback):
 result = (yield gen.Task(ListAllCommonPrefixes, store, '/', prefix=PrefixFromPattern(pattern)))
 callback(result)

@ gen . engine def ListFilesAndDirs ( store , pattern , callback ) : result = ( yield gen . Task ( ListAllCommonPrefixes , store , '/' , prefix = PrefixFromPattern ( pattern ) ) ) callback ( result )
list all subdirectories and files in a directory .