You are here

public function S3fsStream::stream_lock in S3 File System 8.2

Same name and namespace in other branches
  1. 8.3 src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::stream_lock()
  2. 4.0.x src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::stream_lock()

This wrapper does not support flock().

Return value

bool Always Returns FALSE.

Overrides PhpStreamWrapperInterface::stream_lock

See also

http://php.net/manual/en/streamwrapper.stream-lock.php

File

src/StreamWrapper/S3fsStream.php, line 586

Class

S3fsStream
Defines a Drupal s3fs (s3fs://) stream wrapper class.

Namespace

Drupal\s3fs\StreamWrapper

Code

public function stream_lock($operation) {
  $this
    ->_debug("stream_lock({$operation}) called. S3fsStreamWrapper doesn't support this function.");
  return FALSE;
}