Changeset View
Changeset View
Standalone View
Standalone View
src/upload/ArcanistFileDataRef.php
Context not available. | |||||
} else { | } else { | ||||
$data = $this->data; | $data = $this->data; | ||||
$this->hash = $this->newDataHash($data); | $this->hash = $this->newDataHash($data); | ||||
$this->size = strlen($data); | $this->size = @strlen($data); | ||||
} | } | ||||
} | } | ||||
Context not available. | |||||
$len = ($end - $start); | $len = ($end - $start); | ||||
if ($this->data !== null) { | if ($this->data !== null) { | ||||
return substr($this->data, $start, $len); | return @substr($this->data, $start, $len); | ||||
} | } | ||||
$path = $this->path; | $path = $this->path; | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0