| compat |
|
|
90 % |
| Directory.cpp |
static |
5426 |
88 % |
| Directory.h |
Sets a semi-colon separated list of filters to filter-in or filter-out
certain types of files when the contents of this directory are requested
via a GetFilesAndDirectories() call.
Currently supported keywords:
* filter-out-sensitive
This keyword filters out files or directories that we don't wish to
make available to Web content because we are concerned that there is
a risk that users may unwittingly give Web content access to them
and suffer undesirable consequences. The details of what is
filtered out can be found in GetDirectoryListingTask::Work.
In future, we will likely support filtering based on filename extensions
(for example, aFilters could be "*.jpg; *.jpeg; *.gif"), but that isn't
supported yet. Once supported, files that don't match a specified
extension (if any are specified) would be filtered out. This
functionality would allow us to apply the 'accept' attribute from
<input type=file directory accept="..."> to the results of a directory
picker operation.
|
3636 |
100 % |
| FileSystemBase.cpp |
|
3307 |
63 % |
| FileSystemBase.h |
Return the local root path of the FileSystem implementation.
For OSFileSystem, this is equal to the path of the root Directory;
For DeviceStorageFileSystem, this is the path of the SDCard, parent
directory of the exposed root Directory (per type).
|
2481 |
50 % |
| FileSystemRequestParent.cpp |
|
5326 |
79 % |
| FileSystemRequestParent.h |
|
1063 |
67 % |
| FileSystemSecurity.cpp |
static |
2752 |
68 % |
| FileSystemSecurity.h |
|
1064 |
100 % |
| FileSystemTaskBase.cpp |
FileSystemTaskBase class
|
7933 |
86 % |
| FileSystemTaskBase.h |
|
11580 |
44 % |
| FileSystemUtils.cpp |
static |
2431 |
76 % |
| FileSystemUtils.h |
This class is for error handling.
All methods in this class are static.
|
1403 |
- |
| GetDirectoryListingTask.cpp |
GetDirectoryListingTaskChild
|
12724 |
87 % |
| GetDirectoryListingTask.h |
|
2917 |
100 % |
| GetFileOrDirectoryTask.cpp |
GetFileOrDirectoryTaskChild
|
7297 |
83 % |
| GetFileOrDirectoryTask.h |
|
2383 |
100 % |
| GetFilesHelper.cpp |
|
16293 |
74 % |
| GetFilesHelper.h |
|
4834 |
95 % |
| GetFilesTask.cpp |
GetFilesTaskChild
|
6898 |
80 % |
| GetFilesTask.h |
|
2727 |
100 % |
| moz.build |
|
1068 |
- |
| OSFileSystem.cpp |
OSFileSystemParent
|
2276 |
86 % |
| OSFileSystem.h |
|
2843 |
14 % |
| PFileSystemParams.ipdlh |
|
1383 |
- |
| PFileSystemRequest.ipdl |
|
1431 |
- |
| tests |
|
|
0 % |