mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-29 05:16:29 -04:00
Reorganize function parameters to not specify repeat types
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ func GetOldEntryData(targetLocation string, field int) []string {
|
||||
}
|
||||
|
||||
// Rename renames oldLocation to newLocation
|
||||
func Rename(oldLocation string, newLocation string) {
|
||||
func Rename(oldLocation, newLocation string) {
|
||||
// ensure newLocation does not exist
|
||||
_, isAccessible := TargetIsFile(newLocation, false, 0)
|
||||
if isAccessible {
|
||||
|
||||
Reference in New Issue
Block a user