Git Product home page Git Product logo

Comments (5)

afkT avatar afkT commented on July 25, 2024

如果可以的话,增加一个:是否拥有文件夹或文件读写的权限判断

ok,这个可以实现,我今晚加下。

from devutils.

JiZhi-Error avatar JiZhi-Error commented on July 25, 2024

如果可以的话,增加一个:是否拥有文件夹或文件读写的权限判断

ok,这个可以实现,我今晚加下。

我这刚好有用户卡出来神奇的bug

from devutils.

afkT avatar afkT commented on July 25, 2024

如果可以的话,增加一个:是否拥有文件夹或文件读写的权限判断

ok,这个可以实现,我今晚加下。

我这刚好有用户卡出来神奇的bug

这个其实用 File.canRead()File.canWrite() 可以实现,我今晚测试下 Android Q,以及 Q 以下版本有无读写权限返回结果区别

from devutils.

JiZhi-Error avatar JiZhi-Error commented on July 25, 2024

如果可以的话,增加一个:是否拥有文件夹或文件读写的权限判断

ok,这个可以实现,我今晚加下。

我这刚好有用户卡出来神奇的bug

这个其实用 File.canRead()File.canWrite() 可以实现,我今晚测试下 Android Q,以及 Q 以下版本有无读写权限返回结果区别

R那边我这目前写法还没测试,晚点我让我朋友试试看

from devutils.

afkT avatar afkT commented on July 25, 2024

已经添加了,FileUtils#canRead、canWrite、canReadWrite 如果急用你先 copy 代码,过几天我再发个版本,已经测试 Q、R 以及 Q 以下(是否允许读写权限)各种情况下,返回结果,都是正确的。

from devutils.

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.