Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103123092
DifferentialLegacyHunk.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Feb 27, 11:23
Size
788 B
Mime Type
text/x-php
Expires
Sat, Mar 1, 11:23 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
24472973
Attached To
rPH Phabricator
DifferentialLegacyHunk.php
View Options
<?php
final
class
DifferentialLegacyHunk
extends
DifferentialHunk
{
protected
$changes
;
protected
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'changes'
=>
'text?'
,
'oldOffset'
=>
'uint32'
,
'oldLen'
=>
'uint32'
,
'newOffset'
=>
'uint32'
,
'newLen'
=>
'uint32'
,
),
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'changesetID'
=>
array
(
'columns'
=>
array
(
'changesetID'
),
),
),
)
+
parent
::
getConfiguration
();
}
public
function
getTableName
()
{
return
'differential_hunk'
;
}
public
function
getDataEncoding
()
{
return
'utf8'
;
}
public
function
forceEncoding
(
$encoding
)
{
// Not supported, these are always utf8.
return
$this
;
}
}
Event Timeline
Log In to Comment