Skip to content
  • Reid Spencer's avatar
    Final Changes For PR495: · af48d864
    Reid Spencer authored
    This chagne just renames some sys::Path methods to ensure they are not
    misused. The Path documentation now divides methods into two dimensions:
    Path/Disk and accessor/mutator. Path accessors and mutators only operate
    on the Path object itself without making any disk accesses. Disk accessors
    and mutators will also access or modify the file system. Because of the
    potentially destructive nature of disk mutators, it was decided that all
    such methods should end in the work "Disk" to ensure the user recognizes
    that the change will occur on the file system. This patch makes that
    change. The method name changes are:
    
    makeReadable        -> makeReadableOnDisk
    makeWriteable       -> makeWriteableOnDisk
    makeExecutable      -> makeExecutableOnDisk
    setStatusInfo       -> setStatusInfoOnDisk
    createDirectory     -> createDirectoryOnDisk
    createFile          -> createFileOnDisk
    createTemporaryFile -> createTemporaryFileOnDisk
    destroy             -> eraseFromDisk
    rename              -> renamePathOnDisk
    
    These changes pass the Linux Deja Gnu tests.
    
    llvm-svn: 22354
    af48d864
Loading