[PATCH 9 of 9] store: invoke "osutil.listdir()" via vfs

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Tue Oct 9 06:16:18 UTC 2012


At Mon, 08 Oct 2012 15:13:51 -0500,
Matt Mackall wrote:
> 
> On Tue, 2012-10-09 at 02:06 +0900, FUJIWARA Katsunori wrote:
> > # HG changeset patch
> > # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> > # Date 1349714515 -32400
> > # Node ID ac075cf7b46384292be10617d6261cd070f07c37
> > # Parent  e821f4ebf5a1082e750b07964e0ee291272bb458
> > store: invoke "osutil.listdir()" via vfs
> > 
> > This patch invokes "osutil.listdir()" via vfs object.
> > 
> > The function added newly to "abstractvfs" is named not as "listdir()"
> > but as "listdir2()": "listdir()" will be used to add the function for
> > "os.listdir()" invocation, because "os.listdir()" seems to be more
> > familiar as "listdir()" than "osutil.listdir()".
> 
> How about readdir? This matches the name of the POSIX API, that on some
> systems includes the DT_TYPE field that we use here.

It looks good ! I'll post refreshed one.

----------------------------------------------------------------------
[FUJIWARA Katsunori]                             foozy at lares.dti.ne.jp



More information about the Mercurial-devel mailing list