Github user nickva commented on the issue:

    https://github.com/apache/couchdb-couch/pull/217
  
    +1
    
    ```
    ([email protected])1> couch_util:drop_dot_couch_ext("").
    []
    ([email protected])2> couch_util:drop_dot_couch_ext("abc").
    "abc"
    ([email protected])3> couch_util:drop_dot_couch_ext("a.couch$").
    "a.couch$"
    ([email protected])4> couch_util:drop_dot_couch_ext("a.couch").
    "a"
    ([email protected])5> couch_util:drop_dot_couch_ext(<<".couch">>).
    <<>>
    ([email protected])6> couch_util:drop_dot_couch_ext(<<"..couch">>).
    <<".">>
    ([email protected])7> couch_util:drop_dot_couch_ext(<<".couch">>).
    <<>>
    ([email protected])9> 
couch_util:drop_dot_couch_ext(<<"shards/00000000-1fffffff/a/b.1475265285.couch">>).
    <<"shards/00000000-1fffffff/a/b.1475265285">>
    ```
    
    Tests are failings, but that's a different error (mrview tests I think)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to