mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-11-12 21:44:22 +08:00
72d67c80f2
* fix(agent): make discovery enrollment compatible and idempotent * fix(agent): confirm enrollment persistence and document token aliases
13 lines
196 B
Go
13 lines
196 B
Go
//go:build !windows
|
|
|
|
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package localfile
|
|
|
|
import "os"
|
|
|
|
func syncDirectory(directory *os.File) error {
|
|
return directory.Sync()
|
|
}
|