For a given PUT path, create all intermediate subdirectories for given path. Return 0 if the path itself is a directory, or -1 on error, 1 if OK.
source not stored for this graph (policy: none)
no test coverage detected