Git Product home page Git Product logo

Comments (5)

K1rakishou avatar K1rakishou commented on August 16, 2024 1

Fixed in v1.1.1

from fuck-storage-access-framework.

K1rakishou avatar K1rakishou commented on August 16, 2024

Is the file located in a sub directory or is it in the same directory you are creating a snapshot of? If it's in a sub directory you should use the includeSubDirs=true flag of the createSnapshot() method.

from fuck-storage-access-framework.

nitehu avatar nitehu commented on August 16, 2024

Yes, I've set the includeSubDirs to true.
After debugging a bit, it seemed the snapshot was created, the FastFileSearchTree did contain the name of all directories and files, but all the "value" properties were null.
As I remember, this made findFile fail in FastFileSearchTree line 458, and listFiles fail in SnapshotFileManager line 226. On both places the value was null.

So I'm not sure what did I miss, the code was just something like createSnapshot on the directory (which was selected by the user) with includeSubdirs=true, and then calling listFiles() on the returned SnapshotFileManager.

from fuck-storage-access-framework.

K1rakishou avatar K1rakishou commented on August 16, 2024

Yeah, there was a bug when creating the snapshot. The input directory was not added into the snapshot's FastFileSearchTree which caused it's value to be null (when it's supposed to be a CachingDocumentFile) which in turn caused the children to not get processed. I'm gonna release the fix soon.

from fuck-storage-access-framework.

nitehu avatar nitehu commented on August 16, 2024

Thank you very much!

from fuck-storage-access-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.