[tahoe-lafs-trac-stream] [tahoe-lafs] #1437: Replace os.path (etc.) with twisted.python.filepath

tahoe-lafs trac at tahoe-lafs.org
Mon Jul 18 21:24:42 PDT 2011


#1437: Replace os.path (etc.) with twisted.python.filepath
-------------------------------+---------------------------
     Reporter:  arch_o_median  |      Owner:  arch_o_median
         Type:  defect         |     Status:  new
     Priority:  minor          |  Milestone:  undecided
    Component:  unknown        |    Version:  1.8.2
   Resolution:                 |   Keywords:
Launchpad Bug:                 |
-------------------------------+---------------------------
Description changed by arch_o_median:

Old description:

> The filepath file system interface offers a single consistent object
> oriented interface for the various file system operations we need.
> Initially we just wanted to know if a file was the descendant of some
> directory, but this seemingly trivial question is not easily answered
> with the traditional python file system libraries (e.g. shutil, os.path,
> the open builtin, ... etc).  Moreover these functions are not to be found
> in a single place, and lack a consistent interface.
>   Additionally we think filepath is unique in offering atomic overwrite,
> (through setContent).  So this ticket is to replace all the older ways of
> manipulating the filesystem with shiny new FilePath.

New description:

 The filepath file system interface offers a single consistent object
 oriented interface for the various file system operations we need.
 Initially we just wanted to know if a file was the descendant of some
 directory, but this seemingly trivial question is not easily answered with
 the traditional python file system libraries (e.g. shutil, os.path, the
 open builtin, ... etc).  Moreover these functions are not to be found in a
 single place, and lack a consistent interface.
   Additionally we think filepath is unique in offering atomic overwrite,
 (through setContent).  So this ticket is to replace all the older ways of
 manipulating the filesystem with shiny new !FilePath.

--

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1437#comment:1>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list