mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-10-26 22:09:56 -04:00
Use nil pointer to indicate missing device ID (rather than FSMisc)
This commit is contained in:
1 parent
48e084ac0f
commit
409db78d83
5 files changed
+48
-31
No files matched your search
@@ -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