Pkg.ExFAT
— API for parsing ExFAT file systems¶
Enumerating Files¶
The following code example demonstrates how to enumerate files in an ExFAT file system:
from Pro.Core import *
from Pkg.ExFAT import *
def enumerateFiles(fname):
c = createContainerFromFile(fname)
if c.isNull():
return
obj = ExFATObject()
if not obj.Load(c) or not obj.Initialize():
return
it = obj.FSIterator()
while it.HasNext():
e = it.Next()
print(e.Name())
Module API¶
Pkg.ExFAT module API.
Classes:
This class represents an ExFAT file system.
- class ExFATObject¶
Bases:
Pro.Core.CFFObject
This class represents an ExFAT file system.