+1 to always creating the graph directory if it doesn't exist.
However, I'm not sure it's necessary to create all files at
construction time. Persistent graph DBs may write data to disk from
startup time up to and including shutdown time, and files (e.g. index
files, string tables, etc.) may be created or deleted at any point
along the way. So I don't think TinkerGraph should have to create a
(possibly empty) data file at construction time. Perhaps creating the
graph directory and checking that it is writable, at shudown time,
would be reasonable?
On Sun, Jul 31, 2011 at 1:27 PM, Pierre De Wilde