vfs.File has no is_local() or is_remote() functions

Bug #625376 reported by onox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Desktop Agnostic Library for GLib-based Projects
Fix Committed
Undecided
Unassigned

Bug Description

It would be nice to have a is_local() or is_remote() function, so that you don't have to manually check the uri starts with file://. I think if for_path() is used to construct a vfs.File, then it should always be considered a local location.

Bzr revision 409 of mhr3's lda-various-fixes branch.

onox (onox)
tags: added: feature-request
Revision history for this message
onox (onox) wrote :

Fixed in revision 421 of lp:~awn-core/libdesktop-agnostic/various-fixes (which is the new trunk! -_-)

Changed in libdesktop-agnostic:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.