Changeset 25457 in project


Ignore:
Timestamp:
10/29/11 03:05:57 (9 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [70.71.179.201]: Last one...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/physicsfs

    r25456 r25457  
    238238; (mkdir dirName) : Create a directory.
    239239
    240 This is specified in platform-independent notation in relation to the write dir. All missing parent directories are also created if they
    241  don't exist.
     240This is specified in platform-independent notation in relation to the write dir. All missing parent directories are also created if they don't exist.
    242241
    243242So if you've got the write dir set to "C:\mygame\writedir" and call (mkdir "downloads/maps") then the directories "C:\mygame\writedir\downloads" and "C:\mygame\writedir\downloads\maps" will be created if possible. If the creation of "maps" fails after we have successfully created "downloads", then the function leaves the created directory behind and reports failure.
Note: See TracChangeset for help on using the changeset viewer.