minio/pkg/storage
Harshavardhana 0c2d58bc6d Implement proper delimiter and prefix handling
With this change Minio server now responds with, delimited
'object names' in conjunction with prefix filtering

~~~
<ListBucketResult>
  <Name>example-bucket</Name>
  <Prefix></Prefix>
  <Marker></Marker>
  <MaxKeys>1000</MaxKeys>
  <Delimiter>/</Delimiter>
  <IsTruncated>false</IsTruncated>
  <Contents>
    <Key>sample.html</Key>
    <LastModified>2011-02-26T01:56:20.000Z</LastModified>
    <ETag>example-bucket#sample.html</ETag>
    <Size>142863</Size>
    <Owner>
      <ID>minio</ID>
      <DisplayName>minio</DisplayName>
    </Owner>
    <StorageClass>STANDARD</StorageClass>
  </Contents>
  <CommonPrefixes>
    <Prefix>photos/</Prefix>
  </CommonPrefixes>
</ListBucketResult>
~~~

~~~
<ListBucketResult>
  <Name>example-bucket</Name>
  <Prefix>photos/2006/</Prefix>
  <Marker></Marker>
  <MaxKeys>1000</MaxKeys>
  <Delimiter>/</Delimiter>
  <IsTruncated>false</IsTruncated>

  <CommonPrefixes>
    <Prefix>photos/2006/feb/</Prefix>
  </CommonPrefixes>
  <CommonPrefixes>
    <Prefix>photos/2006/jan/</Prefix>
  </CommonPrefixes>
</ListBucketResult>
~~~
2015-02-28 14:47:19 -08:00
..
donut/v1 Remove donut_gen binary and update crc32c function 2015-02-27 14:41:53 -08:00
erasure Update erasure documentation 2015-02-23 13:39:16 -08:00
fs Implement proper delimiter and prefix handling 2015-02-28 14:47:19 -08:00
inmemory Implement delimiter, path prefix 2015-02-27 16:23:05 -08:00
storage_api_suite.go Implement delimiter, path prefix 2015-02-27 16:23:05 -08:00
storage_errors.go Implement bucket policy handler and with galore of cleanup 2015-02-16 18:20:40 -08:00
storage.go Implement proper delimiter and prefix handling 2015-02-28 14:47:19 -08:00