minio/pkg/api/minioapi
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
..
api_test.go Implement delimiter, path prefix 2015-02-27 16:23:05 -08:00
bucket_handlers.go Implement proper delimiter and prefix handling 2015-02-28 14:47:19 -08:00
contenttype.go Update minioapi documentation 2015-02-23 16:46:48 -08:00
definitions.go Implement proper delimiter and prefix handling 2015-02-28 14:47:19 -08:00
error_response.go Update minioapi documentation 2015-02-23 16:46:48 -08:00
generic_handlers.go Update minioapi documentation 2015-02-23 16:46:48 -08:00
headers.go Update minioapi documentation 2015-02-23 16:46:48 -08:00
muxer.go Update minioapi documentation 2015-02-23 16:46:48 -08:00
object_handlers.go Implement delimiter, path prefix 2015-02-27 16:23:05 -08:00
policy_handlers.go Update minioapi documentation 2015-02-23 16:46:48 -08:00
resources.go Implement delimiter, path prefix 2015-02-27 16:23:05 -08:00
response.go Implement proper delimiter and prefix handling 2015-02-28 14:47:19 -08:00