Skip to content

Commit

Permalink
feat: add comment for unlink fn
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Jun 14, 2023
1 parent 1210ec9 commit ff9da2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/Session/clearCache/index.native.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {CachesDirectoryPath, unlink} from 'react-native-fs';

function clearStorage() {
// `unlink` is used to delete the caches directory
return unlink(CachesDirectoryPath);
}

Expand Down

0 comments on commit ff9da2d

Please sign in to comment.