Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB82910929 for ; Fri, 19 Dec 2014 18:57:57 +0000 (UTC) Received: (qmail 4665 invoked by uid 500); 19 Dec 2014 18:57:57 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 4603 invoked by uid 500); 19 Dec 2014 18:57:57 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 4592 invoked by uid 99); 19 Dec 2014 18:57:56 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2014 18:57:56 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 869CBA2FDB3; Fri, 19 Dec 2014 18:57:56 +0000 (UTC) From: kxepal To: dev@couchdb.apache.org Reply-To: dev@couchdb.apache.org References: In-Reply-To: Subject: [GitHub] couchdb-couch pull request: Modify init_delete_dir to be async Content-Type: text/plain Message-Id: <20141219185756.869CBA2FDB3@tyr.zones.apache.org> Date: Fri, 19 Dec 2014 18:57:56 +0000 (UTC) Github user kxepal commented on a diff in the pull request: https://github.com/apache/couchdb-couch/pull/27#discussion_r22121802 --- Diff: src/couch_file.erl --- @@ -260,10 +260,19 @@ init_delete_dir(RootDir) -> % note: ensure_dir requires an actual filename companent, which is the % reason for "foo". filelib:ensure_dir(filename:join(Dir,"foo")), --- End diff -- Btw, there is no need to provide magic "foo" word here. Just let Dir trail with slash as directory paths have to be and it will works without magic. --- 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 infrastructure@apache.org or file a JIRA ticket with INFRA. ---