Skip to content

Commit

Permalink
fix: remove unused last_modified property
Browse files Browse the repository at this point in the history
  • Loading branch information
calops committed May 7, 2024
1 parent 9c5fc98 commit 14b7022
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lua/persisted/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -367,18 +367,11 @@ function M.list()
dir_path = session_name
end

local f = io.popen("stat -c %x " .. session)
local last_modified = ""
if f then
last_modified = f:read()
end

table.insert(sessions, {
["name"] = session_name,
["file_path"] = session,
["branch"] = branch,
["dir_path"] = dir_path,
["last_modified"] = last_modified,
})
end

Expand Down

0 comments on commit 14b7022

Please sign in to comment.