mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -04:00
Use nil pointer to indicate missing device ID (rather than FSMisc)
This commit is contained in:
@@ -42,6 +42,11 @@ type RegisterRespT struct {
|
||||
IsWindows bool `json:"isWindows"`
|
||||
}
|
||||
|
||||
type RegisterReqT struct {
|
||||
NewDeviceID string `json:"newDeviceID"`
|
||||
OldDeviceID *string `json:"oldDeviceID"` // nil if not replacing an existing device ID
|
||||
}
|
||||
|
||||
// GetAllEntryData returns a map of all vanity paths to
|
||||
// their respective containing folders and mod+age timestamps.
|
||||
func GetAllEntryData() (EntryMapT, error) {
|
||||
|
||||
Reference in New Issue
Block a user