[tahoe-lafs-trac-stream] [tahoe-lafs] #2047: refactor *Source classes in tahoe_cp.py to have a basename() method rather than passing around (name, source) pairs
tahoe-lafs
trac at tahoe-lafs.org
Wed Aug 7 00:49:49 UTC 2013
#2047: refactor *Source classes in tahoe_cp.py to have a basename() method rather
than passing around (name, source) pairs
-----------------------------------+------------------------------
Reporter: daira | Owner: daira
Type: defect | Status: assigned
Priority: normal | Milestone: undecided
Component: code-frontend-cli | Version: 1.10.0
Resolution: | Keywords: cleanup tahoe-cp
Launchpad Bug: |
-----------------------------------+------------------------------
Description changed by daira:
Old description:
> Much of the code in [source:src/allmydata/scripts/tahoe-cp.py] passes
> around `(name, source)` pairs, where the name is the basename (i.e. last
> path component) of the source object. The source object should instead
> have a `basename()` method. (It is called that in Twisted's `FilePath`
> API.)
New description:
Much of the code in [source:src/allmydata/scripts/tahoe_cp.py] passes
around `(name, source)` pairs, where the name is the basename (i.e. last
path component) of the source object. The source object should instead
have a `basename()` method. (It is called that in Twisted's `FilePath`
API.)
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2047#comment:2>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list