Skip to content

Commit

Permalink
cleanup: remove unnecessary filesystem helper methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Oct 3, 2023
1 parent 822f287 commit f723e89
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lua/oil/fs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ M.is_absolute = function(dir)
end
end

M.abspath = function(path)
if not M.is_absolute(path) then
path = vim.fn.fnamemodify(path, ":p")
end
return path
end

---@param path string
---@param cb fun(err: nil|string)
M.touch = function(path, cb)
Expand Down

0 comments on commit f723e89

Please sign in to comment.