QFURHRTPVQM7FXYJCYJEKQ7ZB7JPFSBEM4GM3SJIEU6MHVYRQ3EQC
Live.Head = 0
Live.Next_version = 1
Live.History = {} -- array of filename roots corresponding to each numeric prefix
Live.Manifest = {} -- mapping from roots to numeric prefixes as of version Live.Head
Live.head = 0
Live.next_version = 1
Live.history = {} -- array of filename roots corresponding to each numeric prefix
Live.manifest = {} -- mapping from roots to numeric prefixes as of version Live.head
Live.Head = tonumber(head_string)
if Live.Head > 0 then
Live.Manifest = json.decode(love.filesystem.read(live.versioned_manifest(Live.Head)))
Live.head = tonumber(head_string)
if Live.head > 0 then
Live.manifest = json.decode(love.filesystem.read(live.versioned_manifest(Live.head)))
table.insert(Live.History, binding)
Live.Manifest.parent = Live.Head
local manifest_filename = live.versioned_manifest(Live.Next_version)
love.filesystem.write(manifest_filename, json.encode(Live.Manifest))
Live.Head = Live.Next_version
love.filesystem.write('head', tostring(Live.Head))
Live.Next_version = Live.Next_version + 1
table.insert(Live.history, binding)
Live.manifest.parent = Live.head
local manifest_filename = live.versioned_manifest(Live.next_version)
love.filesystem.write(manifest_filename, json.encode(Live.manifest))
Live.head = Live.next_version
love.filesystem.write('head', tostring(Live.head))
Live.next_version = Live.next_version + 1
table.insert(Live.History, binding)
Live.Manifest[binding] = Live.Next_version
Live.Manifest.parent = Live.Head
local manifest_filename = live.versioned_manifest(Live.Next_version)
love.filesystem.write(manifest_filename, json.encode(Live.Manifest))
Live.Head = Live.Next_version
love.filesystem.write('head', tostring(Live.Head))
Live.Next_version = Live.Next_version + 1
table.insert(Live.history, binding)
Live.manifest[binding] = Live.next_version
Live.manifest.parent = Live.head
local manifest_filename = live.versioned_manifest(Live.next_version)
love.filesystem.write(manifest_filename, json.encode(Live.manifest))
Live.head = Live.next_version
love.filesystem.write('head', tostring(Live.head))
Live.next_version = Live.next_version + 1
Live.Head = Live.Manifest.parent
local previous_manifest_filename = live.versioned_manifest(Live.Head)
Live.Manifest = json.decode(love.filesystem.read(previous_manifest_filename))
Live.head = Live.manifest.parent
local previous_manifest_filename = live.versioned_manifest(Live.head)
Live.manifest = json.decode(love.filesystem.read(previous_manifest_filename))