Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb5b4f9fdf |
+1
-1
@@ -183,7 +183,7 @@ Tracks blob upload metrics.
|
|||||||
- `INSERT OR REPLACE INTO files` - Update file metadata
|
- `INSERT OR REPLACE INTO files` - Update file metadata
|
||||||
- `SELECT * FROM files WHERE path = ?` - Check if file has changed
|
- `SELECT * FROM files WHERE path = ?` - Check if file has changed
|
||||||
- `INSERT INTO snapshot_files` - Add file to current snapshot
|
- `INSERT INTO snapshot_files` - Add file to current snapshot
|
||||||
- `INSERT OR IGNORE INTO snapshot_mount_points` - Record each directory on a different filesystem from its parent
|
- `INSERT INTO snapshot_mount_points` - Record each directory on a different filesystem from its parent
|
||||||
|
|
||||||
2. **Chunking** (for changed files)
|
2. **Chunking** (for changed files)
|
||||||
- `INSERT OR IGNORE INTO chunks` - Store new chunks
|
- `INSERT OR IGNORE INTO chunks` - Store new chunks
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
// The device number a real backup reads is the same for a directory and
|
// The device number a real backup reads is the same for two entries of
|
||||||
// a file in it, and differs between the temp directory and /dev.
|
// one directory and differs between two filesystems. Without it no
|
||||||
// Without it no mount point is ever found. See
|
// mount point is ever found. See
|
||||||
// https://git.eeqj.de/sneak/vaultik/issues/395.
|
// https://git.eeqj.de/sneak/vaultik/issues/395.
|
||||||
func TestDeviceNumberFromStat(t *testing.T) {
|
func TestDeviceNumberFromStat(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|||||||
Reference in New Issue
Block a user