Project

General

Profile

« Previous | Next » 

Revision 57f1cee0

ID57f1cee0497f0516631a7f8abe35d172a0224bfc
Parent d11d0f12
Child bb48a11a

Added by Roger Dahl about 10 years ago

  • Refactored to follow the Python convention of prefixing non-public methods and members with "_".
  • Added a flag in the Directory class that allows a resolver to signal to the driver that the contents are dynamic and should not be cached.
  • Directory items are only unicode names, they don't contain attributes. So optimized ONEDrive to work directly with lists of strings.
  • Now returning generated items as UTF-8 encoded items to avoid crashes when trying to generate items with a combination of ASCII and Unicode.
  • Since all directories contain a self reference and a parent reference ("." and ".."), moved generation of those into the driver. Should run a bit faster and makes it so that we don't have to remember to include those in all the resolver return paths.
  • Because there is no longer a need to report complex error messages within the filesystem, removed the system for rendering errors as files. Instead, errors are now passed directly to the driver, which passes them to the OS, so that ONEDrive behaves like a regular filesystem.
  • For Windows, returning Unicode as UTF16 since that's the standard encoding there.
  • Changed Fuse exception from IOError to FuseOSError. Both work, but the Fuse docs say to use FuseOSError.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences

Add picture from clipboard (Maximum size: 14.8 MB)