Opened at 2015-06-01T22:33:28Z
Last modified at 2015-06-11T16:34:37Z
#2442 closed defect
implement flat hierarchy file representation scheme for magicfolder — at Version 4
Reported by: | dawuud | Owned by: | daira |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | code-frontend-magic-folder | Version: | 1.10.0 |
Keywords: | otf-magic-folder-objective4 | Cc: | |
Launchpad Bug: |
Description (last modified by daira)
Daira and I were just discussing using an escape character to represent directory "/"... we're thinking to use "@" as the escape character. It should work the same way bash backslashes work... if the user specified an @ character in the directory name then we escape it by specifying two of them @@
Change History (4)
comment:1 Changed at 2015-06-01T22:58:25Z by dawuud
- Description modified (diff)
comment:2 Changed at 2015-06-02T00:16:16Z by dawuud
comment:3 Changed at 2015-06-03T02:00:32Z by daira
We changed the escape for "/" to "@_", since escaping it as a single "@" would be ambiguous. (Consider "foo/@/bar" and "foo@@bar" which both escape to "foo@@@@bar" in the previous scheme.)
comment:4 Changed at 2015-06-03T02:01:42Z by daira
- Component changed from unknown to code-frontend-magic-folder
- Description modified (diff)
- Keywords otf-magic-folder-objective4 added
Note: See
TracTickets for help on using
tickets.
ok my rough draft code for this is here: https://github.com/david415/tahoe-lafs/tree/magic-path-encoding.1
should i close this ticket as a duplicate? i noticed Daira commented about this task in that other ticket here: https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2438