Page MenuHomePhabricator

Turn TryCreateDirectory() into TryCreateDirectories()
ClosedPublic

Authored by deadalnix on Jan 4 2018, 22:41.

Details

Summary

Use case: TryCreateDirectory(GetDataDir() / "blocks" / "index") would
fail if the blocks directory was not explicitly created before.

The line that did so was in a weird location and could be removed as a
result.

Backport of core's PR9895

Depends on D892

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
createdir
Lint
Lint Passed
SeverityLocationCodeMessage
Auto-Fixsrc/qt/intro.cpp:1CFMTCode style violation
Unit
No Test Coverage
Build Status
Buildable 1519
Build 1519: arc lint + arc unit