public function S3fsStream::stream_truncate in S3 File System 8.3
Same name and namespace in other branches
- 8.2 src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::stream_truncate()
- 4.0.x src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::stream_truncate()
Truncate stream.
Will respond to truncation; e.g., through ftruncate().
Parameters
int $new_size: The new size.
Return value
bool TRUE on success, FALSE otherwise.
Overrides PhpStreamWrapperInterface::stream_truncate
File
- src/
StreamWrapper/ S3fsStream.php, line 817
Class
- S3fsStream
- Defines a Drupal s3 (s3://) stream wrapper class.
Namespace
Drupal\s3fs\StreamWrapperCode
public function stream_truncate($new_size) {
// phpcs:disable
return FALSE;
}