wp-admin/includes/class-wp-filesystem-ssh2.php
Lines:
1 to 33 of 33
<?php /* class WP_Filesystem_SSH2 */ /* function WP_Filesystem_SSH2::__construct() – Constructor. */ /* function WP_Filesystem_SSH2::connect() – Connects filesystem. */ /* function WP_Filesystem_SSH2::sftp_path() – Gets the ssh2.sftp PHP stream wrapper path to open for the given file. */ /* function WP_Filesystem_SSH2::run_command() – */ /* function WP_Filesystem_SSH2::get_contents() – Reads entire file into a string. */ /* function WP_Filesystem_SSH2::get_contents_array() – Reads entire file into an array. */ /* function WP_Filesystem_SSH2::put_contents() – Writes a string to a file. */ /* function WP_Filesystem_SSH2::cwd() – Gets the current working directory. */ /* function WP_Filesystem_SSH2::chdir() – Changes current directory. */ /* function WP_Filesystem_SSH2::chgrp() – Changes the file group. */ /* function WP_Filesystem_SSH2::chmod() – Changes filesystem permissions. */ /* function WP_Filesystem_SSH2::chown() – Changes the owner of a file or directory. */ /* function WP_Filesystem_SSH2::owner() – Gets the file owner. */ /* function WP_Filesystem_SSH2::getchmod() – Gets the permissions of the specified file or filepath in their octal format. */ /* function WP_Filesystem_SSH2::group() – Gets the file’s group. */ /* function WP_Filesystem_SSH2::copy() – Copies a file. */ /* function WP_Filesystem_SSH2::move() – Moves a file or directory. */ /* function WP_Filesystem_SSH2::delete() – Deletes a file or directory. */ /* function WP_Filesystem_SSH2::exists() – Checks if a file or directory exists. */ /* function WP_Filesystem_SSH2::is_file() – Checks if resource is a file. */ /* function WP_Filesystem_SSH2::is_dir() – Checks if resource is a directory. */ /* function WP_Filesystem_SSH2::is_readable() – Checks if a file is readable. */ /* function WP_Filesystem_SSH2::is_writable() – Checks if a file or directory is writable. */ /* function WP_Filesystem_SSH2::atime() – Gets the file’s last access time. */ /* function WP_Filesystem_SSH2::mtime() – Gets the file modification time. */ /* function WP_Filesystem_SSH2::size() – Gets the file size (in bytes). */ /* function WP_Filesystem_SSH2::touch() – Sets the access and modification times of a file. */ /* function WP_Filesystem_SSH2::mkdir() – Creates a directory. */ /* function WP_Filesystem_SSH2::rmdir() – Deletes a directory. */ /* function WP_Filesystem_SSH2::dirlist() – Gets details for files in a directory or a specific file. */