New Storage Refactor #404
|
@ -93,6 +93,8 @@ func GenerateRandomID() string {
|
|||
}
|
||||
|
||||
func (app *application) CreateTaggedPeer(name string, password string, tag string) {
|
||||
app.appmutex.Lock()
|
||||
defer app.appmutex.Unlock()
|
||||
|
||||
profileDirectory := path.Join(app.directory, "profiles", GenerateRandomID())
|
||||
|
||||
|
|
Loading…
Reference in New Issue