lib/fusefs/metadir.rb
def statistics(path)
            pathmethod(:statistics,path) do |stats_path|
                if @subdirs.has_key?(stats_path)
                    #unlike all the other functions where this metadir applies
                    #the function to @subdirs - we need to pass it on
                    @subdirs[stats_path].statistics("/")
                else
                    @stats.to_statistics
                end
            end
        end
# path is ignored? - recursively calculate for all subdirs - but cache and then rely on fuse to keep count
path is ignored. - recursively calculate for all subdirs - but cache and then rely on fuse to keep count
path is ignored . - recursively calculate for all subdirs - but cache and then rely on fuse to keep count
def statistics(path)
            pathmethod(:statistics,path) do |stats_path|
                if @subdirs.has_key?(stats_path)
                    @subdirs[stats_path].statistics("/")
                else
                    @stats.to_statistics
                end
            end
        end
def statistics ( path ) pathmethod ( :statistics , path ) do | stats_path | if @subdirs . has_key? ( stats_path ) @subdirs [ stats_path ] . statistics ( "/" ) else @stats . to_statistics end end end
path is ignored?
path is ignored?
#unlike all the other functions where this metadir applies #the function to @subdirs - we need to pass it on
path