TQUPMJPKOZDDU5JME3AAS3YIYA2SRKHZB3BI4CHI4FR3IQSHMBGAC
6VPJTZFS3WAMZLQNHPABV5YWOZZYQAONCJ4QJAA3BO6XSGYL6OCAC
YRN76EXV3KEOH3TD23RSL56RB2UJPBB7OC7PT64GSVWVTJUOJGFQC
R5QXEHUIZLELJGGCZAE7ATNS3CLRJ7JFRENMGH4XXH24C5WABZDQC
FIUQJVL2MCC4VKKX7JBT6377TWIGPTUC5NXMUABV5JILB3ZDWZFAC
ARLTID7GKRO7SHDGRDQ3WJ25VX37GZQFQ2YWUC3B6BQRV5HOC6JAC
2AZCZD6X7SH4Y5M6K3H4QTIEF3WWI6RQ4HAHJ2KCO6BT6JIU2MMQC
NM2SILGFTYCIH7TDU3PU3U67J5KLZMDERTFLZQ3DA7WYGWPKEHKAC
SJXIMERSV47SKYWCC5TA7TFGRWNN27S5FJE2PS5D46T5HOUN3V2AC
JOY24JW6ELCMS44MMPC2YBO6DX5KJL6DPGNHQOOSGQLYZ5OLGW5AC
refresh_directory_contents = function()
Directory_contents = {}
local filenames = App.files(Directory)
for _,filename in ipairs(filenames) do
local file_info = App.file_info(Directory..filename)
if file_info.type == 'file' then
table.insert(Directory_contents, filename)
end
end
table.sort(Directory_contents)
end
next_stash_filename = function(root)
local i = 1
while true do
local filename = root..'.'..tostring(i)
if not file_exists(Stash_directory..filename) then
return filename
end
i = i+1
end
end
y = y+Line_height+20
App.color{r=1, g=1, b=1}
g.print('stashed files:', Menu_left+10, y)
y = y+Line_height+5
y = add_stash_files_to_dialog(Menu_left+10, y)
if #Stash_directory_contents > 0 then
y = y+Line_height+20
App.color{r=1, g=1, b=1}
g.print('stashed files:', Menu_left+10, y)
y = y+Line_height+5
y = add_stash_files_to_dialog(Menu_left+10, y)
end