original_string: public function touch()
      {
          // Check permissions
          $path = $this->getFullPath();
          if (file_exists($path))
          {
              if (!is_writable($path))
                  Path::makeWritable($path);
          }
  
          touch($path);
          Path::setPermissions($path);
      }
code: public function touch()
      {
          // Check permissions
          $path = $this->getFullPath();
          if (file_exists($path))
          {
              if (!is_writable($path))
                  Path::makeWritable($path);
          }
  
          touch($path);
          Path::setPermissions($path);
      }
code_tokens: public function touch ( ) { // Check permissions $ path = $ this -> getFullPath ( ) ; if ( file_exists ( $ path ) ) { if ( ! is_writable ( $ path ) ) Path :: makeWritable ( $ path ) ; } touch ( $ path ) ; Path :: setPermissions ( $ path ) ; }
docstring: Touch the file, updating its permissions
docstring_tokens: Touch the file updating its permissions