mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Port send file mapping tests
This commit is contained in:
@@ -33,6 +33,9 @@ func home_path() string {
|
||||
}
|
||||
|
||||
func abspath(path string, use_home ...bool) string {
|
||||
if filepath.IsAbs(path) {
|
||||
return path
|
||||
}
|
||||
var base string
|
||||
if len(use_home) > 0 && use_home[0] {
|
||||
base = home_path()
|
||||
|
||||
Reference in New Issue
Block a user