Skip to content

Releases: jxsl13/backupfs

v0.12.0 - make sort types public & improve error handling in Rollback

17 Jul 11:21
ce98def
Compare
Choose a tag to compare
  • bugfix sorting
  • improve rollback error handling/messages
  • make sort types public

compatible changes

ByLeastFilePathSeparators: added
ByMostFilePathSeparators: added

v0.11.2 - minor bugfixes

16 Jul 13:00
4ef7787
Compare
Choose a tag to compare

v0.11.1

10 Jul 10:06
2753fba
Compare
Choose a tag to compare

What's Changed

  • cleanup & remove prefixFile from public api by @jxsl13 in #34
  • use option pattern with variadic args for constructors by @jxsl13 in #35

Full Changelog: v0.10.0...v0.11.1

github.com/jxsl13/backupfs

incompatible changes

(*BackupFS).GetBackupFS renamed to (*BackupFS).BackupFS
(*BackupFS).GetBaseFS renamed (*BackupFS).BaseFS
NewBackupFS changed from func(FS, FS) *BackupFS to func(FS, FS, ...BackupFSOption) *BackupFS
NewBackupFSWithVolume: removed
PrefixFile: removed

compatible changes

BackupFSOption: added
New: added
NewWithFS: added
WithVolumePaths: added

v0.10.0

09 Jul 18:33
9518f85
Compare
Choose a tag to compare

incompatible changes

Errors

  • ErrBackupFsNoSymlink: removed
  • ErrBaseFsNoSymlink: removed
  • ErrNoSymlink: removed

Interfaces

  • File: changed from github.com/spf13/afero.File to File
  • LinkOwner: removed

Structs

  • BackupFs: renamed to BackupFS
  • HiddenFs: renamed to HiddenFS
  • HiddenFsFile: removed
  • PrefixFs: renamed to PrefixFS
  • VolumeFs: renamed to VolumeFS

Functions

  • NewBackupFs: renamed to NewBackupFS
  • NewBackupFsWithVolume: renamed to NewBackupFSWithVolume
  • NewHiddenFs: renamed to NewHiddenFS
  • NewPrefixFs: renamed to NewPrefixFS
  • NewVolumeFs: renamed to NewVolumeFS

compatible changes

Interfaces

  • FS: added
  • Symlinker: added

Structs

  • OSFS: added

Functions

IterateDirTree: added
NewOSFS: added
TempDir: added
Walk: added

What's Changed

New Contributors

Full Changelog: v0.9.4...v0.10.0

v0.9.4 - PrefixFs - fix prefixing Windows path

12 Sep 13:48
7f054ef
Compare
Choose a tag to compare

This release tackles the problem that occurs when you prefix a Windows path C:\H\I\J with another Windows path C:\A\B\

Previously you were not able to do that because you'd get the following file path which is invalid: C:\A\B\C:\H\I\J
This update fixes that behavior in a way that you are now getting such a path instead: C:\A\B\C\H\I\J
It's now misisng the : in the middle.

allow windows volumes

30 Jan 16:22
Compare
Choose a tag to compare
v0.9.2

allow a backupfs with fully qualified windows volumes.

update afero dependency

24 Jan 17:23
Compare
Choose a tag to compare

This release updates the afero dependency to the latest 0.9.3 version which also requires Go 1.16 (introduction of io/fs standard library package) as a minimal Go version.

the VolumeFs release

24 Jan 17:13
Compare
Choose a tag to compare

This update introduces a new filesystem abstraction layer that can beused in order to abstract away the volume prefix on (primarily) windows systems in order to work with OS-independent paths.