Fuck Storage Access Framework Versions Save

Fuck Storage Access Framework (or just FSAF) is a handy library that hides away from you all the annoying parts of the Storage Access Framework (like DocumentTrees / DocumentIds / DocumentFiles / DocumentContracts and other bullshit) leaving only an API that is similar to good-old Java File API

v1.0-alpha39

4 years ago

Ensure correct order of directories and files when listing all files in a directory (directories should come first with their inner files afterwards). This potentially could break everything in some cases where f file would come before a directory and that directory wouldn't exist. So we would check whether a file exists (for example) but since it's parent directory does not exist SAF would throw an exception with a really not obvious message. This should be fixed now.

v1.0-alpha38

4 years ago

Another fix isChildOfDirectory this time when the same but for comparing ExternalFiles

v1.0-alpha37

4 years ago

Fix for isChildOfDirectory() when comparing RawFiles

v1.0-alpha36

4 years ago

Make FSAFUtils non-internal, only leave internal some specific methods

v1.0-alpha35

4 years ago

Add @JvmStatic annotation for splitIntoSegments()

v1.0-alpha34

4 years ago

Implement flattenSegments()

v1.0-alpha33

4 years ago

Fixes for SnapshotFileManager

Now when creating or deleting a file via SnapshotFileManager the FastFileSearchTree will also be updated

v1.0-alpha32

4 years ago

Fix for clone() method

v1.0-alpha31

4 years ago

Use segments from the input AbstractFile (which in most cases should be empty but sometimes may not be empty) in create() method without the segments parameter

v1.0-alpha30

4 years ago

Add an overloaded create() method for file managers, add virtual files checks and add a test