original_string: public function rmdir($path)
      {
          $path = $this->realpath($path) . '/';
          $length = strlen($path);
          foreach (array_keys($this->files) as $filename) {
              if (substr($filename, 0, $length) === $path) {
                  return false;
              }
          }
          $this->at($path, null);
          return true;
      }
code: public function rmdir($path)
      {
          $path = $this->realpath($path) . '/';
          $length = strlen($path);
          foreach (array_keys($this->files) as $filename) {
              if (substr($filename, 0, $length) === $path) {
                  return false;
              }
          }
          $this->at($path, null);
          return true;
      }
code_tokens: public function rmdir ( $ path ) { $ path = $ this -> realpath ( $ path ) . '/' ; $ length = strlen ( $ path ) ; foreach ( array_keys ( $ this -> files ) as $ filename ) { if ( substr ( $ filename , 0 , $ length ) === $ path ) { return false ; } } $ this -> at ( $ path , null ) ; return true ; }
docstring: Equivalent to PHP `rmdir` function.
  
  @param  string  $path
  @return boolean
docstring_tokens: Equivalent to PHP rmdir function .