Skip to content

Commit

Permalink
Adding actual words to the doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
favilo committed Apr 17, 2024
1 parent b5b4191 commit 8ce69d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/oil/adapters/ssh/sshfs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ local function parse_ls_line(line)
return name, type, meta
end

---@param str string
---@return string
---@param str string String to escape
---@return string Escaped string
local function shellescape(str)
return "'" .. str:gsub("'", "'\\''") .. "'"
end
Expand Down

0 comments on commit 8ce69d7

Please sign in to comment.