Bump go-boilerplate

This commit is contained in:
2025-06-01 17:01:40 -04:00
parent ca4913f054
commit c0f55156d8
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ go 1.24.3
require (
github.com/pkg/sftp v1.13.9
github.com/pquerna/otp v1.5.0
github.com/rwinkhart/go-boilerplate v0.0.0-20250601184813-71b5056ca6b3
github.com/rwinkhart/go-boilerplate v0.0.0-20250601205829-83b0be1379fd
github.com/rwinkhart/rcw v0.2.0
golang.design/x/clipboard v0.7.0 // only for Android builds
golang.org/x/crypto v0.38.0
+2 -2
View File
@@ -13,8 +13,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pquerna/otp v1.5.0 h1:NMMR+WrmaqXU4EzdGJEE1aUUI0AMRzsp96fFFWNPwxs=
github.com/pquerna/otp v1.5.0/go.mod h1:dkJfzwRKNiegxyNb54X/3fLwhCynbMspSyWKnvi1AEg=
github.com/rwinkhart/go-boilerplate v0.0.0-20250601184813-71b5056ca6b3 h1:QgmV+Om1Z1Ix+nO6k9RRIzLpevkeeyrmCspIKysvsc4=
github.com/rwinkhart/go-boilerplate v0.0.0-20250601184813-71b5056ca6b3/go.mod h1:cnzIF45I0FCOvE4YIB+26pLCUx2kWyY2llKYZruNaRY=
github.com/rwinkhart/go-boilerplate v0.0.0-20250601205829-83b0be1379fd h1:qUFlOLvBx/dzQBW/zgFjSJ2EjrFb/lOQXs9q0sDW05g=
github.com/rwinkhart/go-boilerplate v0.0.0-20250601205829-83b0be1379fd/go.mod h1:cnzIF45I0FCOvE4YIB+26pLCUx2kWyY2llKYZruNaRY=
github.com/rwinkhart/go-winio-easy-pipe-handles v0.0.0-20250407031321-96994a0e8410 h1:NhHwFM3Pgm6zRUfFKvi0p5ndjfFbVWsRwmmhyFlG4PE=
github.com/rwinkhart/go-winio-easy-pipe-handles v0.0.0-20250407031321-96994a0e8410/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
github.com/rwinkhart/peercred-mini v0.1.0 h1:TiS6u8cEWzW55S9X4iVpU72Iuy/NG6rMUJMtUEVEFLw=
+1 -1
View File
@@ -71,7 +71,7 @@ func main() {
// create the necessary directories for libmuttonserver to function
_, err := global.DirInit(false)
if err != nil {
other.PrintError("Failed to initialize libmuttonserver directories: "+err.Error(), back.ErrorWrite, true)
other.PrintError("Failed to initialize libmuttonserver directories: "+err.Error(), back.ErrorWrite)
}
_ = os.MkdirAll(global.ConfigDir+global.PathSeparator+"deletions", 0700) // error ignored; failure would have occurred by this point in core.DirInit
fmt.Println("libmuttonserver directories initialized")
+1 -1
View File
@@ -382,7 +382,7 @@ func syncLists(sshClient *ssh.Client, sshEntryRoot string, sshIsWindows, timeSyn
}
} else if !timeSynced {
// do not call sftpSync if the client and server times are out of sync
back.Exit(1)
back.Exit(global.ErrorSyncProcess)
}
fmt.Println("Client is synchronized with server")