anchor.diff:  // All rights reserved. Use of this source code is governed by a BSD-style
   // license that can be found in the LICENSE file.
   
  -import 'dart:async';
   import 'dart:convert';
   import 'dart:io';
   
  
positive.code:  * Recursively create `.files` json files in the given directory; these files
   * serve as directory listings.
   */
  void createDirectoryListings(Directory dir) {
    List<String> files = [];
  
    String parentName = fileName(dir);
  
negative.code: 
      // lib/_internal/compiler, dartdoc, and pub are not sdk libraries, but do
      // take up a lot of space; remove them
      _runCommandSync(context, 'rm -rf app/sdk/lib/_internal/compiler');
      _runCommandSync(context, 'rm -rf app/sdk/lib/_internal/dartdoc');
      _runCommandSync(context, 'rm -rf app/sdk/lib/_internal/pub');
  
      // traverse directories, creating a .files json directory listing
      context.log('creating SDK directory listings');
      _createDirectoryListings(destSdkDir);
    }
  }
  
  