synctracker

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Name string

	RelativePath   string // Relative (to root) path in the mounted filesystem.
	RealPathOfFile string // The Path on the local system.

	LastEditTime uint64 // Use time.Now().UnixNano().
	CreatedTime  uint64

	Size uint64
}

type SyncTracker

type SyncTracker struct {
	LocalFilesMu sync.RWMutex
	LocalFiles   map[string]*File

	RemoteFilesMu sync.RWMutex
	RemoteFiles   map[string]*File
}

func NewSyncTracker

func NewSyncTracker() *SyncTracker

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL