SHARE
TWEET

Untitled

a guest Sep 13th, 2017 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var file = File.new_for_path ("./plop.txt");
  2. var file_info = file.query_info ("*", FileQueryInfoFlags.NONE);
  3. stdout.printf ("Content type: %s\n", file_info.get_content_type ());
RAW Paste Data
Top