summary refs log tree commit diff stats
Commit message (Expand)AuthorAgeFilesLines
* core.fm: rearranged loading order of tagshut2015-01-181-3/+3
* Merge branch 'remove_empty_metadata' of https://github.com/Vifon/rangerhut2015-01-181-0/+10
|\
| * core.metadata: data of files with empty metadata is not storedWojciech Siewierski2015-01-171-0/+10
* | Merge branch 'meta_selection' of https://github.com/Vifon/rangerhut2015-01-181-1/+3
|\ \ | |/ |/|
| * :meta may be used on multiple selected filesWojciech Siewierski2015-01-171-1/+3
|/
* add .paperinfo->.metadata.json conversion scripthut2015-01-171-0/+69
* core.metadata: added another TODO entryhut2015-01-171-0/+1
* Merge branch 'cd-select_file' of https://github.com/NoSuck/ranger into cd-sel...hut2015-01-171-1/+2
|\
| * Modified cd command to select original file, when following links.The Flying Rapist2015-01-131-1/+2
* | container.directory: don't crash get_selection if files is Nonehut2015-01-171-0/+2
* | core.metadata: add some TODO entrieshut2015-01-171-0/+3
* | Merge branch 'metadata'hut2015-01-1712-328/+272
|\ \
| * | core.metadata: delete keys if value is emptyhut2015-01-171-0/+5
| * | updated documentation of :paper/:meta commandshut2015-01-172-72/+57
| * | core.metadata: use DefaultOpenStruct instead of OpenStructhut2015-01-172-8/+8
| * | ext.openstruct: added DefaultOpenStructhut2015-01-171-0/+15
| * | core.metadata: use basenames by defaulthut2015-01-171-2/+4
| * | core.metadata: works well now, at first glancehut2015-01-173-111/+71
| * | core.metadata: added comments for self.meta{file,data}_cachehut2015-01-171-0/+2
| * | started porting core.metadata from csv to jsonhut2015-01-171-12/+24
| * | adapted commands for MetadataManagerhut2015-01-165-72/+42
| * |
# example program: copy one file into another, character by character
# BEWARE: this will modify your file system
# before running it, put some text into /tmp/mu-x
# after running it, check /tmp/mu-y

def main [
  local-scope
  source-file:&:source:char <- start-reading null/real-filesystem, [/tmp/mu-x]
  sink-file:&:sink:char, write-routine:num <- start-writing null/real-filesystem, [/tmp/mu-y]
  {
    c:char, done?:bool, source-file <- read source-file
    break-if done?
    sink-file <- write sink-file, c
    loop
  }
  close sink-file
  # make sure to wait for the file to be actually written to disk
  # (Mu practices structured concurrency: http://250bpm.com/blog:71)
  wait-for-routine write-routine
]
td>
use markdown in HACKING.md, update it, fix typos
hut2014-12-101-28/+46
* mv doc/HACKING ./HACKING.mdhut2014-12-101-0/+0
* config/commands.py: fix bulkrename on OSX 10.8, fixes #136hut2014-12-101-4/+6
* fix typo in previous commithut2014-12-101-1/+1
* container.directory: filtering optimizationshut2014-12-101-3/+6
* container.directory: more efficient filteringhut2014-12-101-7/+8