ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Veselovskiy <iveselovs...@gridgain.com>
Subject IGFS: properties to use for implicit mkdirs
Date Tue, 13 Oct 2015 17:01:40 GMT
Currently we have #create, #append , #mkdirs operations that implicitly
create parent directories if they are absent.
Now #mkdirs uses the properties passed in for the implicitly created
directories if they are not null, and uses default properties (with 0777
permission flag) if the properties are not given.
#create & #append use for the implicitly created directories properties
passed in for newly created file, if the passed in properties are not null,
and use default properties (with 0777 permission flag) if they are not
given.
The question is: wouldn't it be more logical to always use defaults for the
implicitly created directories?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message