From f723e896170947cfbdc407434fc6c95c832c3dab Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Sun, 17 Sep 2023 10:43:25 -0700 Subject: [PATCH] cleanup: remove unnecessary filesystem helper methods --- lua/oil/fs.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lua/oil/fs.lua b/lua/oil/fs.lua index df8b0857..2fabd7d6 100644 --- a/lua/oil/fs.lua +++ b/lua/oil/fs.lua @@ -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)