GitXplorerGitXplorer
e

grasso

public
10 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
b4f8680e53872a164efd9b590c54c02f0fd0a091

Swap start/end checks to correctly evaluate if fragment is part of range

committed 7 years ago
Unverified
c93a719cceca1b07c8adda3233a020585112ecd2

Use 28 bit mask when checking FAT32 cluster entry value

committed 7 years ago
Unverified
97871f3c6a4a3db05aa6b5c17663a20c9c1fde4d

Add Directory.walk() for breadth-first traversal

eem- committed 13 years ago
Unverified
6bc493768cf3e24037a1537792bdaa751868d2b7

Greatly simplified FragmentedIO.read()

eem- committed 13 years ago
Unverified
4de2c4257bc28be92c8b0e0fa8252aab42fe55d5

Add usage example

eem- committed 13 years ago
Unverified
ff03ca3683ab4f12df188c750ce00ea8e99bbaeb

Grasso - a FAT filesystem parser written in Python

eem- committed 13 years ago

README

The README file for this repository.

Grasso - a FAT filesystem parser written in Python

This is a toy FAT filesystem parser which depends only on the standard library.

It was mostly written to scratch an itch, so don't expect it to work in any serious manner.

The code is released under a MIT-style license, feel free to improve it.

Usage

import grasso
image = open('fs.img', 'rb')
fs = grasso.FATFileSystem(image)
print [f.name for f in fs.root.files]
print fs['/foo/bar'].read()

-- Emanuele Aina em@nerd.ocracy.org http://nerd.ocracy.org/em/